Re: [PATCH 10 of 22] obsstore: keep self._data updated with _addmarkers

2017-06-05 Thread Gregory Szorc
On Sun, Jun 4, 2017 at 4:59 PM, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1496552183 25200 > # Sat Jun 03 21:56:23 2017 -0700 > # Node ID 994e09024cdd5bbca80f1beb9dcbd2f1a19aa1bb > # Parent 5b83ced66577dc862594f85bcef2726a0d3fcfaf > # Available At https://bitbucket.org/

Re: [PATCH 09 of 22] obsstore: move header encoding to a separate function

2017-06-05 Thread Gregory Szorc
On Sun, Jun 4, 2017 at 4:59 PM, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1496561891 25200 > # Sun Jun 04 00:38:11 2017 -0700 > # Node ID 5b83ced66577dc862594f85bcef2726a0d3fcfaf > # Parent e42031df2e3a0a3805c13ade577a083117d745aa > # Available At https://bitbucket.org/

Re: [PATCH 04 of 22] obsstore: minor optimization for the obsolete revset

2017-06-05 Thread Gregory Szorc
On Sun, Jun 4, 2017 at 4:59 PM, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1496457147 25200 > # Fri Jun 02 19:32:27 2017 -0700 > # Node ID e1d6126ed614db6ec664c79afcb3a141c9a0dfa4 > # Parent d492628229c58f8417a8b5925a614e26a16465af > # Available At https://bitbucket.org/

Re: [PATCH 03 of 22] radixlink: add C implementation

2017-06-05 Thread Gregory Szorc
On Sun, Jun 4, 2017 at 4:59 PM, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1496550656 25200 > # Sat Jun 03 21:30:56 2017 -0700 > # Node ID d492628229c58f8417a8b5925a614e26a16465af > # Parent e8e8d713e4b774f6894ee65723e7fdc12bf8a101 > # Available At https://bitbucket.org/

[PATCH] test-obsolete-bundle-strip: add globs for Windows

2017-06-05 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1496709465 14400 # Mon Jun 05 20:37:45 2017 -0400 # Node ID 9c44f664ef762d5c4e638a9736b37be8a84c92ff # Parent 12941a782928039c075ff67dbf4bbb8078c5f251 test-obsolete-bundle-strip: add globs for Windows diff --git a/tests/test-obsolete-bundle-s

Re: [PATCH] solaris: solaris grep doesn't have -A; reimplement with awk

2017-06-05 Thread Augie Fackler
> On Jun 5, 2017, at 7:36 PM, Danek Duvall wrote: > > Pierre-Yves David wrote: > >> >> >> On 06/03/2017 01:20 AM, danek.duv...@oracle.com wrote: >>> # HG changeset patch >>> # User Danek Duvall >>> # Date 1496445527 25200 >>> # Fri Jun 02 16:18:47 2017 -0700 >>> # Node ID d41ec8a0796481

Re: [PATCH] solaris: solaris grep doesn't have -A; reimplement with awk

2017-06-05 Thread Danek Duvall
Pierre-Yves David wrote: > > > On 06/03/2017 01:20 AM, danek.duv...@oracle.com wrote: > ># HG changeset patch > ># User Danek Duvall > ># Date 1496445527 25200 > ># Fri Jun 02 16:18:47 2017 -0700 > ># Node ID d41ec8a079648101eae94a25e05c6d7a7b26b653 > ># Parent e6ff007e107e434b35eb881711f

[PATCH] debugbundle: add --part-type flag to emit only named part types

2017-06-05 Thread danek . duvall
# HG changeset patch # User Danek Duvall # Date 1496704781 25200 # Mon Jun 05 16:19:41 2017 -0700 # Node ID 67209fdbca98cf2a38b05cb06f093dc376803590 # Parent e696f597d02f971eeed1217096b8f200ddb903d2 debugbundle: add --part-type flag to emit only named part types This removes the need in the

Re: [PATCH] solaris: solaris grep doesn't have -A; reimplement with awk

2017-06-05 Thread Danek Duvall
Yuya Nishihara wrote: > On Fri, 02 Jun 2017 16:20:06 -0700, danek.duv...@oracle.com wrote: > > # HG changeset patch > > # User Danek Duvall > > # Date 1496445527 25200 > > # Fri Jun 02 16:18:47 2017 -0700 > > # Node ID d41ec8a079648101eae94a25e05c6d7a7b26b653 > > # Parent e6ff007e107e434b35

Re: [PATCH 1 of 6 V2] obsstore: add a 'cachekey' method

2017-06-05 Thread Martin von Zweigbergk via Mercurial-devel
On Sat, May 20, 2017 at 8:30 AM, Pierre-Yves David wrote: > # HG changeset patch > # User Pierre-Yves David > # Date 1495191830 -7200 > # Fri May 19 13:03:50 2017 +0200 > # Node ID 221be1ef98902fa695a709371f75e63f9b3e950a > # Parent 566cfe9cbbb9b163bb58c8666759a634badacdd7 > # EXP-Topic obs

