[PATCH STABLE] statprof: sort by time percentage as a secondary key

2018-10-23 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1540351037 14400 # Tue Oct 23 23:17:17 2018 -0400 # Branch stable # Node ID 3662c0ac3ab4b256ecabb348cc91605ee8973abb # Parent 49c7b701fdc2a8659b6f752aef507764d40ed5d0 statprof: sort by time percentage as a secondary key On Windows,

D5188: narrow: replace filtering in list comprehension by set operations

2018-10-23 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a reviewer: durin42. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY I didn't think of this while reviewing the patch. REPOSITORY rHG Mercurial REVISION DETAIL

Re: [PATCH] blackbox: add configitem for format of log timestamps

2018-10-23 Thread Matthew DeVore via Mercurial-devel
From: Matt DeVore My e-mail client was mangling spaces, which is why you couldn't apply the patch earlier. I'm sending this again with a different tool and e-mail address. # HG changeset patch # User Matt DeVore #

D5187: help: describe what ui.tweakdefaults changes, concretely

2018-10-23 Thread valentin.gatienbaron (Valentin Gatien-Baron)
valentin.gatienbaron created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Currently, one has to look at the code. A few things are suboptimal: - probably not translatable - some lines don't seem to be wrapped (they

D5186: help: when replacing placeholders in help files, insert indented text

2018-10-23 Thread valentin.gatienbaron (Valentin Gatien-Baron)
valentin.gatienbaron created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY So one can add text without hardcoding the indentation it will need. REPOSITORY rHG Mercurial REVISION DETAIL

D5185: storage: update sqlitestore to use the new `deltamode` parameter

