D1581: [RFC] rust: Rust implementation of `hg` and standalone packaging

2017-12-06 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 4165. indygreg edited the summary of this revision. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1581?vs=4112=4165 REVISION DETAIL https://phab.mercurial-scm.org/D1581 AFFECTED FILES .hgignore

[PATCH 2 of 3] largefiles: refactor _usercachedir() to allow reuse with lfs

2017-12-06 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 151259 18000 # Tue Dec 05 23:08:59 2017 -0500 # Node ID e5797615fbb18b4e73a9d413694fc346c6f19378 # Parent a7be2d8c84f3c039d1be507328b04bfd89f2901f largefiles: refactor _usercachedir() to allow reuse with lfs

[PATCH 1 of 3] lfs-test: note a problem with unpushed lfs files and cloning/sharing

2017-12-06 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1510884315 18000 # Thu Nov 16 21:05:15 2017 -0500 # Node ID a7be2d8c84f3c039d1be507328b04bfd89f2901f # Parent 205c3c6c1a514d85b3a135e3515ce1a76206e8ac lfs-test: note a problem with unpushed lfs files and

[PATCH 3 of 3] lfs: introduce a user level cache for lfs files

2017-12-06 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1512618975 18000 # Wed Dec 06 22:56:15 2017 -0500 # Node ID e98038d819f55477b2c7941652c4dd7c12f437d2 # Parent e5797615fbb18b4e73a9d413694fc346c6f19378 lfs: introduce a user level cache for lfs files This is the same

D1612: fsmonitor: remove watchman transaction and working copy change notifications

2017-12-06 Thread ekent (Eamonn Kent)
ekent created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Remove working copy change and transaction notifications. We were relying upon callbacks on transaction function. This caused issues with lock ordering. A

D1611: fsmonitor: fsmonitor should send wlock notifications to watchman

2017-12-06 Thread ekent (Eamonn Kent)
ekent created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The fsmonitor extension should send state-enter and state-leave notifications to watchman when the wlock is acquired/release, respectively. This will allow

D1606: phases: drop the list with phase of each rev, always comput phase sets

