D4312: New bookflow extension for bookmark-based branching

2018-10-17 Thread smf (Sean Farley)
smf added a comment. Thanks for submitting your patch, it’s clearly a work of passion and I appreciate that. I know feature branches is a much sought-after behavior. However, I must express my objection to this direction in bookmarks. (apologies in advance) I think the core issue at

[PATCH] py3: fix test-propertycache.py on Windows

2018-10-17 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1538099653 14400 # Thu Sep 27 21:54:13 2018 -0400 # Node ID 7b9cf4dddf95b5964d3a05f65b9609b751f4334a # Parent b08be5625c0094a2fdd6cc00bec2a4dcdcc9ea75 py3: fix test-propertycache.py on Windows diff --git a/tests/test-propertycache.py

[PATCH 3 of 3] py3: fix test-import-context.t

2018-10-17 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1539827689 14400 # Wed Oct 17 21:54:49 2018 -0400 # Node ID b08be5625c0094a2fdd6cc00bec2a4dcdcc9ea75 # Parent 0f8e789ea9450bd401cadd53cdf1cb81ec688cb2 py3: fix test-import-context.t diff --git a/tests/test-import-context.t

[PATCH 2 of 3] py3: restore perfstartup() prior to b456b2e0ad9f on Windows

2018-10-17 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1539655330 14400 # Mon Oct 15 22:02:10 2018 -0400 # Node ID 0f8e789ea9450bd401cadd53cdf1cb81ec688cb2 # Parent d09e43b6d57e02680191b71823afa69a2e80581b py3: restore perfstartup() prior to b456b2e0ad9f on Windows Otherwise the test errors out

[PATCH 1 of 3] help: document the server capabilities added by the LFS extension

2018-10-17 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1539824743 14400 # Wed Oct 17 21:05:43 2018 -0400 # Node ID 197a387c4ed9a510a5d92e68e7be7752b327cb99 # Parent d916ed3ca951a3bfd37bf29f54dc70f82787512a help: document the server capabilities added by the LFS extension I didn't bother marking

mercurial@40323: 10 new changesets

2018-10-17 Thread Mercurial Commits
10 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/73c2b9c9cd3c changeset: 40314:73c2b9c9cd3c user:Yuya Nishihara date:Tue Oct 16 07:00:41 2018 +0200 summary: py3: convert string literals to bytes in contrib/hgclient.py

D5130: lfs: autoload the extension when cloning from repo with lfs enabled

2018-10-17 Thread mharbison72 (Matt Harbison)
mharbison72 added a comment. One thing I forgot to mention in the commit comment is that `hg clone --rev REV`, where REV is some commit prior to committing any lfs blobs, will cause the requirement to be added to the clone. That didn't happen previously with the transaction hook. But

D5113: revisions: when using prefixhexnode, ensure we prefix "0"

