[PATCH] match: adding support for repository-root-based globs

2016-11-02 Thread Rodrigo Damazio Bovendorp via Mercurial-devel
# HG changeset patch # User Rodrigo Damazio Bovendorp # Date 1475944120 25200 # Sat Oct 08 09:28:40 2016 -0700 # Node ID 5a24706699632b6b91f1079549e7ddd0ea952267 # Parent b032a7b676c6637b2ac6f3ef29431013b15a08f9 match: adding support for repository-root-based globs The

Re: [PATCH] match: adding support for repository-root-based globs

2016-11-02 Thread Rodrigo Damazio via Mercurial-devel
On Wed, Nov 2, 2016 at 7:58 AM, Pierre-Yves David < pierre-yves.da...@ens-lyon.org> wrote: > > > On 11/01/2016 01:50 PM, Yuya Nishihara wrote: > >> On Mon, 31 Oct 2016 21:47:35 -0400, Augie Fackler wrote: >> >>> On Oct 28, 2016, at 4:40 AM, Pierre-Yves David < pierre-yves.da...@ens-lyon.org>

[PATCH 1 of 6 V5] manifest: throw LookupError if node not in revlog

2016-11-02 Thread Durham Goode
# HG changeset patch # User Durham Goode # Date 1478133211 25200 # Wed Nov 02 17:33:31 2016 -0700 # Branch stable # Node ID ac8875e9c49e6d66393aa412e52262640bdcf134 # Parent b9f7b0c10027764cee77f9c6d61877fcffea837f manifest: throw LookupError if node not in revlog When

[PATCH 6 of 6 V5] manifest: remove manifest.readshallowdelta

2016-11-02 Thread Durham Goode
# HG changeset patch # User Durham Goode # Date 1478131847 25200 # Wed Nov 02 17:10:47 2016 -0700 # Branch stable # Node ID 5a8fa7811314ee6cc08c43e06b4ff0a9c38f5041 # Parent 42cbc5a35d816cf9e5c0ab31791ab90df8004dab manifest: remove manifest.readshallowdelta This removes

[PATCH 3 of 6 V5] manifest: change manifestlog mancache to be directory based

2016-11-02 Thread Durham Goode
# HG changeset patch # User Durham Goode # Date 1478131847 25200 # Wed Nov 02 17:10:47 2016 -0700 # Branch stable # Node ID 9034cbde98311be9a93da0554a3ca9d399d64089 # Parent 03f320268065807ad4fd90dbfb9b05d5493c250c manifest: change manifestlog mancache to be directory based

Re: Fixing .hg file open ordering

2016-11-02 Thread Bryan O'Sullivan
On Wed, Nov 2, 2016 at 3:30 PM, Durham Goode wrote: > Bookmark writes are now within the wlock, and any inmemory read you did > prior to taking the lock will be invalidated (during the next > repo._bookmarks access) and thrown away when you take the lock. So once > you're in the

Re: Fixing .hg file open ordering

2016-11-02 Thread Durham Goode
On 11/2/16 3:20 PM, Bryan O'Sullivan wrote: There's long been a well-defined order for accessing historical data: changelog first, then manifest, then revlog, and the reverse for writes. Yea, I guess I'm proposing formalizing these dependencies into a single location in code so we cannot mess

[PATCH 7 of 7] py3: use encoding.environ in ui.py

2016-11-02 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1478122977 -19800 # Thu Nov 03 03:12:57 2016 +0530 # Node ID 512f0781517b6a209e94ef8eb14409048f0f4ae8 # Parent aef03902a5c1a13e9775059a5efdeb2466399ada py3: use encoding.environ in ui.py Using source transformer we add

[PATCH 4 of 7] py3: make scmposix.userrcpath() return bytes

2016-11-02 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1478119621 -19800 # Thu Nov 03 02:17:01 2016 +0530 # Node ID e0e794c3b580b1f64d37ccdd6d8bd606eb87880e # Parent 9d54c24d17daddf2ede7fe7ce58751ab9a1780a4 py3: make scmposix.userrcpath() return bytes We are making sure that

[PATCH 5 of 7] py3: make scmutil.rcpath() return bytes

2016-11-02 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1478120266 -19800 # Thu Nov 03 02:27:46 2016 +0530 # Node ID 9e259e7b59b6358eb842eabbc99f4c18a4cc5009 # Parent e0e794c3b580b1f64d37ccdd6d8bd606eb87880e py3: make scmutil.rcpath() return bytes In the whole series we are

[PATCH 2 of 7] py3: make sure osutil.listdir() returns what it gets

