Re: [PATCH 1 of 3] cmdutil: add a function to terse the status

2017-06-17 Thread Pulkit Goyal
> Thanks for working on this! > > I wonder if this tersestatus function couldn't be unit-tested (might be > easier if it didn't need the "repo" argument). I'd make it easier to > understand its behaviour I think. Okay in that case, I will need to pass two other arguments for repo.root and

[PATCH 7 of 7] py3: use open() instead of file() constructor

2017-06-17 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1497699988 -19800 # Sat Jun 17 17:16:28 2017 +0530 # Node ID bfd8dddf91ee12066e6bda973060aac2a64f82b1 # Parent 46301f911f32d24da71dc25ac9dde01e537e3f24 py3: use open() instead of file() constructor The file() constructor

[PATCH 6 of 7] py3: convert keys of kwargs back to bytes using pycompat.byteskwargs()

2017-06-17 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1497693566 -19800 # Sat Jun 17 15:29:26 2017 +0530 # Node ID 46301f911f32d24da71dc25ac9dde01e537e3f24 # Parent 48ef02400b59a6d9d250627d0e5f60e85c90cb06 py3: convert keys of kwargs back to bytes using

[PATCH 3 of 7] py3: use '%d' instead of '%s' for integers

2017-06-17 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1497691405 -19800 # Sat Jun 17 14:53:25 2017 +0530 # Node ID 8672832a62a28fec052f23120e6b801da5cb7081 # Parent 24ed9e4abb5584a94614e1e7506c69b2ebced69b py3: use '%d' instead of '%s' for integers Python 3 does not let you

[PATCH 1 of 7] py3: pass range() into list() to get one explicitly

2017-06-17 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1497690482 -19800 # Sat Jun 17 14:38:02 2017 +0530 # Node ID 9fc0c5a06ad8573d46b10212e856cd14cfef0e16 # Parent 9d472b219fb07e011c7a6255c5be47e6fc66229c py3: pass range() into list() to get one explicitly range() on

[PATCH 2 of 7] py3: pass the path in hg.repository() as bytes

2017-06-17 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1497690550 -19800 # Sat Jun 17 14:39:10 2017 +0530 # Node ID 24ed9e4abb5584a94614e1e7506c69b2ebced69b # Parent 9fc0c5a06ad8573d46b10212e856cd14cfef0e16 py3: pass the path in hg.repository() as bytes This make

[PATCH 4 of 7] py3: use pycompat.strkwargs() to convert kwargs keys to str before passing

2017-06-17 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1497692111 -19800 # Sat Jun 17 15:05:11 2017 +0530 # Node ID e95901baf03f983af8163a1d848233b29629d97b # Parent 8672832a62a28fec052f23120e6b801da5cb7081 py3: use pycompat.strkwargs() to convert kwargs keys to str before

[PATCH 5 of 7] py3: workaround to prevent switching kwargs keys between str and bytes

2017-06-17 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1497692808 -19800 # Sat Jun 17 15:16:48 2017 +0530 # Node ID 48ef02400b59a6d9d250627d0e5f60e85c90cb06 # Parent e95901baf03f983af8163a1d848233b29629d97b py3: workaround to prevent switching kwargs keys between str and

[PATCH] check-concurrency: expose the feature as 'check-concurrent-push-mode'

2017-06-17 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1495923158 -7200 # Sun May 28 00:12:38 2017 +0200 # Node ID 37ac2d3f1c505077f5684635df123a1fc31cf594 # Parent 29558247b00eff8c95c7604032b59cfbab34010d # EXP-Topic pushrace # Available At

Re: [PATCH 8 of 9] pycompat: put single line things above class and function definitions

2017-06-17 Thread Pulkit Goyal
On Fri, Jun 16, 2017 at 7:51 PM, Yuya Nishihara wrote: > On Fri, 16 Jun 2017 03:04:50 +0530, Pulkit Goyal wrote: >> # HG changeset patch >> # User Pulkit Goyal <7895pul...@gmail.com> >> # Date 1497561930 -19800 >> # Fri Jun 16 02:55:30 2017 +0530 >> # Node ID