2018-10-17 Thread spectral (Kyle Lippincott)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd916ed3ca951: revisions: when using prefixhexnode, ensure we prefix 0 (authored by spectral, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D5113?vs=12160=12230#toc REPOSITORY

D5113: revisions: when using prefixhexnode, ensure we prefix "0"

2018-10-17 Thread martinvonz (Martin von Zweigbergk)
martinvonz added inline comments. INLINE COMMENTS > test-template-functions.t:928-929 > + > + we need the 'x' prefix to ensure we aren't colliding with rev0. We *do* > + identify the collision if we aren't using disambiguatewithin, so we need to > set > + that as well. "We *do* identify the

D5113: revisions: when using prefixhexnode, ensure we prefix "0"

2018-10-17 Thread martinvonz (Martin von Zweigbergk)
martinvonz accepted this revision. martinvonz added a comment. This revision is now accepted and ready to land. I'll also note that this bug was there all along, but it got way more visible with with the disambiguatewithin stuff. It used to fail only when calculating the shortest prefix for

D5137: streamclone: new server config and some API changes for narrow stream clones

2018-10-17 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGaf62936c2508: streamclone: new server config and some API changes for narrow stream clones (authored by pulkit, committed by ). CHANGED PRIOR TO COMMIT

D4850: store: pass matcher to store.datafiles()

2018-10-17 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG2d45b549392f: store: pass matcher to store.datafiles() (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4850?vs=12210=12229

D4851: streamclone: pass narrowing related info in _walkstreamfiles()

2018-10-17 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGf0e8f27768eb: streamclone: pass narrowing related info in _walkstreamfiles() (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5137: streamclone: new server config and some API changes for narrow stream clones

2018-10-17 Thread martinvonz (Martin von Zweigbergk)
martinvonz added inline comments. INLINE COMMENTS > bundle2.py:1691-1692 > +# get the inlcudes and excludes > +includepats = kwargs[r'includepats'] > +excludepats = kwargs[r'excludepats'] > + I had to change these to `kwargs.get()` to get `test-http.t` and many others to pass. (I

D5137: streamclone: new server config and some API changes for narrow stream clones

2018-10-17 Thread martinvonz (Martin von Zweigbergk)
martinvonz added inline comments. INLINE COMMENTS > indygreg wrote in configitems.py:1014 > Perhaps we should mark this as experimental via an inline comment and forego > documenting the config option for now? Makes sense, but I don't know how to do that, so I'll just rename it to

D4810: repository: introduce an ellipses repo requirement

2018-10-17 Thread martinvonz (Martin von Zweigbergk)
martinvonz added a comment. I think this patch (and later patches that start using it, of course) would be a good idea. I suppose it won't make it into 4.8, but we don't have a freeze, so please send an updated version whenever you have time REPOSITORY rHG Mercurial REVISION DETAIL

D4931: narrow: only send the narrowspecs back if ACL in play

2018-10-17 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGcb516a854bc7: narrow: only send the narrowspecs back if ACL in play (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

Last call for 4.8 patches

2018-10-17 Thread Augie Fackler
Howdy folks, We're trying something new this cycle: not freezing the default branch after cutting the 4.8 RC. What that means is that sometime _tomorrow_ I'll merge default into stable and do a 4.8 release, but we'll keep taking patches on default after that (so those will eventually be in

D5142: zsh_completion: add -l/--list flag for hg bookmarks completion

2018-10-17 Thread av6 (Anton Shestakov)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd365e2b7aa2a: zsh_completion: add -l/--list flag for hg bookmarks completion (authored by av6, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5145: tests: fix "running x tests using y ... " output in a few more places

2018-10-17 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd5ff54152636: tests: fix running x tests using y ... output in a few more places (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5141: zsh_completion: fix a couple of flags still not being perfect

2018-10-17 Thread av6 (Anton Shestakov)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG01bdf7294274: zsh_completion: fix a couple of flags still not being perfect (authored by av6, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5140: zsh_completion: use $_hg_remote_opts after it is defined

2018-10-17 Thread av6 (Anton Shestakov)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG4c9418e3a7d3: zsh_completion: use $_hg_remote_opts after it is defined (authored by av6, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

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

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

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

2018-10-17 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY I don't tend to like curses interfaces, but this gets enough use at work that it seems like it's worth bringing into core. This is a minimal import from

D5145: tests: fix "running x tests using y ... " output in a few more places

2018-10-17 Thread lothiraldan (Boris Feld)
lothiraldan accepted this revision. lothiraldan added a comment. LGTM REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5145 To: martinvonz, #hg-reviewers, lothiraldan Cc: lothiraldan, mercurial-devel ___ Mercurial-devel

I2P anonymous protocol want to use Mercurial

2018-10-17 Thread za3ter
Hi There, im from I2P community and our developers were using monotone in order to develop I2P. Sadly the project died since 4 years ago , and we looking for alternatives. The coniditons to migrate to new development tool are these: - supports resume - key signed checkins - revocation of

D5145: tests: fix "running x tests using y ... " output in a few more places

2018-10-17 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY These seem to have been missed by https://phab.mercurial-scm.org/rHG1039404c5e1d12f7ee3b09eedde803f52f8b369a (run-tests: print number of tests and parallel

D5144: subrepo: access status members by name instead of by position

2018-10-17 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Taking my first Mercurial project closer to completion. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5144 AFFECTED FILES

D4895: narrow: when widening, don't include manifests the client already has

2018-10-17 Thread martinvonz (Martin von Zweigbergk)
martinvonz added a comment. In https://phab.mercurial-scm.org/D4895#76913, @martinvonz wrote: > In https://phab.mercurial-scm.org/D4895#76912, @pulkit wrote: > > > I have tested this and it works well with our internal repo too. Thanks! > > > > We already have some tests and none

D4895: narrow: when widening, don't include manifests the client already has

2018-10-17 Thread martinvonz (Martin von Zweigbergk)
martinvonz updated this revision to Diff 12217. martinvonz edited the summary of this revision. martinvonz retitled this revision from "narrow: don't include manifests the client already has" to "narrow: when widening, don't include manifests the client already has". REPOSITORY rHG Mercurial

D5143: tests: add test for widening from an empty clone

2018-10-17 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 Narrow clones that track no paths currently don't even include the root manifest (which is the only manifest when using flat

Rust extensions: the next step

2018-10-17 Thread Georges Racinet
Hi all, first, many thanks for the Stockholm sprint, it was my first interaction with the Mercurial community, and it's been very welcoming to me. I've been pursuing some experiments I started then to convert the Rust bindings I've done in the patch series about ancestry iteration (now landed)

D4895: narrow: don't include manifests the client already has

2018-10-17 Thread martinvonz (Martin von Zweigbergk)
martinvonz added a comment. In https://phab.mercurial-scm.org/D4895#76912, @pulkit wrote: > I have tested this and it works well with our internal repo too. Thanks! > > We already have some tests and none fails, do you want to add more tests or I can queue this? I should at

D4895: narrow: don't include manifests the client already has

2018-10-17 Thread pulkit (Pulkit Goyal)
pulkit added a comment. I have tested this and it works well with our internal repo too. Thanks! We already have some tests and none fails, do you want to add more tests or I can queue this? REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D4895 To:

[PATCH] phase: add an archived phases

2018-10-17 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1539780421 -7200 # Wed Oct 17 14:47:01 2018 +0200 # Node ID 12dd6c5ad6ba17fa4f98f4009bc0b53a7f7f5f8b # Parent 5644f7c8982e805e53f56fcbfe0322e9de58a934 # EXP-Topic archived-phase # Available At https://bitbucket.org/octobus/mercurial-devel/ #

D5142: zsh_completion: add -l/--list flag for hg bookmarks completion

2018-10-17 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Flags in parentheses are mutually exclusive. Logic is taken from commands.py: selactions = [k for k in ['delete', 'rename', 'list'] if opts.get(k)] if

D5141: zsh_completion: fix a couple of flags still not being perfect

2018-10-17 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5141 AFFECTED FILES contrib/zsh_completion CHANGE DETAILS diff --git a/contrib/zsh_completion

D5140: zsh_completion: use $_hg_remote_opts after it is defined

2018-10-17 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Before this patch, zsh wouldn't complete --ssh, --remotecmd or --insecure for hg clone. While at it, replace --uncompressed by --stream. REPOSITORY rHG

D5137: streamclone: new server config and some API changes for narrow stream clones

2018-10-17 Thread pulkit (Pulkit Goyal)
pulkit added a comment. In https://phab.mercurial-scm.org/D5137#76876, @indygreg wrote: > There are no children reviews of this one. Could you please set the parent-child relationships so the entire stack renders in the web UI? > > (I'm assuming there are commits that follow this one

D5137: streamclone: new server config and some API changes for narrow stream clones

2018-10-17 Thread indygreg (Gregory Szorc)
indygreg added a comment. There are no children reviews of this one. Could you please set the parent-child relationships so the entire stack renders in the web UI? (I'm assuming there are commits that follow this one - an unimplemented narrow stream clone feature doesn't seem very

D5137: streamclone: new server config and some API changes for narrow stream clones

2018-10-17 Thread pulkit (Pulkit Goyal)
pulkit added a comment. In https://phab.mercurial-scm.org/D5137#76870, @indygreg wrote: > I'll hold off formally accepting until the whole series is up. But this looks pretty good. > > We need to land this in 4.8 or less the client-side feature detection logic will require a new

D5137: streamclone: new server config and some API changes for narrow stream clones

2018-10-17 Thread indygreg (Gregory Szorc)
indygreg added a comment. I'll hold off formally accepting until the whole series is up. But this looks pretty good. We need to land this in 4.8 or less the client-side feature detection logic will require a new server capability (or a bump of the version of the capability string).

D5094: merge-tools: when calling external merge tool, describe the resolve inputs

2018-10-17 Thread spectral (Kyle Lippincott)
spectral planned changes to this revision. spectral added a comment. In https://phab.mercurial-scm.org/D5094#76457, @yuja wrote: > > +def _describemerge(ui, repo, env, toolpath, args): > > +template = ui.config('ui', 'pre-merge-tool-output-template') > > +if not template:

D5139: store: introduce _matchtrackedpath() and use it to filter store files

2018-10-17 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a reviewer: durin42. Herald added subscribers: mercurial-devel, mjpieters. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This patch introduces a function to filter store files on the basis of the path which they are tracking. The

D5138: narrow: only send includepats and excludepats if they are not empty

2018-10-17 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 If we send an empty includepats or excludepats argument to getbundle, it's translated to

D5137: streamclone: new server config and some API changes for narrow stream clones

2018-10-17 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 introduces a new server config `server.stream-narrow-clones` which if set to True will advertise that the server

D4850: store: pass matcher to store.datafiles()

2018-10-17 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 12210. pulkit retitled this revision from "store: pass matcher to store.datafiles() and filter files according to it" to "store: pass matcher to store.datafiles()". REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5119: exchange: pass includepats and excludepats as arguments to getbundle()

2018-10-17 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 12207. pulkit edited the summary of this revision. Herald added a reviewer: durin42. Herald added a reviewer: martinvonz. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5119?vs=12170=12207 REVISION DETAIL

D4851: streamclone: pass narrowing related info in _walkstreamfiles()

2018-10-17 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 12209. pulkit edited the summary of this revision. pulkit retitled this revision from "streamclone: pass narrowing related info in generatev2() and _walkstreamfiles()" to "streamclone: pass narrowing related info in _walkstreamfiles()". REPOSITORY rHG

[PATCH] commands: adjust metavariables as appropriate

2018-10-17 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1539781236 -28800 # Wed Oct 17 21:00:36 2018 +0800 # Node ID 02ad74c4abc1b66e63f118f1247ccc7c97acc786 # Parent ef0baff11aeaaa8424294982235a18c476728264 commands: adjust metavariables as appropriate Apart from looking better in hg help

D5134: wireprotov2: implement command for retrieving raw store files

2018-10-17 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGed55a0077490: wireprotov2: implement command for retrieving raw store files (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5136: exchange: support declaring pull depth

2018-10-17 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGac59de55c8b4: exchange: support declaring pull depth (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5136?vs=12198=12205

D5096: py3: fix test-hardlinks.t

2018-10-17 Thread mbthomas (Mark Thomas)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGe0dea186ab6e: py3: fix test-hardlinks.t (authored by mbthomas, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D5096?vs=12111=12206#toc REPOSITORY rHG Mercurial CHANGES

D5135: exchangev2: support for calling rawstorefiledata to retrieve raw files

2018-10-17 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG00a4cd368e3f: exchangev2: support for calling rawstorefiledata to retrieve raw files (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5133: wireprotov2: add response type that serializes to indefinite length bytestring

2018-10-17 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG2c55716f8a1c: wireprotov2: add response type that serializes to indefinite length bytestring (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5132: exchangev2: recognize narrow patterns when pulling

2018-10-17 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG55836a34f41b: exchangev2: recognize narrow patterns when pulling (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

[PATCH] profiling: move default mode to "real" time

2018-10-17 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1534549478 -7200 # Sat Aug 18 01:44:38 2018 +0200 # Node ID 63cac0b435c518d8007df572c94341328a2d1dde # Parent b95b48a55c36050852b46868f4e4f750a29d8754 # EXP-Topic profiling-mode # Available At https://bitbucket.org/octobus/mercurial-devel/ #

D5135: exchangev2: support for calling rawstorefiledata to retrieve raw files

2018-10-17 Thread durin42 (Augie Fackler)
durin42 added a comment. I have significant misgivings about exchanging raw disk contents. We should revisit this and see if we can do better in the future. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5135 To: indygreg, #hg-reviewers Cc: durin42,

Re: [PATCH 1 of 8] formatter: more details on assertion failure

2018-10-17 Thread Boris FELD
On 11/10/2018 10:23, Gregory Szorc wrote: > On Thu, Oct 11, 2018 at 10:05 AM Boris Feld > wrote: > > # HG changeset patch > # User Boris Feld > > # Date 1538408273 -7200 > #      Mon Oct 01 17:37:53 2018 +0200 >

Re: [PATCH 1 of 8] formatter: more details on assertion failure

2018-10-17 Thread Gregory Szorc
On Wed, Oct 17, 2018 at 3:22 PM Boris FELD wrote: > On 11/10/2018 10:23, Gregory Szorc wrote: > > On Thu, Oct 11, 2018 at 10:05 AM Boris Feld > wrote: > >> # HG changeset patch >> # User Boris Feld >> # Date 1538408273 -7200 >> # Mon Oct 01 17:37:53 2018 +0200 >> # Node ID

D5132: exchangev2: recognize narrow patterns when pulling

2018-10-17 Thread durin42 (Augie Fackler)
durin42 accepted this revision. durin42 added inline comments. This revision is now accepted and ready to land. INLINE COMMENTS > pullext.py:1 > +# pullext.py - Simple extension to test pulling > +# "test narrow pulling" maybe? I feel like that's mostly what it is... REPOSITORY rHG Mercurial

Re: [PATCH] color: issue warning in yellow

2018-10-17 Thread Boris FELD
On 21/08/2018 15:15, Yuya Nishihara wrote: > On Mon, 20 Aug 2018 11:14:23 -0700, Martin von Zweigbergk via Mercurial-devel > wrote: >> On Mon, Aug 20, 2018 at 9:26 AM Kyle Lippincott wrote: >> >>> Bright/bold yellow should be considered unavailable. "Normal" yellow, >>> which is closer to brown

D4928: sqlitestore: file storage backend using SQLite

2018-10-17 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGfed697fa1734: sqlitestore: file storage backend using SQLite (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5118: storageutil: extract most of peek_censored from revlog

2018-10-17 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGb0fbd1792e2d: storageutil: extract most of peek_censored from revlog (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5134: wireprotov2: implement command for retrieving raw store files

2018-10-17 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Implementing shallow clone of the changelog is hard. We want the 4.8 release to have a fast implementation of partial clone in wireprotov2. In order to achieve

D5136: exchange: support declaring pull depth

2018-10-17 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Upcoming commits will teach exchangev2 how to perform a shallow clone. This commit teaches hg.clone(), exchange.pull(), and exchange.pulloperation to recognize

D5135: exchangev2: support for calling rawstorefiledata to retrieve raw files

2018-10-17 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This is somewhat hacky. For that I apologize. At the 4.8 Sprint, we decided we wanted to land support in wireprotov2 for doing a partial clone with

D5133: wireprotov2: add response type that serializes to indefinite length bytestring

2018-10-17 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This will be needed in a future patch. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5133 AFFECTED FILES

D5132: exchangev2: recognize narrow patterns when pulling

2018-10-17 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY pulloperation instances were recently taught to record file include and exclude patterns to facilitate narrow file transfer. Teaching the exchangev2 code to

D5131: remotefilelog: add some docstring

2018-10-17 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5131 AFFECTED FILES hgext/remotefilelog/__init__.py CHANGE DETAILS diff --git

[Bug 6005] New: command declaration broken for extensions

2018-10-17 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6005 Bug ID: 6005 Summary: command declaration broken for extensions Product: Mercurial Version: default branch Hardware: PC OS: Linux Status: UNCONFIRMED

[Bug 6004] New: title: statprof skips many lines when displaying hotpath

2018-10-17 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6004 Bug ID: 6004 Summary: title: statprof skips many lines when displaying hotpath Product: Mercurial Version: default branch Hardware: PC OS: Linux

[Bug 6003] New: statprof.py no longer gather results

2018-10-17 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6003 Bug ID: 6003 Summary: statprof.py no longer gather results Product: Mercurial Version: default branch Hardware: PC OS: Linux Status: UNCONFIRMED Severity:

D5130: lfs: autoload the extension when cloning from repo with lfs enabled

2018-10-17 Thread indygreg (Gregory Szorc)
indygreg added a comment. > ! In https://phab.mercurial-scm.org/D5130#76736, @mharbison72 wrote: > Will do. How hard do you think it will be to do the same thing for pull? I don't think it should be too difficult to implement. But I have possibly controversial opinions about the UI.

D5130: lfs: autoload the extension when cloning from repo with lfs enabled

2018-10-17 Thread mharbison72 (Matt Harbison)
mharbison72 added a comment. In https://phab.mercurial-scm.org/D5130#76727, @indygreg wrote: > As a follow-up, it would be nice to have the LFS wire protocol capabilities documented in `mercurial/help/internals/wireprotocol.txt`, especially since it isn't obvious how the now 2

D4931: narrow: only send the narrowspecs back if ACL in play

2018-10-17 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 12192. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4931?vs=11774=12192 REVISION DETAIL https://phab.mercurial-scm.org/D4931 AFFECTED FILES mercurial/exchange.py tests/test-narrow-rebase.t

D4928: sqlitestore: file storage backend using SQLite

2018-10-17 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 12191. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4928?vs=12167=12191 REVISION DETAIL https://phab.mercurial-scm.org/D4928 AFFECTED FILES hgext/sqlitestore.py tests/hghave.py tests/test-sqlitestore.t

D4767: exchangev2: recognize narrow patterns when pulling

2018-10-17 Thread indygreg (Gregory Szorc)
indygreg abandoned this revision. indygreg added a comment. I'll resubmit this as part of another series. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D4767 To: indygreg, #hg-reviewers Cc: mjpieters, mercurial-devel

D4766: fastcheckout: arguments to make checkout narrow

2018-10-17 Thread indygreg (Gregory Szorc)
indygreg abandoned this revision. indygreg added a comment. Per discussions at 4.8 sprint, we're going to hold off on this. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D4766 To: indygreg, #hg-reviewers Cc: mjpieters, mercurial-devel

D4765: fastcheckout: extension for obtaining a checkout quickly

2018-10-17 Thread indygreg (Gregory Szorc)
indygreg abandoned this revision. indygreg added a comment. Per discussions at 4.8 sprint, we're going to hold off on this. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D4765 To: indygreg, #hg-reviewers Cc: mjpieters, mercurial-devel

D5130: lfs: autoload the extension when cloning from repo with lfs enabled

2018-10-17 Thread indygreg (Gregory Szorc)
indygreg added a comment. Thank you for finishing what I started and implementing this properly (by adding a separate server-side capability to distinguish between LFS states). As a follow-up, it would be nice to have the LFS wire protocol capabilities documented in

D5130: lfs: autoload the extension when cloning from repo with lfs enabled

2018-10-17 Thread mharbison72 (Matt Harbison)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG6637b079ae45: lfs: autoload the extension when cloning from repo with lfs enabled (authored by mharbison72, committed by ). CHANGED PRIOR TO COMMIT

D4782: remotefilelog: import pruned-down remotefilelog extension from hg-experimental

2018-10-17 Thread indygreg (Gregory Szorc)
indygreg added a comment. I need to give the final state of the code a final one-over. I will do that after breakfast. One thing that is missing is a detailed docstring for the extension. That can be added as a follow-up. I think said docstring should discourage use of the extension

D5123: remotefilelogserver: remove pack-serving functionality

2018-10-17 Thread indygreg (Gregory Szorc)
indygreg accepted this revision. indygreg added a comment. This revision is now accepted and ready to land. The optics to removing this are a bit bad because efficient pack transfer can lead to significant performance gains. While I think the use of packs in Mercurial for exchange will occur

D5129: remotefilelog: rename wireproto methods and remaining capabilities

2018-10-17 Thread indygreg (Gregory Szorc)
indygreg accepted this revision. indygreg added a comment. This revision is now accepted and ready to land. Yuck. But the names don't matter much for an experimental feature. And the wireproto v1 peer batching code dictates certain things with regards to naming. So our hands are a bit tied

D5128: remotefilelog: consolidate and rename on-disk store requirement

2018-10-17 Thread indygreg (Gregory Szorc)
indygreg accepted this revision. indygreg added a comment. This revision is now accepted and ready to land. \o/ REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5128 To: durin42, #hg-reviewers, indygreg Cc: indygreg, mercurial-devel

D5127: remotefilelog: consolidate and rename bundle2 capability

2018-10-17 Thread indygreg (Gregory Szorc)
indygreg accepted this revision. indygreg added a comment. This revision is now accepted and ready to land. Nice catch on the overloaded capability name! Constants are better for expressing intent. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5127 To: