D5178: archive: use manifest.matches() to simplify and speed up matching

2018-10-22 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG8c124d10ae02: archive: use manifest.matches() to simplify and speed up matching (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5177: archive: create alwaysmatcher when no matcher provided

2018-10-22 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG0e01abf9f783: archive: create alwaysmatcher when no matcher provided (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

Re: [PATCH evolve-ext] Fixed case where AttributeError can be thrown when importing wireproto

2018-10-22 Thread Andrew Fischer
No problem, marmoute informed me directly over IRC when they were added. Thanks for the follow up! On Fri, Oct 19, 2018 at 11:06 AM Boris FELD wrote: > I was checking the in-flight patches and saw that we never acknowledge > the reception of those patches. > > Thank you, they have been merged

[Bug 6007] New: ui.tweakdefaults=false doesn't quite work

2018-10-22 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6007 Bug ID: 6007 Summary: ui.tweakdefaults=false doesn't quite work Product: Mercurial Version: 4.7 Hardware: PC OS: Linux Status: UNCONFIRMED Severity:

D5181: shortest: never emit 0-length prefix even if unique

2018-10-22 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY It turned out that the pure version of our code for finding the shortest unique nodeid prefix would return a 0-length string if that was unique (because

mercurial@40402: 16 new changesets

2018-10-22 Thread Mercurial Commits
16 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/f1a39128da95 changeset: 40387:f1a39128da95 user:Gregory Szorc date:Wed Oct 03 14:57:29 2018 -0700 summary: filelog: add a hasnode() method (API) https://www.mercurial-scm.org/repo/hg/rev/5cb72229f0e9

D5163: filelog: add a hasnode() method (API)

2018-10-22 Thread martinvonz (Martin von Zweigbergk)
martinvonz added inline comments. INLINE COMMENTS > filelog.py:41 > +def hasnode(self, node): > +if node in (nullid, nullrev): > +return False node can be nullrev? REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5163 To: indygreg,

mercurial@40386: 13 new changesets

2018-10-22 Thread Mercurial Commits
13 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/47c03042cd1d changeset: 40374:47c03042cd1d user:Gregory Szorc date:Fri Oct 19 16:16:17 2018 +0200 summary: branchmap: pass changelog into branchmap functions

D4820: logtoprocess: sends the canonical command name to the subprocess

2018-10-22 Thread lothiraldan (Boris Feld)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG106adc261492: logtoprocess: sends the canonical command name to the subprocess (authored by lothiraldan, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4820: logtoprocess: sends the canonical command name to the subprocess

2018-10-22 Thread lothiraldan (Boris Feld)
lothiraldan updated this revision to Diff 12307. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4820?vs=12298=12307 REVISION DETAIL https://phab.mercurial-scm.org/D4820 AFFECTED FILES mercurial/dispatch.py tests/test-logtoprocess.t CHANGE DETAILS

D5167: wireprotov2: support exposing linknode of file revisions

2018-10-22 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGabbd077965c0: wireprotov2: support exposing linknode of file revisions (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5180: logtoprocess: fix message formatting

2018-10-22 Thread lothiraldan (Boris Feld)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG6bd477ee7294: logtoprocess: fix message formatting (authored by lothiraldan, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5180?vs=12297=12306

D5166: localrepo: support marking repos as having shallow file storage

2018-10-22 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG7e3b6c4f01a2: localrepo: support marking repos as having shallow file storage (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5164: commands: support passing depth to hg.clone()

2018-10-22 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG5cb72229f0e9: commands: support passing depth to hg.clone() (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5168: sqlitestore: support for storing revisions without their parents

2018-10-22 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG595641bd8404: sqlitestore: support for storing revisions without their parents (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5165: repository: teach addgroup() to receive data with missing parents

2018-10-22 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG1b183edbb68e: repository: teach addgroup() to receive data with missing parents (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5163: filelog: add a hasnode() method (API)

2018-10-22 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGf1a39128da95: filelog: add a hasnode() method (API) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5163?vs=12269=12299

D4820: logtoprocess: sends the canonical command name to the subprocess

2018-10-22 Thread lothiraldan (Boris Feld)
lothiraldan added a comment. In https://phab.mercurial-scm.org/D4820#77397, @yuja wrote: > > +# extract the canonical command from the passed opts. > > +# we need to pop it up from the opts else the msg will try > > +#

D4820: logtoprocess: sends the canonical command name to the subprocess

2018-10-22 Thread lothiraldan (Boris Feld)
lothiraldan updated this revision to Diff 12298. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4820?vs=12296=12298 REVISION DETAIL https://phab.mercurial-scm.org/D4820 AFFECTED FILES mercurial/dispatch.py tests/test-logtoprocess.t CHANGE DETAILS

D5180: logtoprocess: fix message formatting

2018-10-22 Thread lothiraldan (Boris Feld)
lothiraldan created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The logtoprocess used to try formatting the message using keyword options instead of always using the rest of the arguments. Update it to match blackbox

D5179: command: reintroduce support for commands starting with ^ (issue6005)

2018-10-22 Thread lothiraldan (Boris Feld)
lothiraldan abandoned this revision. lothiraldan added a comment. In https://phab.mercurial-scm.org/D5179#77396, @yuja wrote: > > Do we have performance concerns around the deprecation, how often is called `loadcmdtable`? My gut feeling is telling me it shouldn't matter but I would

D4820: logtoprocess: sends the canonical command name to the subprocess

2018-10-22 Thread yuja (Yuya Nishihara)
yuja added a comment. > +# extract the canonical command from the passed opts. > +# we need to pop it up from the opts else the msg will try > +# being formatted using the passed opts. Oops, that's probably a bug. IIUC,

D5179: command: reintroduce support for commands starting with ^ (issue6005)

2018-10-22 Thread yuja (Yuya Nishihara)
yuja added a comment. > Do we have performance concerns around the deprecation, how often is called `loadcmdtable`? My gut feeling is telling me it shouldn't matter but I would prefer to be sure. I don't think my change would cause measurable slowdown. It's called once per

Re: D5179: command: reintroduce support for commands starting with ^ (issue6005)

2018-10-22 Thread Yuya Nishihara
> Do we have performance concerns around the deprecation, how often is called > `loadcmdtable`? My gut feeling is telling me it shouldn't matter but I would > prefer to be sure. I don't think my change would cause measurable slowdown. It's called once per extension.

Re: [PATCH 16 of 19] snapshot: refine candidate snapshot base upward

2018-10-22 Thread Yuya Nishihara
On Thu, 13 Sep 2018 22:24:30 +0900, Yuya Nishihara wrote: > On Sat, 08 Sep 2018 12:57:10 +0200, Boris Feld wrote: > > # HG changeset patch > > # User Boris Feld > > # Date 1536333456 14400 > > # Fri Sep 07 11:17:36 2018 -0400 > > # Node ID 2ad2e932a5e2bb5bbf2bac7b7d3870ba969c07d6 > > #

D5179: command: reintroduce support for commands starting with ^ (issue6005)

2018-10-22 Thread lothiraldan (Boris Feld)
lothiraldan added a comment. In https://phab.mercurial-scm.org/D5179#77391, @yuja wrote: > FYI, I've posted a similar fix a few days ago. > > https://www.mercurial-scm.org/pipermail/mercurial-devel/2018-October/124142.html Oups, so sorry I missed it in my mailbox. Do we

[Bug 6006] New: pulling from evolve repo created corrupted revlog (generaldelta disabled)

2018-10-22 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6006 Bug ID: 6006 Summary: pulling from evolve repo created corrupted revlog (generaldelta disabled) Product: Mercurial Version: default branch Hardware: PC OS:

D4820: logtoprocess: sends the canonical command name to the subprocess

2018-10-22 Thread lothiraldan (Boris Feld)
lothiraldan updated this revision to Diff 12296. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4820?vs=12161=12296 REVISION DETAIL https://phab.mercurial-scm.org/D4820 AFFECTED FILES hgext/logtoprocess.py mercurial/dispatch.py

D5179: command: reintroduce support for commands starting with ^ (issue6005)

2018-10-22 Thread yuja (Yuya Nishihara)
yuja added a comment. FYI, I've posted a similar fix a few days ago. https://www.mercurial-scm.org/pipermail/mercurial-devel/2018-October/124142.html REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5179 To: lothiraldan, #hg-reviewers Cc: yuja,

Re: D5179: command: reintroduce support for commands starting with ^ (issue6005)

2018-10-22 Thread Yuya Nishihara
FYI, I've posted a similar fix a few days ago. https://www.mercurial-scm.org/pipermail/mercurial-devel/2018-October/124142.html ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org

D5179: command: reintroduce support for commands starting with ^ (issue6005)

2018-10-22 Thread lothiraldan (Boris Feld)
lothiraldan created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Changeset https://phab.mercurial-scm.org/rHGfa88170c10bbc9000b32318a3b5e44385e516cde added a new flag for declaring commands that should be on the