Re: [PATCH 1 of 3] cmdutil: add a function to terse the status

2017-06-17 Thread Denis Laxalde
Pulkit Goyal a écrit : # HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1497462524 -19800 # Wed Jun 14 23:18:44 2017 +0530 # Node ID 60c3eb0a6ae2f0e7dfc94ac103ad4bfc53aa # Parent f12a51d828c6bac3ed7683bd07f7d04232727da5 cmdutil: add a function to terse the status

Re: [PATCH 7 of 9] pycompat: move multiline comments above a function to function doc

2017-06-17 Thread Pulkit Goyal
On Fri, Jun 16, 2017 at 7:40 PM, Yuya Nishihara wrote: > On Fri, 16 Jun 2017 03:04:49 +0530, Pulkit Goyal wrote: >> # HG changeset patch >> # User Pulkit Goyal <7895pul...@gmail.com> >> # Date 1497561497 -19800 >> # Fri Jun 16 02:48:17 2017 +0530 >> # Node ID

[PATCH 3 of 6 stable] mq: create patches with a/b prefix, also with [diff] noprefix=True

2017-06-17 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1497727704 -7200 # Sat Jun 17 21:28:24 2017 +0200 # Branch stable # Node ID e086df12576d6829b61d760636af2a189c385136 # Parent 2dae66ed58c0e2440a344ab8de645436a4c1f1a6 mq: create patches with a/b prefix, also with [diff]

[PATCH 4 of 6 stable] mq: don't lose whitespace changes with [diff] ignorews=True

2017-06-17 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1497727704 -7200 # Sat Jun 17 21:28:24 2017 +0200 # Branch stable # Node ID 5dfc12c8d1fa53baf7b9d0099bbac1e05b90f75f # Parent e086df12576d6829b61d760636af2a189c385136 mq: don't lose whitespace changes with [diff]

[PATCH 5 of 6 stable] mq: don't lose whitespace changes with [diff] ignorewsamount=True

2017-06-17 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1497727704 -7200 # Sat Jun 17 21:28:24 2017 +0200 # Branch stable # Node ID feb176a4bd5186488abb27ed9ed4d5fcd9df6f12 # Parent 5dfc12c8d1fa53baf7b9d0099bbac1e05b90f75f mq: don't lose whitespace changes with [diff]

[PATCH 6 of 6 stable] mq: don't lose whitespace changes with [diff] ignoreblanklines=True

2017-06-17 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1497727704 -7200 # Sat Jun 17 21:28:24 2017 +0200 # Branch stable # Node ID 863bb364f8201dda46c6a3d51fb57bbbdc7cb69b # Parent feb176a4bd5186488abb27ed9ed4d5fcd9df6f12 mq: don't lose whitespace changes with [diff]

[PATCH 1 of 6 stable] mq: test coverage of how [diff] configuration influence and break mq patches

2017-06-17 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1497727704 -7200 # Sat Jun 17 21:28:24 2017 +0200 # Branch stable # Node ID 1968bc846c16d0cf59a573daf879bb842daaf7f1 # Parent d3ab31bf9c0e9cecef77f18d9648716be5fcfdb8 mq: test coverage of how [diff] configuration

[PATCH 2 of 6 stable] mq: create non-lossy patches, also with [diff] nobinary=True

2017-06-17 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1497727704 -7200 # Sat Jun 17 21:28:24 2017 +0200 # Branch stable # Node ID 2dae66ed58c0e2440a344ab8de645436a4c1f1a6 # Parent 1968bc846c16d0cf59a573daf879bb842daaf7f1 mq: create non-lossy patches, also with [diff]

Re: [PATCH 1 of 3] cmdutil: add a function to terse the status

