[PATCH 3 of 3] [RFC] dispatch: setup color before pager

2017-03-19 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1489985511 14400 # Mon Mar 20 00:51:51 2017 -0400 # Node ID 2a323109f8e7ec5548dd506c2cff05f27fa20c1e # Parent 6e72bb689e57c985b138c580acb4cad8053dc180 [RFC] dispatch: setup color before pager With the previous order,

[PATCH 2 of 3] [RFC] color: allow color and pager to work on Windows with 'color.mode=auto'

2017-03-19 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1489985292 14400 # Mon Mar 20 00:48:12 2017 -0400 # Node ID 6e72bb689e57c985b138c580acb4cad8053dc180 # Parent a32b379ffe151b8b094dcd67ef5b6bd551203dbe [RFC] color: allow color and pager to work on Windows with

[PATCH 1 of 3] pager: fix the invocation of `more` on Windows

2017-03-19 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1489983573 14400 # Mon Mar 20 00:19:33 2017 -0400 # Node ID a32b379ffe151b8b094dcd67ef5b6bd551203dbe # Parent b1bebed54e9371708e1cd1eba63f0cedadfdf035 pager: fix the invocation of `more` on Windows After

Re: [PATCH] dispatch: replace mayberepr with shellquote

2017-03-19 Thread Yuya Nishihara
On Sun, 19 Mar 2017 14:36:32 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1489947810 14400 > # Sun Mar 19 14:23:30 2017 -0400 > # Node ID 720555b5145c80703e4a9b668c8a11a38434e9da > # Parent a369482e9649478cbab5b08a204406a10ee66588 >

Re: [PATCH 01 of 10 py3] pycompat: add maplist alias for old map behavior

2017-03-19 Thread Yuya Nishihara
On Sun, 19 Mar 2017 14:26:14 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1489947158 14400 > # Sun Mar 19 14:12:38 2017 -0400 > # Node ID b68f9464efb7ef50f6f0a8f811da91b414546e20 > # Parent a369482e9649478cbab5b08a204406a10ee66588 >

[PATCH 1 of 3] rebase: use one dirstateguard for entire rebase

2017-03-19 Thread Durham Goode
# HG changeset patch # User Durham Goode # Date 1489949655 25200 # Sun Mar 19 11:54:15 2017 -0700 # Node ID c2f68e8cd96f92c2fa240fe04e541c14c1bad3d8 # Parent 75e4bae56068bec4f965773a2d5f4d272a8dc5b0 rebase: use one dirstateguard for entire rebase Recently we switched rebases

[PATCH 3 of 3] rebase: use matcher to optimize manifestmerge

2017-03-19 Thread Durham Goode
# HG changeset patch # User Durham Goode # Date 1489949694 25200 # Sun Mar 19 11:54:54 2017 -0700 # Node ID 800c452bf1a44f9f817174c69443121f4ed4c3b8 # Parent d598e42fa629195ecf43f438b71603df9fb66d6d rebase: use matcher to optimize manifestmerge The old merge code would call

[PATCH] test-check-help: fix to work on Windows

2017-03-19 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1489948965 14400 # Sun Mar 19 14:42:45 2017 -0400 # Node ID f5f429a6300ef16a477ce175899088bd06a616b1 # Parent b1bebed54e9371708e1cd1eba63f0cedadfdf035 test-check-help: fix to work on Windows The initial problem was

[PATCH] dispatch: replace mayberepr with shellquote

2017-03-19 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489947810 14400 # Sun Mar 19 14:23:30 2017 -0400 # Node ID 720555b5145c80703e4a9b668c8a11a38434e9da # Parent a369482e9649478cbab5b08a204406a10ee66588 dispatch: replace mayberepr with shellquote The quoting logic here was

[PATCH 04 of 10 py3] revlog: use int instead of long

2017-03-19 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489899928 14400 # Sun Mar 19 01:05:28 2017 -0400 # Node ID b9ee2497bba6e49fb08e0119cef0f27baccb61f8 # Parent 9c25b4e6ab7bf364a101d8a0bc7c8a196131add8 revlog: use int instead of long By my reading of PEP 237[0], this is