2017-12-06 Thread quark (Jun Wu)
quark requested changes to this revision. quark added a comment. This revision now requires changes to proceed. I have been also wanting to remove this O(changelog) space usage for long. I noticed phasecache was the biggest memory consumer among all `repo.` components (dirstate, changelog,

D1607: remotenames: rename related file and storage dir to logexchange

2017-12-06 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 4162. pulkit edited the summary of this revision. pulkit retitled this revision from "remotenames: rename the file to logexchange" to "remotenames: rename related file and storage dir to logexchange". REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

Re: [PATCH 8 of 8] dagop: extend filectxancestors() to walk multiple files

2017-12-06 Thread Augie Fackler
On Thu, Dec 07, 2017 at 12:05:52AM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1474536238 -32400 > # Thu Sep 22 18:23:58 2016 +0900 > # Node ID 08c1712189f71ca0298c27c3d16f0f8785f83387 > # Parent

mercurial@35217: new changeset (1 on stable)

2017-12-06 Thread Mercurial Commits
New changeset (1 on stable) in mercurial: https://www.mercurial-scm.org/repo/hg/rev/aa905f9cdcda changeset: 35217:aa905f9cdcda branch: stable tag: tip parent: 35198:759234670d19 user:Augie Fackler date:Tue Dec 05 16:55:41 2017 -0500 summary:

Re: [PATCH 12 of 12 V3] pull: retrieve bookmarks through the binary part when possible

2017-12-06 Thread Augie Fackler
On Mon, Nov 20, 2017 at 05:52:03PM +0100, Boris Feld wrote: > # HG changeset patch > # User Boris Feld > # Date 1508246842 -7200 > # Tue Oct 17 15:27:22 2017 +0200 > # Node ID f45a4843b96f6e8c84da1c66617c233ba78a3743 > # Parent

D1610: ui: add diff.showfunc to tweakdefaults

2017-12-06 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This is a little risky, as I think we can have some encoding weirdness crop up. showfunc also isn't the most robust feature, but it's still often useful

D1609: ui: add curses interface to tweakdefaults

2017-12-06 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This was part of the original proposal, and while *I* don't like the curses interface, most users anecdotally seem to greatly prefer it to plain text

D1607: remotenames: rename the file to logexchange

2017-12-06 Thread durin42 (Augie Fackler)
durin42 added a comment. Can you also rename the file stored by logexchange so it doesn't conflict with the out-of-tree extension? Thanks! REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1607 To: pulkit, #hg-reviewers Cc: durin42, smf, mercurial-devel

D1605: tests: remove {a..h} bashism from remotenames

2017-12-06 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG1955ed655c35: tests: remove {a..h} bashism from remotenames (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D1605: tests: remove {a..h} bashism from remotenames

2017-12-06 Thread krbullock (Kevin Bullock)
krbullock accepted this revision. krbullock added a comment. This revision is now accepted and ready to land. LGTM. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1605 To: durin42, #hg-reviewers, pulkit, krbullock Cc: krbullock, pulkit, mercurial-devel

D1551: remotenames: consider existing data while storing newer data

2017-12-06 Thread durin42 (Augie Fackler)
durin42 added a comment. In https://phab.mercurial-scm.org/D1551#27325, @smf wrote: > durin42 (Augie Fackler) writes: > > > durin42 added a comment. > > > > I'm landing this series as-is, even though there are some good ideas for how we could

D1607: remotenames: rename the file to logexchange

2017-12-06 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Thanks to smf for the suggestion. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1607 AFFECTED FILES mercurial/exchange.py

D1551: remotenames: consider existing data while storing newer data

2017-12-06 Thread durin42 (Augie Fackler)
durin42 added a comment. In https://phab.mercurial-scm.org/D1551#27331, @grim wrote: > As an outsider looking in, I can see both points of view here. But as someone maintaining a large code base here I have to say I agree with Sean. The whole "we'll fix it later thing" is crap. It

D1551: remotenames: consider existing data while storing newer data

2017-12-06 Thread grim (Gary Kramlich)
grim added a comment. As an outsider looking in, I can see both points of view here. But as someone maintaining a large code base here I have to say I agree with Sean. The whole "we'll fix it later thing" is crap. It never happens as long as the code "works good enough". Case in point,

Re: D1551: remotenames: consider existing data while storing newer data

2017-12-06 Thread Sean Farley
durin42 (Augie Fackler) writes: > durin42 added a comment. > > > I'm landing this series as-is, even though there are some good ideas for > how we could improve the storage layer. My reasoning is this: we've had this > as a semi-popular extension for literally

mercurial@35216: 6 new changesets

2017-12-06 Thread Mercurial Commits
6 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/1df2f0e1dfd2 changeset: 35211:1df2f0e1dfd2 user:Yuya Nishihara date:Sat Dec 02 16:08:24 2017 +0900 summary: log: remove temporary variable 'date' used only once

D1591: visibility: improve the message when accessing filtered obsolete rev

2017-12-06 Thread lothiraldan (Boris Feld)
lothiraldan updated this revision to Diff 4156. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1591?vs=4116=4156 REVISION DETAIL https://phab.mercurial-scm.org/D1591 AFFECTED FILES mercurial/context.py mercurial/obsutil.py tests/test-log.t

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

2017-12-06 Thread Kevin Bullock
> On Dec 4, 2017, at 08:47, Yuya Nishihara wrote: > > On Sun, 03 Dec 2017 12:55:36 -0500, Matt Harbison wrote: > >> This is as good a place as any to ask- when do we follow through on the >> Subrepo Grand Plan? [1] It seems that the long term plan was to always >> recurse by

D1591: visibility: improve the message when accessing filtered obsolete rev

2017-12-06 Thread pulkit (Pulkit Goyal)
pulkit added a comment. In https://phab.mercurial-scm.org/D1591#27317, @lothiraldan wrote: > After thinking more about your proposition, I also think that would be a nice improvement. This way we won't pollute the line helping people to access it anyway. > > What I'm proposing: >

D1591: visibility: improve the message when accessing filtered obsolete rev

2017-12-06 Thread durin42 (Augie Fackler)
durin42 added a comment. In https://phab.mercurial-scm.org/D1591#27317, @lothiraldan wrote: > After thinking more about your proposition, I also think that would be a nice improvement. This way we won't pollute the line helping people to access it anyway. > > What I'm proposing: >

D1591: visibility: improve the message when accessing filtered obsolete rev

2017-12-06 Thread lothiraldan (Boris Feld)
lothiraldan added a comment. After thinking more about your proposition, I also think that would be a nice improvement. This way we won't pollute the line helping people to access it anyway. What I'm proposing: abort: hidden revision '13bedc178fce' is pruned! abort: hidden

[PATCH 7 of 8] dagop: put start fctx into visit dict of filectxancestors()

2017-12-06 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1474535936 -32400 # Thu Sep 22 18:18:56 2016 +0900 # Node ID 332685a30e1bc26b600c8d446820e87536c59c00 # Parent e1a0780894ccd68c5a6c09e7d61401bd0d37c73f dagop: put start fctx into visit dict of filectxancestors() Prepares for

[PATCH 8 of 8] dagop: extend filectxancestors() to walk multiple files

2017-12-06 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1474536238 -32400 # Thu Sep 22 18:23:58 2016 +0900 # Node ID 08c1712189f71ca0298c27c3d16f0f8785f83387 # Parent 332685a30e1bc26b600c8d446820e87536c59c00 dagop: extend filectxancestors() to walk multiple files diff --git

[PATCH 6 of 8] dagop: change visit dict of filectxancestors() indexed solely by rev

2017-12-06 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1474535497 -32400 # Thu Sep 22 18:11:37 2016 +0900 # Node ID e1a0780894ccd68c5a6c09e7d61401bd0d37c73f # Parent 1977b7f3214c612d62e099f6984fae086adcc69c dagop: change visit dict of filectxancestors() indexed solely by rev In

[PATCH 4 of 8] dagop: yield intro filectx by filectxancestors()

2017-12-06 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1474534126 -32400 # Thu Sep 22 17:48:46 2016 +0900 # Node ID 383d767942609ea0c7fe1a12abbdf0063d8f7f80 # Parent 79e2137e034bcd8d9707c2e09780f7d1901e4bf0 dagop: yield intro filectx by filectxancestors() This is the convention

[PATCH 5 of 8] dagop: use fctx.rev() consistently in filectxancestors()

2017-12-06 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1474534915 -32400 # Thu Sep 22 18:01:55 2016 +0900 # Node ID 1977b7f3214c612d62e099f6984fae086adcc69c # Parent 383d767942609ea0c7fe1a12abbdf0063d8f7f80 dagop: use fctx.rev() consistently in filectxancestors() We can't use

[PATCH 3 of 8] filectx: extract helper method to obtain filectx pointing to its introrev

2017-12-06 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1508660614 -32400 # Sun Oct 22 17:23:34 2017 +0900 # Node ID 79e2137e034bcd8d9707c2e09780f7d1901e4bf0 # Parent fe473251da338771d6fa4d0cbbf1e3d3f5843d0e filectx: extract helper method to obtain filectx pointing to its introrev

[PATCH 1 of 8] test-log: test that fctx.ancestors() can't index parents only by linkrev

2017-12-06 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1474527129 -32400 # Thu Sep 22 15:52:09 2016 +0900 # Node ID 1bccb52bee2a1c8fee2d208f28c25a9e063aaf61 # Parent cb0df5a3affba6e8f1789de337230cbeecda9c5a test-log: test that fctx.ancestors() can't index parents only by linkrev

[PATCH 2 of 8] dagop: copy basefilectx.ancestors() to free function

2017-12-06 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1474532213 -32400 # Thu Sep 22 17:16:53 2016 +0900 # Node ID fe473251da338771d6fa4d0cbbf1e3d3f5843d0e # Parent 1bccb52bee2a1c8fee2d208f28c25a9e063aaf61 dagop: copy basefilectx.ancestors() to free function The primary goal of

D1606: phases: drop the list with phase of each rev, always comput phase sets

2017-12-06 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Change the C implementation of phasecache.loadphaserevs to provide only the sets for draft and secret phase as well as the number of revisions seen.

D1605: tests: remove {a..h} bashism from remotenames

2017-12-06 Thread pulkit (Pulkit Goyal)
pulkit accepted this revision. pulkit added a comment. Sigh, thanks again for fixing this. I will make sure I stop using this pattern. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1605 To: durin42, #hg-reviewers, pulkit Cc: pulkit, mercurial-devel

D1599: tests: remove shell function helper from test-largefiles-misc

2017-12-06 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGaac13f8eef01: tests: remove shell function helper from test-largefiles-misc (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D1598: contrib: ban find(1)'s -printf operator, as it is a GNU-ism

2017-12-06 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG22956c17aa18: contrib: ban find(1)s -printf operator, as it is a GNU-ism (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D1605: tests: remove {a..h} bashism from remotenames

2017-12-06 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY I'm not bothering with a check-code test because this is a weird construct that I didn't even know existed before it was breaking the BSD build. REPOSITORY

D1143: revset: update visibility exceptions with hidden commits from the tree

2017-12-06 Thread yuja (Yuya Nishihara)
yuja requested changes to this revision. yuja added a comment. This revision now requires changes to proceed. Can't we apply `_updateexceptions()` out of the `revset.match*()`? It's horrible that a revset query does mutate the repo. # somewhere near scmutil.revrange() tree =

D1285: repoview: add a new attribute _visibilityexceptions and related API

2017-12-06 Thread yuja (Yuya Nishihara)
yuja requested changes to this revision. yuja added a comment. This revision now requires changes to proceed. > As _visibilityexceptions is defined as a class attribute, mutating it is likely to mutate it for all instances of repoview, Indeed. INLINE COMMENTS > localrepo.py:575 > +

Re: [PATCH 1 of 3] hgweb: remove unused Graph.cur property

2017-12-06 Thread Yuya Nishihara
On Wed, 06 Dec 2017 16:35:08 +0800, Anton Shestakov wrote: > # HG changeset patch > # User Anton Shestakov > # Date 1512532759 -28800 > # Wed Dec 06 11:59:19 2017 +0800 > # Node ID 20b6f1981b961369ce5004c5a48da3fe8b6b10ff > # Parent

[Bug 5754] New: Author name encoding issues in obsoletion marker "obsfate"

2017-12-06 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5754 Bug ID: 5754 Summary: Author name encoding issues in obsoletion marker "obsfate" Product: Mercurial Version: 4.4.2 Hardware: All OS: All Status:

D1285: repoview: add a new attribute _visibilityexceptions and related API

2017-12-06 Thread lothiraldan (Boris Feld)
lothiraldan added inline comments. INLINE COMMENTS > repoview.py:189 > +# hidden revs which should be visible > +_visibilityexceptions = set() > + As `_visibilityexceptions` is defined as a class attribute, mutating it is likely to mutate it for all instances of repoview, I'm not sure

D1591: visibility: improve the message when accessing filtered obsolete rev

2017-12-06 Thread lothiraldan (Boris Feld)
lothiraldan added inline comments. INLINE COMMENTS > durin42 wrote in test-log.t:1720 > would it be better to put the verb in the abort top-line, isntead of the > hint? that is: > > abort: hidden revision 'a' is pruned! > (use --hidden to access hidden revisions) > > or > > abort: hidden

[PATCH 2 of 3] hgweb: create Graph methods using a prototype

2017-12-06 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1512532867 -28800 # Wed Dec 06 12:01:07 2017 +0800 # Node ID 330a0bb55f4da059ca9039e3ac2a94e21a2a3525 # Parent 20b6f1981b961369ce5004c5a48da3fe8b6b10ff # EXP-Topic hgweb-cleanup hgweb: create Graph methods using a

[PATCH 1 of 3] hgweb: remove unused Graph.cur property

2017-12-06 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1512532759 -28800 # Wed Dec 06 11:59:19 2017 +0800 # Node ID 20b6f1981b961369ce5004c5a48da3fe8b6b10ff # Parent aa14b97727c79991683a2ffd45986d18e3657576 # EXP-Topic hgweb-cleanup hgweb: remove unused Graph.cur property It

[PATCH 3 of 3] hgweb: move common vertex code to Graph.prototype

2017-12-06 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1512533416 -28800 # Wed Dec 06 12:10:16 2017 +0800 # Node ID 79a30ed12f58880967716869bf8989ba505a6fb2 # Parent 330a0bb55f4da059ca9039e3ac2a94e21a2a3525 # EXP-Topic hgweb-cleanup hgweb: move common vertex code to

Re: [PATCH 2 of 2 evolve-ext V2] help: fix output for `hg help -e evolve` wrt 'touch' command

2017-12-06 Thread Denis Laxalde
Kyle Lippincott via Mercurial-devel a écrit : > # HG changeset patch > # User Kyle Lippincott > # Date 1512519068 28800 > # Tue Dec 05 16:11:08 2017 -0800 > # Node ID d584dfa21ea0bfa8a0fde0800978e8e682fa7544 > # Parent 21abe1e218b87428e4249e67990c345c63d521f6 > help:

Re: Oxidizing Mercurial (Using Rust)

2017-12-06 Thread Gregory Szorc
On Mon, Dec 4, 2017 at 1:35 AM, David Demelier wrote: > On Sun, Dec 03, 2017 at 11:31:54PM -0800, Gregory Szorc wrote: > > A number of people have expressed an interest in using Rust in Mercurial. > > (Facebook is already using Rust for the Mononoke Mercurial server and > >