2016-11-02 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1478118344 -19800 # Thu Nov 03 01:55:44 2016 +0530 # Node ID 6585e9c1d915818d5138f6cb4134707002d5d749 # Parent e541b0e5839988f63446c88509db68772a55775b py3: make sure osutil.listdir() returns what it gets

[PATCH 1 of 7] py3: make util.datapath a bytes variable

2016-11-02 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1478113113 -19800 # Thu Nov 03 00:28:33 2016 +0530 # Node ID e541b0e5839988f63446c88509db68772a55775b # Parent bb586966818986131068280bfd95fc96fbdaaa0d py3: make util.datapath a bytes variable Fixing things when a

Re: Fixing .hg file open ordering

2016-11-02 Thread Bryan O'Sullivan
There's long been a well-defined order for accessing historical data: changelog first, then manifest, then revlog, and the reverse for writes. I think that what has happened with bookmarks is that we literally forgot about the next necessary ordering constraint: you must read bookmarks before the

[PATCH 2 of 7] py3: make sure osutil.listdir() returns what it gets

2016-11-02 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1478118344 -19800 # Thu Nov 03 01:55:44 2016 +0530 # Node ID f87503dd04ee704ed0c13d6ec9673fe7d946fd6c # Parent e23132d2c665e788646000318a9880bf9c5a177f py3: make sure osutil.listdir() returns what it gets

[PATCH 7 of 7] py3: use encoding.environ in ui.py

2016-11-02 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1478122977 -19800 # Thu Nov 03 03:12:57 2016 +0530 # Node ID 9bdf6ee77b17dc2a1ce29fb347e90bd8dd17eaed # Parent 8cd0e855ebb448a4ec1e835b346a920a1cb835cb py3: use encoding.environ in ui.py Using source transformer we add

[PATCH 3 of 7] py3: make scmpoxis.systemrcpath() return bytes

2016-11-02 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1478119178 -19800 # Thu Nov 03 02:09:38 2016 +0530 # Node ID 0b45aa3edc2c725eaa82dde9df39a17eb8585ff0 # Parent f87503dd04ee704ed0c13d6ec9673fe7d946fd6c py3: make scmpoxis.systemrcpath() return bytes The variable `p` is a

[PATCH 1 of 7] py3: make util.datapath a bytes variable

2016-11-02 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1478113113 -19800 # Thu Nov 03 00:28:33 2016 +0530 # Node ID e23132d2c665e788646000318a9880bf9c5a177f # Parent bb586966818986131068280bfd95fc96fbdaaa0d py3: make util.datapath a bytes variable Fixing things when a

[PATCH 5 of 7] py3: make scmutil.rcpath() return bytes

2016-11-02 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1478120266 -19800 # Thu Nov 03 02:27:46 2016 +0530 # Node ID 495481800cc65bddf8a944ce0a091fef5972c6b9 # Parent b0e4b8169c8f8080cee7648ddd8824025814e905 py3: make scmutil.rcpath() return bytes In the whole series we are

[PATCH 4 of 7] py3: make scmposix.userrcpath() return bytes

2016-11-02 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1478119621 -19800 # Thu Nov 03 02:17:01 2016 +0530 # Node ID b0e4b8169c8f8080cee7648ddd8824025814e905 # Parent 0b45aa3edc2c725eaa82dde9df39a17eb8585ff0 py3: make scmposix.userrcpath() return bytes We are making sure that

[PATCH 6 of 7] py3: use try/except to check for basestring

2016-11-02 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1478121825 -19800 # Thu Nov 03 02:53:45 2016 +0530 # Node ID 8cd0e855ebb448a4ec1e835b346a920a1cb835cb # Parent 495481800cc65bddf8a944ce0a091fef5972c6b9 py3: use try/except to check for basestring The term basestring

Re: [PATCH 01 of 11] util: put compression code next to each other

2016-11-02 Thread Gregory Szorc
On Wed, Nov 2, 2016 at 7:26 AM, Pierre-Yves David < pierre-yves.da...@ens-lyon.org> wrote: > > > On 11/02/2016 01:08 AM, Gregory Szorc wrote: > >> # HG changeset patch >> # User Gregory Szorc >> # Date 1476577441 25200 >> # Sat Oct 15 17:24:01 2016 -0700 >> # Node

[PATCH] repair: make strip() return backup file path

2016-11-02 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1477953630 25200 # Mon Oct 31 15:40:30 2016 -0700 # Node ID 2e435c3beb8c31822347661a898a7e94a5cee08e # Parent 6a8aff737a17ada068b8ce4501184eacc66e827f repair: make strip() return backup file path narrowhg wants

Re: Fixing .hg file open ordering

