Re: [PATCH] changelog: make sure datafile is 00changelog.d

2017-05-17 Thread Jun Wu
Excerpts from Gregory Szorc's message of 2017-05-17 20:09:53 -0700: > Hmmm. I suppose if there is a pretxnchangegroup process hook that needs to > access non-index data we could hit this. I would like to think we have test > coverage of this. But something tells me most/all our tests are for > chan

[PATCH] diffstat: properly count lines starting in '--' or '++' (issue5479)

2017-05-17 Thread Andrew Zwicky
# HG changeset patch # User Andrew Zwicky # Date 1495072277 18000 # Wed May 17 20:51:17 2017 -0500 # Node ID 51153c6062f6c0943ca741a003bfd88feb5adfac # Parent 8a87bfc5bebbbe0ac996ac8e047a029eb931af45 diffstat: properly count lines starting in '--' or '++' (issue5479) Lines that start in '--

Re: [PATCH] changelog: make sure datafile is 00changelog.d

2017-05-17 Thread Gregory Szorc
On Wed, May 17, 2017 at 8:01 PM, Jun Wu wrote: > (replying from mobile - sorry if the format is bad) > > We got new user reports about ".i.d" do not exist today. So I think it > needs to be fixed regardless of whether previous version is broken or not. > Hmmm. I suppose if there is a pretxnchang

RE: [PATCH] changelog: make sure datafile is 00changelog.d

2017-05-17 Thread Jun Wu
(replying from mobile - sorry if the format is bad) We got new user reports about ".i.d" do not exist today. So I think it needs to be fixed regardless of whether previous version is broken or not. I think "(API)" is cleaner. Hopefully that could be fixed in flight. Or I can send a V2 2ith the

[PATCH] revlog: rename constants (API)

2017-05-17 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1495075938 25200 # Wed May 17 19:52:18 2017 -0700 # Node ID 83ff4303132f4cbde0df62ee422652795a2d21c3 # Parent 8a87bfc5bebbbe0ac996ac8e047a029eb931af45 revlog: rename constants (API) Feature flag constants don't need "NG" in the name because t

[PATCH 1 of 2] tests: demonstrate `hg show` mapping to showconfig

2017-05-17 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 149518 25200 # Thu Apr 27 15:51:58 2017 -0700 # Node ID 706ff3761c606fe127bc4bc3fb5267039e6f9131 # Parent 7040f5131454b0ae9117ec10a9f33352a04746a3 tests: demonstrate `hg show` mapping to showconfig `hg config` has a "showconfig" alias. In

[PATCH 2 of 2] cmdutil: prevent "show" from matching "showconfig" (BC)

2017-05-17 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1493334106 25200 # Thu Apr 27 16:01:46 2017 -0700 # Node ID fc33b0dd5feecb4a51e6ef797ff4fffb145a8be7 # Parent 706ff3761c606fe127bc4bc3fb5267039e6f9131 cmdutil: prevent "show" from matching "showconfig" (BC) cmdutil.findpossible() performs a s

Re: [PATCH] changelog: make sure datafile is 00changelog.d

2017-05-17 Thread Gregory Szorc
On Wed, May 17, 2017 at 3:30 PM, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1495059840 25200 > # Wed May 17 15:24:00 2017 -0700 > # Node ID ea13a8402d0c78e843e811617c41e3d4c23222e6 > # Parent 2d19664e257da7ad5cb97150d81838c25872fac7 > # Available At https://bitbucket.org

[PATCH] changelog: make sure datafile is 00changelog.d

2017-05-17 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1495059840 25200 # Wed May 17 15:24:00 2017 -0700 # Node ID ea13a8402d0c78e843e811617c41e3d4c23222e6 # Parent 2d19664e257da7ad5cb97150d81838c25872fac7 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull https://bitbucket.or

[PATCH] match: remove ispartial()

