Re: [PATCH] match: adding non-recursive directory matching

2016-10-25 Thread Rodrigo Damazio via Mercurial-devel
On Tue, Oct 25, 2016 at 4:31 PM, FUJIWARA Katsunori wrote: > > At Mon, 24 Oct 2016 10:34:52 -0700, > Rodrigo Damazio wrote: > > > > [1 ] > > It sounds like we'd like to do 3 somewhat orthogonal things: > > - allow user to specify the directory the pattern is relative to > > (root/cwd/any) > > -

Re: [PATCH] match: adding non-recursive directory matching

2016-10-25 Thread FUJIWARA Katsunori
At Mon, 24 Oct 2016 10:34:52 -0700, Rodrigo Damazio wrote: > > [1 ] > It sounds like we'd like to do 3 somewhat orthogonal things: > - allow user to specify the directory the pattern is relative to > (root/cwd/any) > - allow the user to specify recursiveness/non-recursiveness consistently > (not

[PATCH STABLE] merge: avoid superfluous filemerges when grafting through renames (issue5407)

2016-10-25 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1477422113 -7200 # Tue Oct 25 21:01:53 2016 +0200 # Branch stable # Node ID 1f40c1fe34442812291b000c5e1a8b22ad14f091 # Parent 76c57e1fe79b0980b377b4f305635dea393d6315 merge: avoid superfluous filemerges when grafting through renames (issue540

Re: [PATCH 9 of 9 V4] manifest: remove manifest.readshallowdelta

2016-10-25 Thread Martin von Zweigbergk via Mercurial-devel
On Tue, Oct 25, 2016 at 1:19 PM, Durham Goode wrote: > > > On 9/21/16 1:33 PM, Martin von Zweigbergk wrote: >> >> On Tue, Sep 20, 2016 at 4:47 PM, Durham Goode wrote: >>> >>> # HG changeset patch >>> # User Durham Goode >>> # Date 1474399441 25200 >>> # Tue Sep 20 12:24:01 2016 -0700 >>> #

Re: [PATCH 9 of 9 V4] manifest: remove manifest.readshallowdelta

2016-10-25 Thread Durham Goode
On 9/21/16 1:33 PM, Martin von Zweigbergk wrote: On Tue, Sep 20, 2016 at 4:47 PM, Durham Goode wrote: # HG changeset patch # User Durham Goode # Date 1474399441 25200 # Tue Sep 20 12:24:01 2016 -0700 # Node ID f24ed91bde0ea4307546848e1100735d13879372 # Parent b16ce237ed47ef8c6f0f72bbc5

Re: [PATCH 7 of 9 V4] manifest: add shallow option to treemanifestctx.readdelta and readfast

2016-10-25 Thread Durham Goode
On 9/21/16 1:32 PM, Martin von Zweigbergk wrote: On Tue, Sep 20, 2016 at 4:47 PM, Durham Goode wrote: # HG changeset patch # User Durham Goode # Date 1474399441 25200 # Tue Sep 20 12:24:01 2016 -0700 # Node ID 561681e7a16fa33aa8a40e4c9a31ff395a115e4c # Parent 69b91c12d904f329eff6618ac4

Re: [PATCH 6 of 9 V4] manifest: change manifestlog mancache to be directory based

2016-10-25 Thread Durham Goode
On 9/21/16 1:31 PM, Martin von Zweigbergk wrote: On Tue, Sep 20, 2016 at 4:47 PM, Durham Goode wrote: # HG changeset patch # User Durham Goode # Date 1474415164 25200 # Tue Sep 20 16:46:04 2016 -0700 # Node ID 69b91c12d904f329eff6618ac43f5cfef631e8dc # Parent 52a206d772021194ab4356aeba

Re: [PATCH 3 of 4 STABLE] manifest: make manifestctx store the repo

2016-10-25 Thread Durham Goode
On 10/22/16 1:59 AM, Yuya Nishihara wrote: On Tue, 18 Oct 2016 17:50:16 -0700, Durham Goode wrote: # HG changeset patch # User Durham Goode # Date 1476837866 25200 # Tue Oct 18 17:44:26 2016 -0700 # Branch stable # Node ID 3efece5c59853908d65de53635488361dbf20c49 # Parent ed607426a3ff4d

Re: [PATCH 2 of 4 STABLE] manifest: make manifestlog a storecache