2018-10-23 Thread lothiraldan (Boris Feld)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGa0e7fa019290: storage: update sqlitestore to use the new `deltamode` parameter (authored by lothiraldan, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

Re: [PATCH] blackbox: add configitem for format of log timestamps

2018-10-23 Thread Matthew DeVore
Below is the updated patch, but only the Node ID and Parent have changed. The context lines haven't changed. Thank you for the review! - Matt # HG changeset patch # User Matt DeVore # Date 1539816481 25200 # Wed

D5185: storage: update sqlitestore to use the new `deltamode` parameter

2018-10-23 Thread lothiraldan (Boris Feld)
lothiraldan created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY While updating the filelog class, I forget to update the sqlitestore, tests are now passing with this patch. REPOSITORY rHG Mercurial REVISION DETAIL

Re: [PATCH STABLE STABLE V2] phase: add an archived phase

2018-10-23 Thread Augie Fackler
queued, thanks > On Oct 23, 2018, at 11:56, Boris Feld wrote: > > # HG changeset patch > # User Boris Feld > # Date 1539780421 -7200 > # Wed Oct 17 14:47:01 2018 +0200 > # Branch stable > # Node ID 14ea5d230fdd42269ac04658e357684531c00736 > # Parent

D5183: narrow: rework logic to check whether we need to widen and narrow

2018-10-23 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG30a7d3b6b281: narrow: rework logic to check whether we need to widen and narrow (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5182: tests: show that adding an already included path still calls narrow_widen()

2018-10-23 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd362a41ee5dd: tests: show that adding an already included path still calls narrow_widen() (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5183: narrow: rework logic to check whether we need to widen and narrow

2018-10-23 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 12325. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5183?vs=12321=12325 REVISION DETAIL https://phab.mercurial-scm.org/D5183 AFFECTED FILES hgext/narrow/narrowcommands.py

[PATCH STABLE STABLE V2] phase: add an archived phase

2018-10-23 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1539780421 -7200 # Wed Oct 17 14:47:01 2018 +0200 # Branch stable # Node ID 14ea5d230fdd42269ac04658e357684531c00736 # Parent 36ba91e069486f8283199f92d6d3d19b8580e85c # EXP-Topic archived-phase # Available At

D5146: histedit: import chistedit curses UI from hg-experimental

2018-10-23 Thread pulkit (Pulkit Goyal)
pulkit added a comment. In https://phab.mercurial-scm.org/D5146#77493, @durin42 wrote: > In https://phab.mercurial-scm.org/D5146#77492, @pulkit wrote: > > > I remember using chistedit and finding that the `.hg/chisedit` file is not deleted after chistedit is completed. Looking at

D5146: histedit: import chistedit curses UI from hg-experimental

2018-10-23 Thread durin42 (Augie Fackler)
durin42 added a comment. In https://phab.mercurial-scm.org/D5146#77492, @pulkit wrote: > I remember using chistedit and finding that the `.hg/chisedit` file is not deleted after chistedit is completed. Looking at code, I am unable to find code which deletes that file. Can you please

D5146: histedit: import chistedit curses UI from hg-experimental

2018-10-23 Thread pulkit (Pulkit Goyal)
pulkit added a comment. I remember using chistedit and finding that the `.hg/chisedit` file is not deleted after chistedit is completed. Looking at code, I am unable to find code which deletes that file. Can you please have a look and delete that file after a successfull or aborted

D5183: narrow: rework logic to check whether we need to widen and narrow

2018-10-23 Thread pulkit (Pulkit Goyal)
pulkit added inline comments. INLINE COMMENTS > martinvonz wrote in narrowcommands.py:429 > nit: s/extend/widen/? that seems like the natural opposite to (the verb) > "narrow" I am fine with anyone, you can fix this in flight or I can send an updated version too. REPOSITORY rHG Mercurial

D5002: extensions: fix up many many debug logs that use %r

2018-10-23 Thread durin42 (Augie Fackler)
durin42 updated this revision to Diff 12323. durin42 edited the summary of this revision. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5002?vs=11910=12323 REVISION DETAIL https://phab.mercurial-scm.org/D5002 AFFECTED FILES mercurial/extensions.py

D5184: py3: port test-log-exthook.t to Python 3

2018-10-23 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a reviewer: pulkit. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY For once an easy one. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5184 AFFECTED FILES

D5183: narrow: rework logic to check whether we need to widen and narrow

2018-10-23 Thread martinvonz (Martin von Zweigbergk)
martinvonz accepted this revision. martinvonz added inline comments. This revision is now accepted and ready to land. INLINE COMMENTS > narrowcommands.py:429 > +if not widening and not narrowing: > +ui.status(_("nothing to extend or narrow\n")) > +return 0 nit:

mercurial@40415: 8 new changesets

2018-10-23 Thread Mercurial Commits
8 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/997997eb8367 changeset: 40408:997997eb8367 user:Martin von Zweigbergk date:Tue Sep 05 15:24:22 2017 -0700 summary: archive: create alwaysmatcher when no matcher provided

D5146: histedit: import chistedit curses UI from hg-experimental

2018-10-23 Thread durin42 (Augie Fackler)
durin42 updated this revision to Diff 12322. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5146?vs=12221=12322 REVISION DETAIL https://phab.mercurial-scm.org/D5146 AFFECTED FILES hgext/histedit.py mercurial/ui.py CHANGE DETAILS diff --git

Re: [PATCH v2] graft: introduce --base option for using custom base revision while merging

2018-10-23 Thread Augie Fackler
> On Oct 14, 2018, at 11:15, Mads Kiilerich wrote: > > # HG changeset patch > # User Mads Kiilerich > # Date 1539529698 -7200 > # Sun Oct 14 17:08:18 2018 +0200 > # Node ID 258029c642d97ef663396476c63ce34dbef89b13 > # Parent 38ac525b44c93fcadb3680d4ded56f1e5a0029b2 > graft: introduce

Re: [PATCH 4 of 4 V2] changegroup: add a option to create bundle with full snapshot only

2018-10-23 Thread Augie Fackler
seems fine, queued > On Oct 18, 2018, at 06:56, Boris Feld wrote: > > # HG changeset patch > # User Boris Feld > # Date 1539858666 -7200 > # Thu Oct 18 12:31:06 2018 +0200 > # Node ID 4c805ec9e478424e631ed8bb7ba6fd65714cfd15 > # Parent 2a54c05a0e8901bb171721024843531f95382616 > #

Re: [PATCH PoC] relnotes: various tweaks for release notes (PoC)

2018-10-23 Thread Augie Fackler
This looks like a huge improvement. When you're ready, please feel encouraged to send a patch for me to check-in. Thanks for improving our release notes! It's been on my "we should fix that" list for so long I mostly forgot. > On Oct 19, 2018, at 10:25, Anton Shestakov wrote: > > # HG

Re: [PATCH 3 of 3] branchmap: do not specify changelog as an argument

2018-10-23 Thread Augie Fackler
queued, very nice > On Oct 23, 2018, at 08:43, Yuya Nishihara wrote: > > # HG changeset patch > # User Yuya Nishihara > # Date 1540296673 -32400 > # Tue Oct 23 21:11:13 2018 +0900 > # Node ID 9dbe2753c9eabb95eda4cb8be726dd5e29f4cc7a > # Parent 759c7efd7c9132ce6dac5bbd9a37e70acb420d24 >

Re: [PATCH STABLE] exewrapper: apply clang-format to silence test-check-clang-format.t

2018-10-23 Thread Augie Fackler
queued for stable, thanks > On Oct 23, 2018, at 08:28, Yuya Nishihara wrote: > > # HG changeset patch > # User Yuya Nishihara > # Date 1540295181 -32400 > # Tue Oct 23 20:46:21 2018 +0900 > # Branch stable > # Node ID 36ba91e069486f8283199f92d6d3d19b8580e85c > # Parent

D5183: narrow: rework logic to check whether we need to widen and narrow

2018-10-23 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a reviewer: durin42. Herald added a reviewer: martinvonz. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This patch reworks logic which calculates whether we need to extend or narrow our working

D5182: tests: show that adding an already included path still calls narrow_widen()

2018-10-23 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a reviewer: durin42. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This patch adds tests demonstrating that we still go to the server in non-ellipses widening when we have that path already on the

[PATCH 3 of 3] branchmap: do not specify changelog as an argument

2018-10-23 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1540296673 -32400 # Tue Oct 23 21:11:13 2018 +0900 # Node ID 9dbe2753c9eabb95eda4cb8be726dd5e29f4cc7a # Parent 759c7efd7c9132ce6dac5bbd9a37e70acb420d24 branchmap: do not specify changelog as an argument Since (unfiltered)repo.changelog

[PATCH 2 of 3] filecache: unimplement __set__() and __delete__() (API)

2018-10-23 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1540025760 -32400 # Sat Oct 20 17:56:00 2018 +0900 # Node ID 759c7efd7c9132ce6dac5bbd9a37e70acb420d24 # Parent 6a3a42dfcdd0ccb628ae3b8f3129b26db32a7ff0 filecache: unimplement __set__() and __delete__() (API) Implementing __set__() implies

[PATCH 1 of 3] filecache: use try-except for faster __dict__ lookup

2018-10-23 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1540030385 -32400 # Sat Oct 20 19:13:05 2018 +0900 # Node ID 6a3a42dfcdd0ccb628ae3b8f3129b26db32a7ff0 # Parent dce0e0f78f0f10578a17b586fe061e1985dd5c5f filecache: use try-except for faster __dict__ lookup Python function call is slow, and

[PATCH STABLE] exewrapper: apply clang-format to silence test-check-clang-format.t

2018-10-23 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1540295181 -32400 # Tue Oct 23 20:46:21 2018 +0900 # Branch stable # Node ID 36ba91e069486f8283199f92d6d3d19b8580e85c # Parent 7b48c616431d49f6ccff4cbbd155a27c46a14ff0 exewrapper: apply clang-format to silence test-check-clang-format.t diff

mercurial@40407: new changeset

2018-10-23 Thread Mercurial Commits
New changeset in mercurial: https://www.mercurial-scm.org/repo/hg/rev/3d76a8e627a6 changeset: 40407:3d76a8e627a6 bookmark:@default tag: tip parent: 40403:bf249bb60087 user:Martin von Zweigbergk date:Tue Sep 05 15:21:21 2017 -0700 summary: archive: change

D5156: help: displaying extension commands by default

2018-10-23 Thread rdamazio (Rodrigo Damazio Bovendorp)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGdce0e0f78f0f: help: displaying extension commands by default (authored by rdamazio, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D5156?vs=12257=12319#toc REPOSITORY rHG

D5087: help: displaying documented aliases by default

2018-10-23 Thread rdamazio (Rodrigo Damazio Bovendorp)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG444861dc1e55: help: displaying documented aliases by default (authored by rdamazio, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D5087?vs=12256=12318#toc REPOSITORY rHG

D5077: help: allow hiding of help topics

2018-10-23 Thread rdamazio (Rodrigo Damazio Bovendorp)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG1ddd202c47d9: help: allow hiding of help topics (authored by rdamazio, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D5077?vs=12255=12317#toc REPOSITORY rHG Mercurial

D5076: help: allow commands to be hidden

2018-10-23 Thread rdamazio (Rodrigo Damazio Bovendorp)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGab09e797fbed: help: allow commands to be hidden (authored by rdamazio, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5076?vs=12254=12316

D5174: py3: make sure we pass sysstr in sqlite3.connect()

2018-10-23 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG3b782669561d: py3: make sure we pass sysstr in sqlite3.connect() (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5175: py3: add one more passing test to whitelist

2018-10-23 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGbad46c934c31: py3: add one more passing test to whitelist (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5175?vs=12287=12315

D5087: help: displaying documented aliases by default

2018-10-23 Thread yuja (Yuya Nishihara)
yuja added a comment. Queued the series for 4.9, many thanks. > @@ -523,16 +538,20 @@ > > f = fs[0] > syns[f] = ', '.join(fs) > func = e[0] > > +alias = getattr(func, 'alias', False) Removed unused variable `alias`. > @@ -554,11 +557,14 @@ >

Re: D5087: help: displaying documented aliases by default

2018-10-23 Thread Yuya Nishihara
Queued the series for 4.9, many thanks. > @@ -523,16 +538,20 @@ > f = fs[0] > syns[f] = ', '.join(fs) > func = e[0] > +alias = getattr(func, 'alias', False) Removed unused variable `alias`. > @@ -554,11 +557,14 @@ > # drop prefix