2017-05-17 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1495039430 25200 # Wed May 17 09:43:50 2017 -0700 # Node ID 26e0ebdb7d88779011da54039309ba22b8179ef0 # Parent 2d19664e257da7ad5cb97150d81838c25872fac7 match: remove ispartial() The function was added in d1d69ca78883 (match: add match.

[PATCH] largefiles: delete unnecessary meddling with matcher internals

2017-05-17 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1495056707 25200 # Wed May 17 14:31:47 2017 -0700 # Node ID 9f5a9b36c09657e5b0c41a07415325635656fc3a # Parent 2d19664e257da7ad5cb97150d81838c25872fac7 largefiles: delete unnecessary meddling with matcher internals lfutil.getstandinmat

Re: [PATCH] dispatch: also allow "hg serve --stdio" on the current repo

2017-05-17 Thread Martin von Zweigbergk via Mercurial-devel
On Wed, May 17, 2017 at 1:20 PM, Martin von Zweigbergk wrote: > On Wed, May 17, 2017 at 12:35 PM, Augie Fackler wrote: >> On Wed, May 17, 2017 at 11:34:12PM +0900, Yuya Nishihara wrote: >>> On Tue, 16 May 2017 21:30:53 -0700, Martin von Zweigbergk via >>> Mercurial-devel wrote: >>> > # HG change

Re: [PATCH] run-tests: allow hg executable to be hg.exe

2017-05-17 Thread Sean Farley
Kostia Balytskyi writes: > # HG changeset patch > # User Kostia Balytskyi > # Date 1495050700 25200 > # Wed May 17 12:51:40 2017 -0700 > # Node ID fc5ad0312330350a1f03ab036530935764592334 > # Parent 2d19664e257da7ad5cb97150d81838c25872fac7 > run-tests: allow hg executable to be hg.exe > >

[PATCH] run-tests: allow hg executable to be hg.exe

2017-05-17 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1495050700 25200 # Wed May 17 12:51:40 2017 -0700 # Node ID fc5ad0312330350a1f03ab036530935764592334 # Parent 2d19664e257da7ad5cb97150d81838c25872fac7 run-tests: allow hg executable to be hg.exe When running tests on Windows (via msys), us

[PATCH V3] py3: explicitly convert a list to bytes to pass in ui.debug

2017-05-17 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1493837589 -19800 # Thu May 04 00:23:09 2017 +0530 # Node ID 1875fc152f23ee011b3c704dfc847d765d169dab # Parent 2d19664e257da7ad5cb97150d81838c25872fac7 py3: explicitly convert a list to bytes to pass in ui.debug Here pats

Re: [PATCH] dispatch: also allow "hg serve --stdio" on the current repo

2017-05-17 Thread Martin von Zweigbergk via Mercurial-devel
On Wed, May 17, 2017 at 12:35 PM, Augie Fackler wrote: > On Wed, May 17, 2017 at 11:34:12PM +0900, Yuya Nishihara wrote: >> On Tue, 16 May 2017 21:30:53 -0700, Martin von Zweigbergk via >> Mercurial-devel wrote: >> > # HG changeset patch >> > # User Martin von Zweigbergk >> > # Date 1494994835 2

Re: [PATCH STABLE] obsolete: invalidate "volatile" set cache after merging marker

2017-05-17 Thread Augie Fackler
On Wed, May 17, 2017 at 03:46:26PM +0200, Pierre-Yves David wrote: > # HG changeset patch > # User Pierre-Yves David > # Date 1495028377 -7200 > # Wed May 17 15:39:37 2017 +0200 > # Branch stable > # Node ID 99515353c72a4c54e4aac1a2ad4f8f724c7fdc9c > # Parent 176ed32dc159b63a8edd1fd9faaba90b

Re: [PATCH] util: drop unneeded override, sortdict.copy()

2017-05-17 Thread Augie Fackler
On Wed, May 17, 2017 at 11:41:45PM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1495029716 -32400 > # Wed May 17 23:01:56 2017 +0900 > # Node ID 8f73e24a59c1d38132f197f1dab296942865c2fc > # Parent 37bcb4665529f5cc59b8dffb1014ac0cab37492c > util: drop u