2017-06-17 Thread Denis Laxalde
Pulkit Goyal a écrit : Thanks for working on this! I wonder if this tersestatus function couldn't be unit-tested (might be easier if it didn't need the "repo" argument). I'd make it easier to understand its behaviour I think. Okay in that case, I will need to pass two other arguments for

Re: [PATCH 1 of 3] cmdutil: add a function to terse the status

2017-06-17 Thread Augie Fackler
> On Jun 17, 2017, at 12:11, Denis Laxalde wrote: > > Pulkit Goyal a écrit : >>> Thanks for working on this! >>> >>> I wonder if this tersestatus function couldn't be unit-tested (might be >>> easier if it didn't need the "repo" argument). I'd make it easier to >>>

[PATCH 1 of 2] dagop: split module hosting DAG-related algorithms from revset

2017-06-17 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1476608604 -32400 # Sun Oct 16 18:03:24 2016 +0900 # Node ID ea5c0d4b4f3ff4b78218d21e29b8c2068f78907f # Parent 9d472b219fb07e011c7a6255c5be47e6fc66229c dagop: split module hosting DAG-related algorithms from revset This

[PATCH 2 of 2] dagop: move blockancestors() and blockdescendants() from context

2017-06-17 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1487500634 -32400 # Sun Feb 19 19:37:14 2017 +0900 # Node ID 4b258e839f739c8c5c422b34891598aeb05858aa # Parent ea5c0d4b4f3ff4b78218d21e29b8c2068f78907f dagop: move blockancestors() and blockdescendants() from context

[PATCH RFC] show: implement "stack" view

2017-06-17 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1497726059 21600 # Sat Jun 17 13:00:59 2017 -0600 # Node ID c9a3d8cdbb925614419216d6e99d9a70f03d926d # Parent 9fcb6df413c9ca475e705ecc15df07584dadb0c1 show: implement "stack" view People often want to know what they

[PATCH] revset: fix negative ancestor spec to not return changectx objects

2017-06-17 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1497756323 -32400 # Sun Jun 18 12:25:23 2017 +0900 # Node ID d9738785ee5f66c8ed5255d37dbbe76776e15427 # Parent 4b258e839f739c8c5c422b34891598aeb05858aa revset: fix negative ancestor spec to not return changectx objects The

Re: [PATCH 3 of 3] strip: include phases in bundle (BC)

2017-06-17 Thread Martin von Zweigbergk via Mercurial-devel
On Sat, Jun 17, 2017 at 4:47 PM, Pierre-Yves David wrote: > > > On 06/17/2017 07:19 AM, Martin von Zweigbergk via Mercurial-devel wrote: >> >> # HG changeset patch >> # User Martin von Zweigbergk >> # Date 1497510952 25200 >> # Thu Jun

Re: [PATCH] revset: fix negative ancestor spec to not return changectx objects

2017-06-17 Thread Martin von Zweigbergk via Mercurial-devel
On Sat, Jun 17, 2017 at 9:49 PM, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1497756323 -32400 > # Sun Jun 18 12:25:23 2017 +0900 > # Node ID d9738785ee5f66c8ed5255d37dbbe76776e15427 > # Parent

Re: [PATCH 2 of 6] util: drop the py26 garbage collector disabling hack

2017-06-17 Thread Yuya Nishihara
On Fri, 16 Jun 2017 23:05:35 -0400, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1497655633 14400 > # Fri Jun 16 19:27:13 2017 -0400 > # Node ID 1452c47128a707b930bb4cd3cea9e356ea40db39 > # Parent

Re: [PATCH 3 of 3] strip: include phases in bundle (BC)

2017-06-17 Thread Pierre-Yves David
On 06/17/2017 07:19 AM, Martin von Zweigbergk via Mercurial-devel wrote: # HG changeset patch # User Martin von Zweigbergk # Date 1497510952 25200 # Thu Jun 15 00:15:52 2017 -0700 # Node ID 0fd7e50e58c3ef2adacb67b61478badde282a2df # Parent