[PATCH 1 of 2] cat: record the current behavior of wildcard matches in subrepos

2017-11-24 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1511591374 -32400 # Sat Nov 25 15:29:34 2017 +0900 # Node ID 38e952030f0c4746257280d47f0f94b6cb9ddb41 # Parent 8287df8b7be545fdafa22b771012ac65f6264d12 cat: record the current behavior of wildcard matches in subrepos It

[PATCH 2 of 2] cat: do not instantiate subrepo if no potential match in it

2017-11-24 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1511593310 -32400 # Sat Nov 25 16:01:50 2017 +0900 # Node ID b6e526ee5d2662ca30a555ca51264b3e371fe44e # Parent 38e952030f0c4746257280d47f0f94b6cb9ddb41 cat: do not instantiate subrepo if no potential match in it This fixes

D1498: hbisect: use a revset for ancestor calculation

2017-11-24 Thread dsp (David Soria Parra)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGec25c8275cfa: hbisect: use a revset for ancestor calculation (authored by dsp, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1498?vs=3804=3857

D1494: develwarn: do not emit warning if "config" is unspecified

2017-11-24 Thread spectral (Kyle Lippincott)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGfa2395db68c6: develwarn: do not emit warning if config is unspecified (authored by spectral, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D1499: hbisect: use a defaultdict to avoid large allocations for a large changelogs

2017-11-24 Thread dsp (David Soria Parra)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG8287df8b7be5: hbisect: use a defaultdict to avoid large allocations for a large changelogs (authored by dsp, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D1497: hbisect: pass repo into hbisect.bisect

2017-11-24 Thread dsp (David Soria Parra)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGfd8b6b183073: hbisect: pass repo into hbisect.bisect (authored by dsp, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1497?vs=3803=3856 REVISION

D1348: histedit: add support to output nodechanges using formatter

2017-11-24 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGa9cc233de513: histedit: add support to output nodechanges using formatter (authored by pulkit, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D1348?vs=3783=3854#toc REPOSITORY

D1494: develwarn: do not emit warning if "config" is unspecified

2017-11-24 Thread yuja (Yuya Nishihara)
yuja added a comment. > (Specifically picked yuja as reviewer since they reviewed the original > https://www.mercurial-scm.org/repo/hg/rev/3f33831a9202, > so hopefully can tell me whether this was intentional I think it was intentional during the migration to the config gating API,

D1506: dagop: handle IndexError when using wdir() in dag range

2017-11-24 Thread yuja (Yuya Nishihara)
yuja requested changes to this revision. yuja added a comment. This revision now requires changes to proceed. I think it's better to fail fast instead of trying the slow path which is supposed to raise WdirUnsupported exception. > $ hg status --rev '.::wdir()' > abort: working

D1499: hbisect: use a defaultdict to avoid large allocations for a large changelogs

2017-11-24 Thread yuja (Yuya Nishihara)
yuja added a comment. Queued, thanks. I don't have any number, but this seems good for a common scenario in which a small part of a large repository will be bisected. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1499 To: dsp, #hg-reviewers, yuja Cc:

D1494: develwarn: do not emit warning if "config" is unspecified

2017-11-24 Thread yuja (Yuya Nishihara)
yuja accepted this revision. yuja added a comment. This revision is now accepted and ready to land. Makes sense. Queued, thanks. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1494 To: spectral, yuja, #hg-reviewers Cc: mercurial-devel

D1348: histedit: add support to output nodechanges using formatter

2017-11-24 Thread yuja (Yuya Nishihara)
yuja accepted this revision. yuja added a comment. This revision is now accepted and ready to land. Queued, thanks. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1348 To: pulkit, durin42, #hg-reviewers, dlax, yuja Cc: yuja, dlax, mercurial-devel

[PATCH 2 of 2] obsolete: drop usage of changectx in '_computecontentdivergentset'

2017-11-24 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1511066090 -3600 # Sun Nov 19 05:34:50 2017 +0100 # Node ID 15d0adf567fa66fbc33146e296fbc293bb507663 # Parent b76ac906d1ecea6bcac489834699d01273112fc8 # EXP-Topic instability-speed # Available At

[PATCH 1 of 2] obsolete: drop usage of changectx in '_computephasedivergentset'

2017-11-24 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1511065392 -3600 # Sun Nov 19 05:23:12 2017 +0100 # Node ID b76ac906d1ecea6bcac489834699d01273112fc8 # Parent 75013952d8d9608f73cd45f68405fbd6ec112bf2 # EXP-Topic instability-speed # Available At

[PATCH 1 of 2 STABLE V2] fancyopts: add early-options parser compatible with getopt()

2017-11-24 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1511442293 -32400 # Thu Nov 23 22:04:53 2017 +0900 # Branch stable # Node ID 78d25e7afffe6ce150da8b1ca32418d6394b0442 # Parent 02845f7441aff30bc01975a5881cabfa922c12d4 fancyopts: add early-options parser compatible with

[PATCH 2 of 2 STABLE V2] dispatch: add HGPLAIN=+strictflags to restrict early parsing of global options

2017-11-24 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1511443023 -32400 # Thu Nov 23 22:17:03 2017 +0900 # Branch stable # Node ID 54e6e3b35ea5a96d2d822ac23d44b4d105178c05 # Parent 78d25e7afffe6ce150da8b1ca32418d6394b0442 dispatch: add HGPLAIN=+strictflags to restrict early

D1506: dagop: handle IndexError when using wdir() in dag range

2017-11-24 Thread swhitaker (Simon Whitaker)
swhitaker created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Using wdir() in a dag range revset can crash Mercurial. For example: hg status --rev '.^::wdir() revlog.c reports an IndexError in this instance, but

D1502: rewriteutil: add utility function to check if we can create new unstable cset

2017-11-24 Thread dlax (Denis Laxalde)
dlax added a comment. > This rewriteutil.py introduced in this patch and the utility functions added in the upcoming patches exists in the evolve extension are being ported from there. Is it worth porting this alone if nothing in core makes use of this module? Or is there a larger