2016-10-25 Thread Durham Goode
On 10/22/16 2:09 AM, Yuya Nishihara wrote: On Tue, 18 Oct 2016 17:50:15 -0700, Durham Goode wrote: # HG changeset patch # User Durham Goode # Date 1476837219 25200 # Tue Oct 18 17:33:39 2016 -0700 # Branch stable # Node ID ed607426a3ff4deda8c7f2de8b86d5b6ca976d67 # Parent f4e70498d61773

Re: [PATCH remotefilelog-ext v2] fileserverclient: avoid ever requesting nullid nodes

2016-10-25 Thread Durham Goode
Pushed (with minor fix up since ‘node’ is no longer imported in that file). Thanks! On 10/24/16, 5:35 PM, "Augie Fackler" wrote: ># HG changeset patch ># User Augie Fackler ># Date 1477347305 14400 ># Mon Oct 24 18:15:05 2016 -0400 ># Node ID 2dbede85d40dec875be2df0442aa74982e56995d ># Pa

[Bug 5407] New: Graft performs a filemerge for all files renamed in graft target, even those unaffected by the commit to be grafted

2016-10-25 Thread bugzilla
https://bz.mercurial-scm.org/show_bug.cgi?id=5407 Bug ID: 5407 Summary: Graft performs a filemerge for all files renamed in graft target, even those unaffected by the commit to be grafted Product: Mercurial Versio

[PATCH stable] revset: don't cache abstractsmartset min/max invocations infinitely

2016-10-25 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1477414587 -7200 # Tue Oct 25 18:56:27 2016 +0200 # Branch stable # Node ID c2fe58cd4235fc6c8cabea882794303d620bec3a # Parent 76c57e1fe79b0980b377b4f305635dea393d6315 revset: don't cache abstractsmartset min/max invocations infinitely There

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

2016-10-25 Thread Jun Wu
Excerpts from Yuya Nishihara's message of 2016-10-25 23:11:02 +0900: > On Tue, 25 Oct 2016 14:12:08 +0100, Jun Wu wrote: > > Excerpts from Yuya Nishihara's message of 2016-10-23 15:35:21 +0900: > > > # HG changeset patch > > > # User Yuya Nishihara > > > # Date 1477199774 -32400 > > > # Sun O

Nested Subrepos non-recursive/deferred cloning

2016-10-25 Thread Ken Frederickson
Hello, When using subrepos, I frequently get in a situation where nested subrepos result in multiple copies of the same repo. This can cause several headaches, like a hit on sync time, confusion which copy of the redundant repo I'm co-developing, etc. Additionally, it's troubling that cloning of t

[PATCH 1 of 3 STABLE V2] templater: do not use index.partialmatch() directly to calculate shortest()

2016-10-25 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1477199123 -32400 # Sun Oct 23 14:05:23 2016 +0900 # Branch stable # Node ID 869574e70105ec60b88b1bb85a12369e5e560279 # Parent 76c57e1fe79b0980b377b4f305635dea393d6315 templater: do not use index.partialmatch() directly to calculate shortest(

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

2016-10-25 Thread Yuya Nishihara
On Tue, 25 Oct 2016 14:12:08 +0100, Jun Wu wrote: > Excerpts from Yuya Nishihara's message of 2016-10-23 15:35:21 +0900: > > # HG changeset patch > > # User Yuya Nishihara > > # Date 1477199774 -32400 > > # Sun Oct 23 14:16:14 2016 +0900 > > # Branch stable > > # Node ID abbc5e382e1cb550f6d2a

[PATCH 2 of 3 STABLE V2] templater: use unfiltered changelog to calculate shortest() at O(log(N))

2016-10-25 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1477399770 -32400 # Tue Oct 25 21:49:30 2016 +0900 # Branch stable # Node ID ecbce2fe4dea116c925a2fecd1b7b50df0a62589 # Parent 869574e70105ec60b88b1bb85a12369e5e560279 templater: use unfiltered changelog to calculate shortest() at O(log(N))

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

2016-10-25 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1477199774 -32400 # Sun Oct 23 14:16:14 2016 +0900 # Branch stable # Node ID 242b7a856495179795ee5662f298029c4b492563 # Parent ecbce2fe4dea116c925a2fecd1b7b50df0a62589 changectx: do not include hidden revisions on short node lookup (issue4964

Re: [PATCH python-hglib v2] Add feature to allow hglib user to get call backs for prompts, output