2016-11-02 Thread Durham Goode
On 11/2/16 2:09 PM, Durham Goode wrote: There's currently no defined order in which Mercurial should open files in the .hg directory. For instance, it's possible to read the changelog first, then several seconds later read the bookmark file. If during those several seconds the repo receives

Fixing .hg file open ordering

2016-11-02 Thread Durham Goode
There's currently no defined order in which Mercurial should open files in the .hg directory. For instance, it's possible to read the changelog first, then several seconds later read the bookmark file. If during those several seconds the repo receives new commits and a bookmark moves, then it

[PATCH 1 of 3] rebase: rename merge to mergemod

2016-11-02 Thread timeless
# HG changeset patch # User timeless # Date 1478112967 0 # Wed Nov 02 18:56:07 2016 + # Node ID 78cf30254354eafb993ed7f226eb70d7b7abb6dc # Parent b032a7b676c6637b2ac6f3ef29431013b15a08f9 # Available At https://bitbucket.org/timeless/mercurial-crew # hg

[PATCH 2 of 3] cmdutil: refactor checkunresolved

2016-11-02 Thread timeless
# HG changeset patch # User timeless # Date 1478112353 0 # Wed Nov 02 18:45:53 2016 + # Node ID 8dae4ad6767cf3456dd2fc4b2a7b478d855091f7 # Parent 78cf30254354eafb993ed7f226eb70d7b7abb6dc # Available At https://bitbucket.org/timeless/mercurial-crew # hg

[PATCH 3 of 3] rebase: check for conflicts before continuing

2016-11-02 Thread timeless
# HG changeset patch # User timeless # Date 1478113169 0 # Wed Nov 02 18:59:29 2016 + # Node ID e9528bc734ce94456dd2389b4ea318278139c206 # Parent 8dae4ad6767cf3456dd2fc4b2a7b478d855091f7 # Available At https://bitbucket.org/timeless/mercurial-crew # hg

[Bug 5410] New: Add patch-editing support to `hg record`

2016-11-02 Thread bugzilla
https://bz.mercurial-scm.org/show_bug.cgi?id=5410 Bug ID: 5410 Summary: Add patch-editing support to `hg record` Product: Mercurial Version: unspecified Hardware: PC OS: Windows Status: UNCONFIRMED

[PATCH 1 of 2] largefiles: clarify variable name holding file mode

2016-11-02 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1476801939 -7200 # Tue Oct 18 16:45:39 2016 +0200 # Node ID 90300200bc1fcaedcc6ab109574d08b01ece2853 # Parent bb586966818986131068280bfd95fc96fbdaaa0d largefiles: clarify variable name holding file mode A follow-up to

mercurial@30253: new changeset

2016-11-02 Thread Mercurial Commits
New changeset in mercurial: http://selenic.com/repo/hg//rev/b032a7b676c6 changeset: 30253:b032a7b676c6 bookmark:@ tag: tip user:Gregory Szorc date:Tue Nov 01 18:54:03 2016 -0700 summary: statprof: vendor statprof.py -- Repository URL:

Re: [PATCH] spelling: fixes of non-dictionary words

2016-11-02 Thread Augie Fackler
> On Nov 2, 2016, at 11:13, Mads Kiilerich wrote: > > On 11/02/2016 03:41 PM, Augie Fackler wrote: >>> On Nov 2, 2016, at 10:32, Mads Kiilerich wrote: >>> >>> On 10/18/2016 02:20 AM, Augie Fackler wrote: On Mon, Oct 17, 2016 at 11:38:02PM +0200,

Re: [PATCH] spelling: fixes of non-dictionary words

2016-11-02 Thread Mads Kiilerich
On 11/02/2016 03:41 PM, Augie Fackler wrote: On Nov 2, 2016, at 10:32, Mads Kiilerich wrote: On 10/18/2016 02:20 AM, Augie Fackler wrote: On Mon, Oct 17, 2016 at 11:38:02PM +0200, Mads Kiilerich wrote: # HG changeset patch # User Mads Kiilerich # Date

Re: [PATCH] spelling: fixes of non-dictionary words

2016-11-02 Thread Augie Fackler
> On Nov 2, 2016, at 10:32, Mads Kiilerich wrote: > > On 10/18/2016 02:20 AM, Augie Fackler wrote: >> On Mon, Oct 17, 2016 at 11:38:02PM +0200, Mads Kiilerich wrote: >>> # HG changeset patch >>> # User Mads Kiilerich >>> # Date 1476739015 -7200 >>> #

Re: [PATCH] spelling: fixes of non-dictionary words