[PATCH 10 of 10 py3] localrepo: forcibly copy list of filecache keys

2017-03-19 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489900260 14400 # Sun Mar 19 01:11:00 2017 -0400 # Node ID 3e3eff548aecf281d22c70ba853c0f742fd6c64b # Parent ce928383cf5dfb0993d27340b3fcf936a129e0fb localrepo: forcibly copy list of filecache keys On Python 3, keys() is

[PATCH 08 of 10 py3] localrepo: ensure transaction id is fully bytes on py3

2017-03-19 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489900139 14400 # Sun Mar 19 01:08:59 2017 -0400 # Node ID 9e6b585465b7ec033160326a4eb049329a2f83a9 # Parent d5e20f704fd722dbf8b0a011b3c9ab7437b4ac82 localrepo: ensure transaction id is fully bytes on py3 diff --git

[PATCH 09 of 10 py3] localrepo: turn hook kwargs back into strs before calling hook

2017-03-19 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489900202 14400 # Sun Mar 19 01:10:02 2017 -0400 # Node ID ce928383cf5dfb0993d27340b3fcf936a129e0fb # Parent 9e6b585465b7ec033160326a4eb049329a2f83a9 localrepo: turn hook kwargs back into strs before calling hook It might

[PATCH 06 of 10 py3] posix: tiptoe around tempfile module more delicately

2017-03-19 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 148997 14400 # Sun Mar 19 01:06:47 2017 -0400 # Node ID b9f5a75f7ca098d588feea0737fdb0ac1162cb41 # Parent 5ac56851f3529c159555738967289b22fc3f622e posix: tiptoe around tempfile module more delicately Some of the values

[PATCH 02 of 10 py3] dispatch: use pycompat.maplist to allow summing with args

2017-03-19 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489947427 14400 # Sun Mar 19 14:17:07 2017 -0400 # Node ID dec51b4b12490adab91d55d46c9db0cb77637a28 # Parent b68f9464efb7ef50f6f0a8f811da91b414546e20 dispatch: use pycompat.maplist to allow summing with args diff --git

[PATCH 05 of 10 py3] posix: use open() instead of file()

2017-03-19 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489899948 14400 # Sun Mar 19 01:05:48 2017 -0400 # Node ID 5ac56851f3529c159555738967289b22fc3f622e # Parent b9ee2497bba6e49fb08e0119cef0f27baccb61f8 posix: use open() instead of file() diff --git a/mercurial/posix.py

[PATCH 01 of 10 py3] pycompat: add maplist alias for old map behavior

2017-03-19 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489947158 14400 # Sun Mar 19 14:12:38 2017 -0400 # Node ID b68f9464efb7ef50f6f0a8f811da91b414546e20 # Parent a369482e9649478cbab5b08a204406a10ee66588 pycompat: add maplist alias for old map behavior diff --git

[PATCH 03 of 10 py3] error: use r-string to properly pop hints from **kw

2017-03-19 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489899762 14400 # Sun Mar 19 01:02:42 2017 -0400 # Node ID 9c25b4e6ab7bf364a101d8a0bc7c8a196131add8 # Parent dec51b4b12490adab91d55d46c9db0cb77637a28 error: use r-string to properly pop hints from **kw Fixes the hint mixin

[PATCH] color: sync text attributes and buffered text output on Windows (issue5508)

2017-03-19 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1489941885 14400 # Sun Mar 19 12:44:45 2017 -0400 # Node ID b1bebed54e9371708e1cd1eba63f0cedadfdf035 # Parent da7d19324b1e3d2ce0636bf73e76bf8f3d68ed27 color: sync text attributes and buffered text output on Windows

Re: [PATCH 1 of 8 py3] dispatch: consolidate formatting of arguments

2017-03-19 Thread Yuya Nishihara
On Sun, 19 Mar 2017 02:11:32 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1489897133 14400 > # Sun Mar 19 00:18:53 2017 -0400 > # Node ID ea399732bc91813286b8f40082ec33a6a16b3558 > # Parent 291951ad070b3fa39dd1d83503aa1011a20d9a21 >

Re: [PATCH 5 of 8 py3] error: use pycompat.sysstr to properly pop hints from **kw