2016-10-25 Thread Yuya Nishihara
On Mon, 24 Oct 2016 15:57:30 +0100, Barry Scott wrote: > On Monday, 24 October 2016 22:30:08 BST Yuya Nishihara wrote: > > On Mon, 24 Oct 2016 11:04:39 +0100, Barry Scott wrote: > > > >> +def setcbprompt(self, cbprompt): > > > >> +""" > > > >> +cbprompt is used to reply to promp

Re: [PATCH 1 of 2] templater: do not use index.partialmatch() directly to calculate shortest()

2016-10-25 Thread Yuya Nishihara
On Mon, 24 Oct 2016 22:00:22 -0700, Martin von Zweigbergk wrote: > On Mon, Oct 24, 2016 at 5:24 AM, Yuya Nishihara wrote: > > On Sun, 23 Oct 2016 12:52:34 -0700, Martin von Zweigbergk wrote: > >> On Sat, Oct 22, 2016 at 11:35 PM, Yuya Nishihara wrote: > >> > # HG changeset patch > >> > # User Yuy

Re: [PATCH V5] update: warn if cwd was deleted

2016-10-25 Thread Stanislau Hlebik
The fix is not that important so I think it’s fine to revert it if it causes troubles. On 10/24/16, 11:20 PM, "Danek Duvall" wrote: Stanislau Hlebik wrote: > diff --git a/tests/test-rebase-scenario-global.t b/tests/test-rebase-scenario-global.t > --- a/tests/test-rebase-scenar

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

2016-10-25 Thread Jun Wu
Excerpts from Yuya Nishihara's message of 2016-10-23 15:35:21 +0900: > # HG changeset patch > # User Yuya Nishihara > # Date 1477199774 -32400 > # Sun Oct 23 14:16:14 2016 +0900 > # Branch stable > # Node ID abbc5e382e1cb550f6d2ac886dfdb16bd95475ab > # Parent f180a39d749aeacb72936e629a372623

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

2016-10-25 Thread Jun Wu
It sounds like the case that an additional abstraction could solve. I think it may be worthwhile to add a thin shell script choosing whatever available to use under "tests/". It could define a shell function (could be just "wget" and implement it using curl), and tests can source it. Excerpts fro

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

2016-10-25 Thread Simon Farnsworth
As well as the extended commit message, I've also edited https://www.mercurial-scm.org/wiki/HackableMercurial which was the only wiki page I found mentioning msys. I don't know Windows well enough to actually get it right, though (things appear to have changed a bit since NT 3.51). Simon On

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

2016-10-25 Thread Simon Farnsworth
# HG changeset patch # User Simon Farnsworth # Date 1477397752 25200 # Tue Oct 25 05:15:52 2016 -0700 # Branch stable # Node ID f65f9acac6c69e6f2eb90b2ed9b51d818a046f67 # Parent 970a4c13ebc320a034bc0aff21e0ef0a84157a92 tests: use curl instead of wget curl is supplied by default on macOS 10.

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

2016-10-25 Thread Simon Farnsworth
On 25/10/2016 12:57, Matt Harbison wrote: OT: is there a blog or something somewhere that describes how you guys (or any other enterprises) get the developer's system setup and configured? Things like .hgrc settings, installing and configuring toolchains, staging build scripts, etc. I th

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

2016-10-25 Thread Matt Harbison
> On Oct 25, 2016, at 4:30 AM, Simon Farnsworth wrote: > >> On 25/10/2016 02:34, Matt Harbison wrote: >> On Mon, 24 Oct 2016 09:37:27 -0400, Simon Farnsworth >> wrote: >> On 24/10/2016 14:32, Pierre-Yves David wrote: > On 10/24/2016 03:26 PM, Simon Farnsworth wrote: >

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

2016-10-25 Thread Simon Farnsworth
On 25/10/2016 02:34, Matt Harbison wrote: On Mon, 24 Oct 2016 09:37:27 -0400, Simon Farnsworth wrote: On 24/10/2016 14:32, Pierre-Yves David wrote: On 10/24/2016 03:26 PM, Simon Farnsworth wrote: # HG changeset patch # User Simon Farnsworth # Date 1477315431 25200 # Mon Oct 24 06:23:

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

2016-10-25 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 e8454de81600e092f05aa22ecbac32925b70d074 # Parent 260af19891f2bed679a662be07d1379bb8207592 match: adding support for repository-root-based globs The broader plan is to ad

Re: [PATCH] match: adding non-recursive directory matching

2016-10-25 Thread Rodrigo Damazio via Mercurial-devel
Sending updated patch via pushgate (description changed). On Mon, Oct 24, 2016 at 10:34 AM, Rodrigo Damazio wrote: > It sounds like we'd like to do 3 somewhat orthogonal things: > - allow user to specify the directory the pattern is relative to > (root/cwd/any) > - allow the user to specify rec