2016-11-02 Thread Mads Kiilerich
On 10/18/2016 02:20 AM, Augie Fackler wrote: On Mon, Oct 17, 2016 at 11:38:02PM +0200, Mads Kiilerich wrote: # HG changeset patch # User Mads Kiilerich # Date 1476739015 -7200 # Mon Oct 17 23:16:55 2016 +0200 # Node ID efd5397e9da5b1d7e2c3353b0b06fc904651b150 # Parent

Re: [PATCH evolve v2] tests: use curl instead of wget

2016-11-02 Thread Pierre-Yves David
On 10/28/2016 01:51 PM, Matt Harbison wrote: On Oct 28, 2016, at 4:53 AM, Pierre-Yves David wrote: On 10/25/2016 02:23 PM, Simon Farnsworth wrote: # HG changeset patch # User Simon Farnsworth # Date 1477397752 25200 # Tue Oct 25

Re: [PATCH STABLE] build: include a dummy $PATH in the custom environment used by build.py

2016-11-02 Thread Pierre-Yves David
On 11/02/2016 02:40 PM, Gábor STEFANIK wrote: -- This message, including its attachments, is confidential. For more information please read NNG's email policy here: http://www.nng.com/emailpolicy/ By responding to

[PATCH 1 of 8 V7] exchange: add `_getbookmarks()` function

2016-11-02 Thread Stanislau Hlebik
# HG changeset patch # User Stanislau Hlebik # Date 1478016027 25200 # Tue Nov 01 09:00:27 2016 -0700 # Branch stable # Node ID a56a624a8a42b93ec980d2c284756a38719dffe6 # Parent b9f7b0c10027764cee77f9c6d61877fcffea837f exchange: add `_getbookmarks()` function This function

[PATCH 7 of 8 V7] bundle2: advertise bookmark capability

2016-11-02 Thread Stanislau Hlebik
# HG changeset patch # User Stanislau Hlebik # Date 1478088362 25200 # Wed Nov 02 05:06:02 2016 -0700 # Branch stable # Node ID c2a9f675fac55522bb954ea81c29fa0158106214 # Parent e2122d93aeb4da4a39c0c257e74414ac348a89f1 bundle2: advertise bookmark capability diff --git

[PATCH 6 of 8 V7] pull: use `bookmarks` bundle2 part

2016-11-02 Thread Stanislau Hlebik
# HG changeset patch # User Stanislau Hlebik # Date 1478086459 25200 # Wed Nov 02 04:34:19 2016 -0700 # Branch stable # Node ID e2122d93aeb4da4a39c0c257e74414ac348a89f1 # Parent 12466c729bb6783fbef11a6e148c648809b4f592 pull: use `bookmarks` bundle2 part Apply changes from

Re: [PATCH 5 of 5] hgweb: make log streams compatible with command server

2016-11-02 Thread Pierre-Yves David
On 11/02/2016 01:02 PM, Yuya Nishihara wrote: # HG changeset patch # User Yuya Nishihara # Date 1403928812 -32400 # Sat Jun 28 13:13:32 2014 +0900 # Node ID 827132690102f124cf5ee9d1888fdddba1987b9d # Parent e1a050ebbf75c6f512fe041864a1e53b647c3967 # EXP-Topic stdio hgweb:

[PATCH 5 of 8 V7] exchange: getbundle `bookmarks` part generator

2016-11-02 Thread Stanislau Hlebik
# HG changeset patch # User Stanislau Hlebik # Date 1478016027 25200 # Tue Nov 01 09:00:27 2016 -0700 # Branch stable # Node ID 12466c729bb6783fbef11a6e148c648809b4f592 # Parent 2f89680108366512c1a6345abec5cebdb85170ac exchange: getbundle `bookmarks` part generator This

[PATCH 2 of 8 V7] bookmarks: introduce binary encoding

2016-11-02 Thread Stanislau Hlebik
# HG changeset patch # User Stanislau Hlebik # Date 1478016027 25200 # Tue Nov 01 09:00:27 2016 -0700 # Branch stable # Node ID f3da841e3d47ccbb0be3892b521607c09fdeab13 # Parent a56a624a8a42b93ec980d2c284756a38719dffe6 bookmarks: introduce binary encoding Bookmarks binary

[PATCH 3 of 8 V7] bookmarks: add srchex param to updatefromremote

2016-11-02 Thread Stanislau Hlebik
# HG changeset patch # User Stanislau Hlebik # Date 1478016027 25200 # Tue Nov 01 09:00:27 2016 -0700 # Branch stable # Node ID d752daa2b736f0336a18760940104c59d6bd1a5c # Parent f3da841e3d47ccbb0be3892b521607c09fdeab13 bookmarks: add srchex param to updatefromremote diff