Re: [PATCH] drawdag: provide filenode for its dummy filectx

2017-05-17 Thread Augie Fackler
On Wed, May 17, 2017 at 10:49:13AM -0700, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1495043336 25200 > # Wed May 17 10:48:56 2017 -0700 > # Node ID c695cb7da7792def875dfd45c37dc402dc5d73b6 > # Parent 37bcb4665529f5cc59b8dffb1014ac0cab37492c > # Available At https://bitbuc

Re: [PATCH v2] rebase: make sure merge state is cleaned up for no-op rebases

2017-05-17 Thread Augie Fackler
On Tue, May 16, 2017 at 12:20:07PM -0700, Jeremy Fitzhardinge wrote: > # HG changeset patch > # User Jeremy Fitzhardinge > # Date 1494962309 25200 > # Tue May 16 12:18:29 2017 -0700 > # Node ID 45e596670f05aba81f7caef7c778812028c7bc5a > # Parent cb26d4cdd0f71423edde7451daf49f6f30bb385b > reb

Re: [PATCH] dispatch: also allow "hg serve --stdio" on the current repo

2017-05-17 Thread Augie Fackler
On Wed, May 17, 2017 at 11:34:12PM +0900, Yuya Nishihara wrote: > On Tue, 16 May 2017 21:30:53 -0700, Martin von Zweigbergk via Mercurial-devel > wrote: > > # HG changeset patch > > # User Martin von Zweigbergk > > # Date 1494994835 25200 > > # Tue May 16 21:20:35 2017 -0700 > > # Node ID 70

Re: [PATCH RFC stateful-chg] dispatch: make request accept additional reposetups