2017-03-19 Thread Yuya Nishihara
On Sun, 19 Mar 2017 02:11:36 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1489899762 14400 > # Sun Mar 19 01:02:42 2017 -0400 > # Node ID bd83fb13fb210ae13eb6325581e164966614f9c5 > # Parent 028d4db7b85030b4285342c0dfd1fc7d4bd7e926 >

Re: [PATCH 3 of 8 py3] dispatch: ensure repr is bytes in _mayberepr

2017-03-19 Thread Yuya Nishihara
On Sun, 19 Mar 2017 02:11:34 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1489897324 14400 > # Sun Mar 19 00:22:04 2017 -0400 > # Node ID 6823ee960b6e67f6fb6e91f6266b060deac8e7d0 > # Parent 18c8a3ed2c4da13676038dccbf8359e00f55a5b1 >

Re: [PATCH 4 of 8 py3] dispatch: list()-ify another map()

2017-03-19 Thread Yuya Nishihara
On Sun, 19 Mar 2017 13:17:38 +0530, Pulkit Goyal wrote: > On Sun, Mar 19, 2017 at 11:41 AM, Augie Fackler wrote: > > > # HG changeset patch > > # User Augie Fackler > > # Date 1489901313 14400 > > # Sun Mar 19 01:28:33 2017 -0400 > > # Node ID

Re: [PATCH py3] regex: make the regular expression bytes to prevent TypeError

2017-03-19 Thread Yuya Nishihara
On Sun, 19 Mar 2017 13:55:49 +0530, Pulkit Goyal wrote: > # HG changeset patch > # User Pulkit Goyal <7895pul...@gmail.com> > # Date 1489707658 -19800 > # Fri Mar 17 05:10:58 2017 +0530 > # Node ID 0b63c5f5bb298086e4d847941943b007ce7bec63 > # Parent e0e1c056226ea2cac3e3a312b1455d37d8ae8d6c >

Re: [PATCH py3 resend] dirstate: use iter.__next__ instead of iter.next

2017-03-19 Thread Yuya Nishihara
On Sun, 19 Mar 2017 14:24:08 +0530, Pulkit Goyal wrote: > # HG changeset patch > # User Pulkit Goyal <7895pul...@gmail.com> > # Date 1489720184 -19800 > # Fri Mar 17 08:39:44 2017 +0530 > # Node ID f2efba4759b00ea56f11f667e208253685e8ea59 > # Parent a5bad127128d8f60060be53d161acfa7a32a17d5 >

[PATCH py3 resend] dirstate: use iter.__next__ instead of iter.next

2017-03-19 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1489720184 -19800 # Fri Mar 17 08:39:44 2017 +0530 # Node ID f2efba4759b00ea56f11f667e208253685e8ea59 # Parent a5bad127128d8f60060be53d161acfa7a32a17d5 dirstate: use iter.__next__ instead of iter.next In Python 3 world,

[PATCH py3] regex: make the regular expression bytes to prevent TypeError

2017-03-19 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1489707658 -19800 # Fri Mar 17 05:10:58 2017 +0530 # Node ID 0b63c5f5bb298086e4d847941943b007ce7bec63 # Parent e0e1c056226ea2cac3e3a312b1455d37d8ae8d6c regex: make the regular expression bytes to prevent TypeError diff

Re: [PATCH 1 of 8 py3] dispatch: consolidate formatting of arguments

2017-03-19 Thread Pulkit Goyal
On Sun, Mar 19, 2017 at 11:43 AM, Augie Fackler wrote: > > > On Mar 19, 2017, at 2:11 AM, Augie Fackler wrote: > > > > # HG changeset patch > > # User Augie Fackler > > # Date 1489897133 14400 > > # Sun Mar 19 00:18:53 2017 -0400 > > #

Re: [PATCH 4 of 8 py3] dispatch: list()-ify another map()

2017-03-19 Thread Pulkit Goyal
On Sun, Mar 19, 2017 at 11:41 AM, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1489901313 14400 > # Sun Mar 19 01:28:33 2017 -0400 > # Node ID 028d4db7b85030b4285342c0dfd1fc7d4bd7e926 > # Parent