[PATCH 4 of 8 V7] bundle2: add `bookmarks` part handler

2016-11-02 Thread Stanislau Hlebik
# HG changeset patch # User Stanislau Hlebik # Date 1478016027 25200 # Tue Nov 01 09:00:27 2016 -0700 # Branch stable # Node ID 2f89680108366512c1a6345abec5cebdb85170ac # Parent d752daa2b736f0336a18760940104c59d6bd1a5c bundle2: add `bookmarks` part handler Applies bookmarks

RE: [PATCH STABLE] build: include a dummy $PATH in the custom environment used by build.py

2016-11-02 Thread Gábor STEFANIK
> -- This message, including its attachments, is confidential. For more information please read NNG's email policy here: http://www.nng.com/emailpolicy/ By responding to this email you accept the email policy.

Re: [PATCH 3 of 7 V3] statprof: require paths to save or load profile data

2016-11-02 Thread Yuya Nishihara
On Tue, 01 Nov 2016 19:11:07 -0700, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1471227245 25200 > # Sun Aug 14 19:14:05 2016 -0700 > # Node ID 4cd53260f947639e140a61b0698d9da1032d3794 > # Parent

Re: [PATCH 1 of 7 V3] statprof: vendor statprof.py

2016-11-02 Thread Yuya Nishihara
On Tue, 01 Nov 2016 19:11:05 -0700, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1478051643 25200 > # Tue Nov 01 18:54:03 2016 -0700 > # Node ID 60b2d821b58fb1209f7a5a3aac95e66a61e503ea > # Parent

mercurial@30252: new changeset

2016-11-02 Thread Mercurial Commits
New changeset in mercurial: http://selenic.com/repo/hg//rev/bb5869668189 changeset: 30252:bb5869668189 bookmark:@ tag: tip parent: 30212:260af19891f2 parent: 30251:e5cc44ea12de user:Augie Fackler date:Tue Nov 01 15:40:21 2016 -0400

[PATCH 2 of 5] convert: have debugsvnlog obtain standard streams from ui

2016-11-02 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1443850496 -32400 # Sat Oct 03 14:34:56 2015 +0900 # Node ID ed456439699b5af90a3a5ae36a8ac82431448c68 # Parent 5a7ca4f3983a0cd1573c3da450516b6c6a6277e0 # EXP-Topic stdio convert: have debugsvnlog obtain standard streams from

[PATCH 3 of 5] histedit: use ui.fin to read commands from stdin

2016-11-02 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1458346506 25200 # Fri Mar 18 17:15:06 2016 -0700 # Node ID 6f7e69bc46fc158f2df39f94f6e314fc7a66eca1 # Parent ed456439699b5af90a3a5ae36a8ac82431448c68 # EXP-Topic stdio histedit: use ui.fin to read commands from stdin stdin

[PATCH 5 of 5] hgweb: make log streams compatible with command server

2016-11-02 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1403928812 -32400 # Sat Jun 28 13:13:32 2014 +0900 # Node ID 827132690102f124cf5ee9d1888fdddba1987b9d # Parent e1a050ebbf75c6f512fe041864a1e53b647c3967 # EXP-Topic stdio hgweb: make log streams compatible with command server

[PATCH 1 of 5] convert: remove superfluous setbinary() calls from debugsvnlog

2016-11-02 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1443850153 -32400 # Sat Oct 03 14:29:13 2015 +0900 # Node ID 5a7ca4f3983a0cd1573c3da450516b6c6a6277e0 # Parent bb586966818986131068280bfd95fc96fbdaaa0d # EXP-Topic stdio convert: remove superfluous setbinary() calls from

Re: [PATCH 3 of 3 STABLE V2] changectx: do not include hidden revisions on short node lookup (issue4964)

2016-11-02 Thread Yuya Nishihara
On Tue, 1 Nov 2016 16:17:57 +, Jun Wu wrote: > Excerpts from Pierre-Yves David's message of 2016-11-01 16:59:36 +0100: > > So, just to confirm, the performance impact will only show up in case > > where we would have raised and ambiguity error anyway ? So in the only > > behavior/performance

Re: [PATCH 5 of 9 V6] bookmarks: add srchex param to updatefromremote

2016-11-02 Thread Stanislau Hlebik
I’m using srchex in bookmarks part handler to convert from bin nodes to hex nodes, because updatefromremote expect hex nodes. On 10/14/16, 2:28 AM, "Pierre-Yves David" wrote: On 10/11/2016 06:25 PM, Stanislau Hlebik wrote: > # HG changeset