2017-05-17 Thread Jun Wu
Background on this: - chg worker needs to collect "repo path" information so it could report them to the main server (read operation) - chg worker needs to mangle "repo" state to fill it with cached objects (write operation - should happen before any other reposetups for cache to

[PATCH] drawdag: provide filenode for its dummy filectx

2017-05-17 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1495043336 25200 # Wed May 17 10:48:56 2017 -0700 # Node ID c695cb7da7792def875dfd45c37dc402dc5d73b6 # Parent 37bcb4665529f5cc59b8dffb1014ac0cab37492c # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull https://bitbucket.or

[PATCH RFC stateful-chg] dispatch: make request accept additional reposetups

2017-05-17 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1493527187 25200 # Sat Apr 29 21:39:47 2017 -0700 # Node ID 9b7eae7f7d613762884ac4880be74b23fe4c7415 # Parent 37bcb4665529f5cc59b8dffb1014ac0cab37492c # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull https://bitbucket.or

[PATCH stateful-chg] commandserver: move _socket state to handler

2017-05-17 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1495042747 25200 # Wed May 17 10:39:07 2017 -0700 # Node ID 28a79744e54d6b9c08d8d835c5bafdc90ba3c02d # Parent 37bcb4665529f5cc59b8dffb1014ac0cab37492c # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull https://bitbucket.or

mercurial@32301: 4 new changesets

2017-05-17 Thread Mercurial Commits
4 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/779a1ae6d0d9 changeset: 32298:779a1ae6d0d9 user:Matt Harbison date:Sat May 13 21:15:56 2017 -0400 summary: test-casefolding: sync with latest code changes https://www.mercurial-scm.org/repo/hg/rev/7040

[PATCH 3 of 3 V3] run-tests: support multiple cases in .t test

2017-05-17 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1495001431 25200 # Tue May 16 23:10:31 2017 -0700 # Node ID 7505f5ff2346c15cec1bf24fdf99122b305d8f4f # Parent 487161ec82a581324060d6300184206b5a179322 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull https://bitbucket.or

[PATCH 2 of 3 V3] runtests: rename test description dict to testdesc

2017-05-17 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1494994660 25200 # Tue May 16 21:17:40 2017 -0700 # Node ID 487161ec82a581324060d6300184206b5a179322 # Parent 93f69acc3e8c998b3a2c03b01273505a8fc6fe42 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull https://bitbucket.or

[PATCH 1 of 3 V3] run-tests: change test identity from a path to a dict

2017-05-17 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1493491247 25200 # Sat Apr 29 11:40:47 2017 -0700 # Node ID 93f69acc3e8c998b3a2c03b01273505a8fc6fe42 # Parent 7040f5131454b0ae9117ec10a9f33352a04746a3 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull https://bitbucket.or

Re: [PATCH 1 of 3 V2] run-tests: change test identity from a path to a dict

2017-05-17 Thread Jun Wu
Excerpts from Jun Wu's message of 2017-05-17 08:23:27 -0700: > -if os.path.exists(tests[0] + ".err"): > +if os.path.exists(tests['path'][0] + ".err"): Hmm... this is wrong. Although it got deleted in the next patch. Let me send a fix. ___

[PATCH 2 of 3 V2] runtests: rename test description dict to testdesc

2017-05-17 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1494994660 25200 # Tue May 16 21:17:40 2017 -0700 # Node ID 1bc740f63f2d8279ae1b12132b932878c9e2e26d # Parent 8fb560751eb7e72e87a9c49dee66d2de8bbcfe8e # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull https://bitbucket.or

[PATCH 3 of 3 V2] run-tests: support multiple cases in .t test

2017-05-17 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1495001431 25200 # Tue May 16 23:10:31 2017 -0700 # Node ID da13dea9905fd4ca7ddf7b7bf3615c7561d9dd6f # Parent 1bc740f63f2d8279ae1b12132b932878c9e2e26d # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull https://bitbucket.or

[PATCH 1 of 3 V2] run-tests: change test identity from a path to a dict

2017-05-17 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1493491247 25200 # Sat Apr 29 11:40:47 2017 -0700 # Node ID 8fb560751eb7e72e87a9c49dee66d2de8bbcfe8e # Parent 7040f5131454b0ae9117ec10a9f33352a04746a3 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull https://bitbucket.or

Re: [PATCH 2 of 2 evolve-ext] tests: update tests for changes in upstream 24f556

2017-05-17 Thread Pierre-Yves David
On 05/16/2017 07:40 PM, Durham Goode wrote: # HG changeset patch # User Durham Goode # Date 1494956324 25200 # Tue May 16 10:38:44 2017 -0700 # Node ID 8e1fc84b9dcf1e356d50db4d8196c47aedb045f4 # Parent 745facc836f8cbdb4c2b9209f1a6bdb31446f144 tests: update tests for changes in upstream 2

[Bug 5570] New: Color does not work on Windows in 4.2

2017-05-17 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5570 Bug ID: 5570 Summary: Color does not work on Windows in 4.2 Product: Mercurial Version: 4.2 Hardware: PC OS: Windows Status: UNCONFIRMED Severity: bug

Re: [PATCH 1 of 2 evolve-ext] tests: update tests to work with upstream 2b6692

2017-05-17 Thread Pierre-Yves David
On 05/16/2017 07:40 PM, Durham Goode wrote: # HG changeset patch # User Durham Goode # Date 1494956340 25200 # Tue May 16 10:39:00 2017 -0700 # Node ID 745facc836f8cbdb4c2b9209f1a6bdb31446f144 # Parent 2241433a77e543ee068039fa2fb9ad514decca93 tests: update tests to work with upstream 2b6

[PATCH] util: drop unneeded override, sortdict.copy()

2017-05-17 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1495029716 -32400 # Wed May 17 23:01:56 2017 +0900 # Node ID 8f73e24a59c1d38132f197f1dab296942865c2fc # Parent 37bcb4665529f5cc59b8dffb1014ac0cab37492c util: drop unneeded override, sortdict.copy() OrderedDict.copy() returns self.__class__(s

Re: [PATCH] dispatch: also allow "hg serve --stdio" on the current repo

2017-05-17 Thread Yuya Nishihara
On Tue, 16 May 2017 21:30:53 -0700, Martin von Zweigbergk via Mercurial-devel wrote: > # HG changeset patch > # User Martin von Zweigbergk > # Date 1494994835 25200 > # Tue May 16 21:20:35 2017 -0700 > # Node ID 70c51c9d67c69d4fb4cfcd5990a8e8906b55f576 > # Parent 779a1ae6d0d9eeb487636f66574

Re: [PATCH evolve-ext] evolve: fixing obscache invalidation

2017-05-17 Thread Pierre-Yves David
On 05/17/2017 03:53 PM, Martin von Zweigbergk wrote: On Wed, May 17, 2017, 02:55 Pierre-Yves David mailto:pierre-yves.da...@ens-lyon.org>> wrote: On 05/17/2017 08:38 AM, Rodrigo Damazio Bovendorp via Mercurial-devel wrote: > # HG changeset patch > # User Rodrigo Damazio Boven

Re: [PATCH evolve-ext] evolve: fixing obscache invalidation

2017-05-17 Thread Martin von Zweigbergk via Mercurial-devel
On Wed, May 17, 2017, 02:55 Pierre-Yves David < pierre-yves.da...@ens-lyon.org> wrote: > On 05/17/2017 08:38 AM, Rodrigo Damazio Bovendorp via Mercurial-devel > wrote: > > # HG changeset patch > > # User Rodrigo Damazio Bovendorp > > # Date 1495003030 25200 > > # Tue May 16 23:37:10 2017 -07

[PATCH STABLE] obsolete: invalidate "volatile" set cache after merging marker

2017-05-17 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1495028377 -7200 # Wed May 17 15:39:37 2017 +0200 # Branch stable # Node ID 99515353c72a4c54e4aac1a2ad4f8f724c7fdc9c # Parent 176ed32dc159b63a8edd1fd9faaba90bc7d924a6 # Available At https://www.mercurial-scm.org/repo/users/marmoute/mercuri

Re: [PATCH 2 of 2] run-tests: drop fallback for proc.terminate() for pre-py2.7

2017-05-17 Thread Yuya Nishihara
On Tue, 16 May 2017 14:53:20 -0700, Martin von Zweigbergk via Mercurial-devel wrote: > # HG changeset patch > # User Martin von Zweigbergk > # Date 1494970933 25200 > # Tue May 16 14:42:13 2017 -0700 > # Node ID 40067709292af7cca062f2f88e3d808d28400df2 > # Parent e97e9dac1ede83367bdb4948202

Re: [PATCH V2] tests: fix up recent conditionalized output changes

2017-05-17 Thread Yuya Nishihara
On Tue, 16 May 2017 22:31:56 -0400, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1494725402 14400 > # Sat May 13 21:30:02 2017 -0400 > # Node ID 73c26b0cd78966327eba6de006ca0d1fb1b53f7e > # Parent 7040f5131454b0ae9117ec10a9f33352a04746a3 > tests: fix up recent

Re: [PATCH evolve-ext] evolve: fixing obscache invalidation

2017-05-17 Thread Pierre-Yves David
On 05/17/2017 08:38 AM, Rodrigo Damazio Bovendorp via Mercurial-devel wrote: # HG changeset patch # User Rodrigo Damazio Bovendorp # Date 1495003030 25200 # Tue May 16 23:37:10 2017 -0700 # Node ID 8a19c6e8a1125be6bf6a5c97dc345c37c39a1189 # Parent 2241433a77e543ee068039fa2fb9ad514decca93 e

[PATCH evolve-ext] evolve: fixing obscache invalidation

2017-05-17 Thread Rodrigo Damazio Bovendorp via Mercurial-devel
# HG changeset patch # User Rodrigo Damazio Bovendorp # Date 1495003030 25200 # Tue May 16 23:37:10 2017 -0700 # Node ID 8a19c6e8a1125be6bf6a5c97dc345c37c39a1189 # Parent 2241433a77e543ee068039fa2fb9ad514decca93 evolve: fixing obscache invalidation This was missing a call to the parent's de