Re: [PATCH RFC] revset: lookup descendents for negative arguments to ancestor operator

2017-06-05 Thread Sean Farley
David Soria Parra writes: > On Wed, May 31, 2017 at 02:17:58PM -0400, Augie Fackler wrote: >> >> It's easy to allow child traversal only if it's unambigious, and come >> back to it later and be more permissive later. It'll be hard to go the >> other way though. >> >> (I'm lightly in favor of th

Re: [PATCH 01 of 22] check-code: allow "from mercurial.(pure|cext) import x as y"

2017-06-05 Thread Jun Wu
Excerpts from Augie Fackler's message of 2017-06-05 14:44:34 -0400: > > check-code: allow "from mercurial.(pure|cext) import x as y" > > I don't see in the series where this ended up getting used. Did I just miss > it? The test uses pure to reuse some struct.Struct.unpack to dump the file in a h

Re: [PATCH 01 of 22] check-code: allow "from mercurial.(pure|cext) import x as y"

2017-06-05 Thread Augie Fackler
On Sun, Jun 04, 2017 at 04:59:13PM -0700, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1496444920 25200 > # Fri Jun 02 16:08:40 2017 -0700 > # Node ID 5c3500de0a229d8aa08058bccec531d8a85b90d9 > # Parent 783394c0c97807e83daad9da561179bd0719e159 > # Available At https://bitbuc

Re: [PATCH 20 of 22] obsstore: make markerindex support serialization

2017-06-05 Thread Augie Fackler
On Sun, Jun 04, 2017 at 04:59:32PM -0700, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1496615642 25200 > # Sun Jun 04 15:34:02 2017 -0700 > # Node ID edae716e97c441aff52688f3be4750b34b199901 > # Parent 160567b62f74e8e02fa2e9a7b2cb4076b105e528 > # Available At https://bitbuc

Re: [PATCH 3 of 3] dispatch: do not close stdout and stderr, just flush() instead

2017-06-05 Thread Augie Fackler
On Tue, Jun 06, 2017 at 12:23:30AM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1492875089 -32400 > # Sun Apr 23 00:31:29 2017 +0900 > # Node ID 7fc71d7e74370f62e04e38c20337861732edbc98 > # Parent 53953046e8e443c31fbe1a9b94e8b95e92f6bda6 > dispatch: do

Re: [PATCH 1 of 3 ctx-cleanup] context: inline makememctx (API)

2017-06-05 Thread Sean Farley
Martin von Zweigbergk writes: > On Wed, May 31, 2017 at 5:22 PM, Sean Farley wrote: >> # HG changeset patch >> # User Sean Farley >> # Date 1494536055 25200 >> # Thu May 11 13:54:15 2017 -0700 >> # Branch wctxds >> # Node ID 9879720e90cf13e445d17fc22f53c071a22322d9 >> # Parent 60b3e8946da

Re: [PATCH RFC] revset: lookup descendents for negative arguments to ancestor operator

2017-06-05 Thread David Soria Parra
On Wed, May 31, 2017 at 02:17:58PM -0400, Augie Fackler wrote: > > It's easy to allow child traversal only if it's unambigious, and come > back to it later and be more permissive later. It'll be hard to go the > other way though. > > (I'm lightly in favor of this series, +0-ish, but I need to re-

mercurial@32682: 7 new changesets

2017-06-05 Thread Mercurial Commits
7 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/4c3d9ee87382 changeset: 32676:4c3d9ee87382 user:Matt Harbison date:Sun May 21 18:58:51 2017 -0400 summary: win32: drop a py26 daemonizing hack https://www.mercurial-scm.org/repo/hg/rev/f840b2621cce cha

Re: [PATCH 5 of 7] localrepo: map integer and hex wdir identifiers to workingctx

2017-06-05 Thread Yuya Nishihara
On Sat, 03 Jun 2017 23:39:29 +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1471599635 -32400 > # Fri Aug 19 18:40:35 2016 +0900 > # Node ID cee3aecb6c45796eb7a79b995c04dd83289bfd76 > # Parent a516f6ea75b353f71a935063598ef7add5914db5 > localrepo: map int

[PATCH 2 of 3] windows: do not close stdout on flush() failure

2017-06-05 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1496673395 -32400 # Mon Jun 05 23:36:35 2017 +0900 # Node ID 53953046e8e443c31fbe1a9b94e8b95e92f6bda6 # Parent b3249cb334af076bf9787ac16ff92a2bb8e8567e windows: do not close stdout on flush() failure It's been there since e817c68edfed (2007-

[PATCH 3 of 3] dispatch: do not close stdout and stderr, just flush() instead

2017-06-05 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1492875089 -32400 # Sun Apr 23 00:31:29 2017 +0900 # Node ID 7fc71d7e74370f62e04e38c20337861732edbc98 # Parent 53953046e8e443c31fbe1a9b94e8b95e92f6bda6 dispatch: do not close stdout and stderr, just flush() instead Since 3a4c0905f357 "util:

[PATCH 1 of 3] test-obsolete-bundle-strip: do not include \n in filename (issue5586)

2017-06-05 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1496672583 -32400 # Mon Jun 05 23:23:03 2017 +0900 # Node ID b3249cb334af076bf9787ac16ff92a2bb8e8567e # Parent fc9296c15112af247e4985cdc45fbbf7d8eed175 test-obsolete-bundle-strip: do not include \n in filename (issue5586) diff --git a/tests/

mercurial@32675: 12 new changesets

2017-06-05 Thread Mercurial Commits
12 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/2d56e6d23be7 changeset: 32664:2d56e6d23be7 user:Matt Harbison date:Mon May 22 22:00:56 2017 -0400 summary: win32: add a method to enable ANSI color code processing on Windows 10 https://www.mercurial

Re: [PATCH V2] smartset: add a "toset" method

2017-06-05 Thread Martin von Zweigbergk via Mercurial-devel
On Jun 5, 2017 6:22 AM, "Yuya Nishihara" wrote: On Sun, 4 Jun 2017 17:36:04 -0700, Jun Wu wrote: > Excerpts from Yuya Nishihara's message of 2017-06-04 11:41:26 +0900: > > On Sat, 3 Jun 2017 20:02:28 -0400, Augie Fackler wrote: > > > Okay, it sounds like we should document that the API contract i

Re: [PATCH 2 of 2] revlog: add support for partial matching of wdir node id

2017-06-05 Thread Augie Fackler
On Sun, Jun 04, 2017 at 11:50:53PM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1471598764 -32400 > # Fri Aug 19 18:26:04 2016 +0900 > # Node ID 62080cf2737f5945d6b72fcb476ee32762a1f129 > # Parent 8a92c8414acdf0b72195ed393cc22717e0e80acf > revlog: add

Re: [PATCH] dirstate: add docstring for invalidate

2017-06-05 Thread Augie Fackler
On Sun, Jun 04, 2017 at 04:09:02PM -0700, Siddharth Agarwal wrote: > # HG changeset patch > # User Siddharth Agarwal > # Date 1496617730 25200 > # Sun Jun 04 16:08:50 2017 -0700 > # Node ID 45841cedb603b93803eec37bd7d01456a6b8e812 > # Parent 5277d6faabb4f9593a5d33cdab6c4a6191ad856d > dirstat

Re: [PATCH 2 of 2 v2] tests: simplify and clarify test-obsolete-bundle-strip.t a little

2017-06-05 Thread Augie Fackler
On Sun, Jun 04, 2017 at 01:54:22PM -0700, Martin von Zweigbergk via Mercurial-devel wrote: > # HG changeset patch > # User Martin von Zweigbergk > # Date 1496469903 25200 > # Fri Jun 02 23:05:03 2017 -0700 > # Node ID 414f0e052a6f91f37cb41feff5ea175deb6861fe > # Parent e317abebf6b8004fbba99

Re: [PATCH 4 of 4] test-clonebundles: conditionalize output for Windows

2017-06-05 Thread Augie Fackler
On Sun, Jun 04, 2017 at 11:38:51PM -0400, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1496623052 14400 > # Sun Jun 04 20:37:32 2017 -0400 > # Node ID 29a0d44ddc063f1dd24f21ce193be0a866d8c116 > # Parent cd84d2ed17926b8de886d3d2719a4fa3c7440af0 > test-clonebundl

Re: [PATCH 2 of 7] merge: use scmutil.intrev() to sort ctx objects

2017-06-05 Thread Yuya Nishihara
On Sun, 4 Jun 2017 14:02:37 -0700, Martin von Zweigbergk wrote: > On Sat, Jun 3, 2017 at 7:39 AM, Yuya Nishihara wrote: > > # HG changeset patch > > # User Yuya Nishihara > > # Date 1496484079 -32400 > > # Sat Jun 03 19:01:19 2017 +0900 > > # Node ID aee024abcb7e2abcadd612cc736c93639cc275e0

Re: [PATCH V2] smartset: add a "toset" method

2017-06-05 Thread Yuya Nishihara
On Sun, 4 Jun 2017 17:36:04 -0700, Jun Wu wrote: > Excerpts from Yuya Nishihara's message of 2017-06-04 11:41:26 +0900: > > On Sat, 3 Jun 2017 20:02:28 -0400, Augie Fackler wrote: > > > Okay, it sounds like we should document that the API contract is that > > > clients must not mutate the returned

Re: [PATCH 2 of 2] tests: fix run-tests when there's a bad #if in a test

2017-06-05 Thread Augie Fackler
> On Jun 4, 2017, at 23:56, Matt Harbison wrote: > > On Tue, 30 May 2017 21:12:31 -0400, Augie Fackler wrote: > >> # HG changeset patch >> # User Augie Fackler >> # Date 1496191723 14400 >> # Tue May 30 20:48:43 2017 -0400 >> # Node ID 48ea485539377729a711959c15ac4262550234fc >> # Parent