Re: [PATCH 4 of 4] py3: convert log opts to bytes-key dict

2017-03-19 Thread Augie Fackler
On Sat, Mar 18, 2017 at 12:25:50AM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1489483439 -32400 > # Tue Mar 14 18:23:59 2017 +0900 > # Node ID d32b1cfe597ebe2093c42b67e85143190eda0e8b > # Parent

Re: [PATCH] httpconnection: make sure to clear progress of httpsendfile at EOF

2017-03-19 Thread Augie Fackler
On Sat, Mar 18, 2017 at 04:45:48PM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1489820534 -32400 > # Sat Mar 18 16:02:14 2017 +0900 > # Node ID 6d6c4d50c59b87e01936095f34720e79b812d05b > # Parent

Re: [PATCH 2 of 2] pager: flush outputs before firing pager process

2017-03-19 Thread Augie Fackler
On Sat, Mar 18, 2017 at 04:47:32PM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1488011370 -32400 > # Sat Feb 25 17:29:30 2017 +0900 > # Node ID 1a0bf99ca96b5f7fa28e9acb0fb21ea995499b81 > # Parent

Re: [PATCH 1 of 8 py3] dispatch: consolidate formatting of arguments

2017-03-19 Thread Augie Fackler
> On Mar 19, 2017, at 2:11 AM, Augie Fackler wrote: > > # HG changeset patch > # User Augie Fackler > # Date 1489897133 14400 > # Sun Mar 19 00:18:53 2017 -0400 > # Node ID ea399732bc91813286b8f40082ec33a6a16b3558 > # Parent

[PATCH 2 of 8 py3] dispatch: extract maybe-use-repr formatting to helper function

2017-03-19 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489897286 14400 # Sun Mar 19 00:21:26 2017 -0400 # Node ID 18c8a3ed2c4da13676038dccbf8359e00f55a5b1 # Parent ea399732bc91813286b8f40082ec33a6a16b3558 dispatch: extract maybe-use-repr formatting to helper function I think

[PATCH 4 of 8 py3] dispatch: list()-ify another map()

2017-03-19 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489901313 14400 # Sun Mar 19 01:28:33 2017 -0400 # Node ID 028d4db7b85030b4285342c0dfd1fc7d4bd7e926 # Parent 6823ee960b6e67f6fb6e91f6266b060deac8e7d0 dispatch: list()-ify another map() diff --git a/mercurial/dispatch.py

[PATCH 5 of 8 py3] error: use pycompat.sysstr to properly pop hints from **kw

2017-03-19 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489899762 14400 # Sun Mar 19 01:02:42 2017 -0400 # Node ID bd83fb13fb210ae13eb6325581e164966614f9c5 # Parent 028d4db7b85030b4285342c0dfd1fc7d4bd7e926 error: use pycompat.sysstr to properly pop hints from **kw Fixes the

[PATCH 6 of 8 py3] util: use pycompat.bytestr in checkwinfilename

2017-03-19 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489896968 14400 # Sun Mar 19 00:16:08 2017 -0400 # Node ID e9574463681c17cc07e37073beecf16c1b3a82ab # Parent bd83fb13fb210ae13eb6325581e164966614f9c5 util: use pycompat.bytestr in checkwinfilename Fixes `hg add` on

[PATCH 1 of 8 py3] dispatch: consolidate formatting of arguments

2017-03-19 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489897133 14400 # Sun Mar 19 00:18:53 2017 -0400 # Node ID ea399732bc91813286b8f40082ec33a6a16b3558 # Parent 291951ad070b3fa39dd1d83503aa1011a20d9a21 dispatch: consolidate formatting of arguments This was getting done

[PATCH 3 of 8 py3] dispatch: ensure repr is bytes in _mayberepr

2017-03-19 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489897324 14400 # Sun Mar 19 00:22:04 2017 -0400 # Node ID 6823ee960b6e67f6fb6e91f6266b060deac8e7d0 # Parent 18c8a3ed2c4da13676038dccbf8359e00f55a5b1 dispatch: ensure repr is bytes in _mayberepr Fixes command line