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

2017-12-04 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 4112. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1581?vs=4090=4112 REVISION DETAIL https://phab.mercurial-scm.org/D1581 AFFECTED FILES .hgignore contrib/STANDALONE-MERCURIAL.rst

Re: [PATCH 6 of 6] spartan: render changesets server-side on /graph page

2017-12-04 Thread Gregory Szorc
On Mon, Dec 4, 2017 at 1:28 PM, Augie Fackler wrote: > On Mon, Dec 04, 2017 at 08:40:43PM +0800, Anton Shestakov wrote: > > # HG changeset patch > > # User Anton Shestakov > > # Date 1512385721 -28800 > > # Mon Dec 04 19:08:41 2017 +0800 > > # Node ID

D1568: lfs: using workers in lfs prefetch

2017-12-04 Thread mharbison72 (Matt Harbison)
mharbison72 requested changes to this revision. mharbison72 added a comment. This revision now requires changes to proceed. Windows doesn't like this for some reason. + Traceback (most recent call last): +File "c:/Users/Matt/projects/hg/hg", line 41, in +

D939: remotenames: add functionality to store remotenames under .hg/hgremotenames/

2017-12-04 Thread durin42 (Augie Fackler)
durin42 added a comment. In https://phab.mercurial-scm.org/D939#26379, @dlax wrote: > pulkit (Pulkit Goyal) a écrit : > > > Updated the series with new differentials https://phab.mercurial-scm.org/D1547 > > https://phab.mercurial-scm.org/D1547 to

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

2017-12-04 Thread quark (Jun Wu)
quark added inline comments. INLINE COMMENTS > main.rs:19-31 > +extern "C" { > +pub fn Py_SetPythonHome(arg1: *mut c_char); > +pub fn Py_SetProgramName(arg1: *const c_char); > +pub fn Py_Initialize(); > +pub fn Py_Finalize(); > +pub fn PyEval_InitThreads(); > +// This

Re: [PATCH 5 of 5] fancyopts: fix handling of "--" value in earlygetopt()

2017-12-04 Thread Augie Fackler
On Sat, Dec 02, 2017 at 04:00:43PM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1511598650 -32400 > # Sat Nov 25 17:30:50 2017 +0900 > # Node ID a0242100667f22448b33009299c468ce3431297b > # Parent

Re: [PATCH] [v2] outgoing: respect ":pushurl" paths (issue5365)

2017-12-04 Thread Augie Fackler
> On Nov 30, 2017, at 16:17, Hollis Blanchard > wrote: > > On 11/10/2017 03:11 PM, Augie Fackler wrote: >> >>> On Nov 10, 2017, at 18:06, Augie Fackler >> > wrote: >>> >>> On Nov 10, 2017, at 12:21, Hollis

[PATCH evolve-ext] typos: fix typos in several locations

2017-12-04 Thread Kyle Lippincott via Mercurial-devel
# HG changeset patch # User Kyle Lippincott # Date 1512426447 28800 # Mon Dec 04 14:27:27 2017 -0800 # Node ID c7efdd5d0edec14d00538cf2487a005cc7c3cbb3 # Parent adbae782aac7387d35781816cb015c8d6b845329 typos: fix typos in several locations A user at Google attempted to

Re: [PATCH] tests: try and scrub away IP addresses with $LOCALIP

2017-12-04 Thread Augie Fackler
> On Dec 1, 2017, at 08:37, Yuya Nishihara wrote: > > On Fri, 1 Dec 2017 22:28:29 +0900, Yuya Nishihara wrote: >> On Thu, 30 Nov 2017 16:29:40 -0500, Augie Fackler wrote: >>> # HG changeset patch >>> # User Augie Fackler >>> # Date 1511993262 18000 >>> #

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

2017-12-04 Thread durin42 (Augie Fackler)
durin42 added inline comments. INLINE COMMENTS > main.rs:130 > + > +fn main() { > +let env = get_environment(); You might be able to usefully avoid all the unwrap() in here by having an extra layer, eg fn run() -> Result<(), failure::Error> { ... let program_name =

Re: [PATCH 6 of 6] spartan: render changesets server-side on /graph page

2017-12-04 Thread Augie Fackler
On Mon, Dec 04, 2017 at 08:40:43PM +0800, Anton Shestakov wrote: > # HG changeset patch > # User Anton Shestakov > # Date 1512385721 -28800 > # Mon Dec 04 19:08:41 2017 +0800 > # Node ID aa14b97727c79991683a2ffd45986d18e3657576 > # Parent

Re: [PATCH 3 of 3] lfs: enable the extension locally after converting to an 'lfs' repo

2017-12-04 Thread Augie Fackler
On Thu, Nov 30, 2017 at 11:07:16PM -0500, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 151174 18000 > # Sun Nov 26 21:14:48 2017 -0500 > # Node ID 0eceec4b6383ab2cf78e9ccbf17421d7b5bce75c > # Parent

Re: [PATCH 2 of 2] log: translate column labels at once (issue5750)

2017-12-04 Thread Augie Fackler
On Sat, Dec 02, 2017 at 05:38:31PM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1512199789 -32400 > # Sat Dec 02 16:29:49 2017 +0900 > # Node ID 292d9979879fb7f613578b84ea36fc5af2eb9997 > # Parent

D1584: python3: whitelist many more passing tests

2017-12-04 Thread pulkit (Pulkit Goyal)
pulkit accepted this revision. pulkit added a comment. yayay REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1584 To: durin42, pulkit, #hg-reviewers Cc: mercurial-devel

D1584: python3: whitelist many more passing tests

2017-12-04 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. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1584 AFFECTED FILES contrib/python3-whitelist CHANGE DETAILS diff

mercurial@35209: 23 new changesets (1 on stable)

2017-12-04 Thread Mercurial Commits
23 new changesets (1 on stable) in mercurial: https://www.mercurial-scm.org/repo/hg/rev/b4b0aed7bfaf changeset: 35187:b4b0aed7bfaf user:Gregory Szorc date:Mon Nov 20 20:41:43 2017 -0800 summary: run-tests: convert to argparse

[Bug 5753] New: Support for inline clone bundles when cloning via ssh

2017-12-04 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5753 Bug ID: 5753 Summary: Support for inline clone bundles when cloning via ssh Product: Mercurial Version: unspecified Hardware: PC OS: Linux Status: UNCONFIRMED

Re: [PATCH] hgweb: display fate of obsolete changesets

2017-12-04 Thread Anton Shestakov
On Sun, 03 Dec 2017 18:49:55 +0100 Boris Feld wrote: > Catching back on my emails. > > I thought obsfateprinter was not dependent on the template system but I > was wrong. It doesn't seems too hard to make obsfate printer > independent of the templating system. It's not

Re: [PATCH] hgweb: display fate of obsolete changesets

2017-12-04 Thread Yuya Nishihara
On Sun, 03 Dec 2017 18:49:55 +0100, Boris Feld wrote: > I thought obsfateprinter was not dependent on the template system but I > was wrong. It doesn't seems too hard to make obsfate printer > independent of the templating system. > > Just checking that we are all on the same page, should we

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

2017-12-04 Thread Yuya Nishihara
On Sun, 03 Dec 2017 12:55:36 -0500, Matt Harbison wrote: > On Sun, 03 Dec 2017 05:22:51 -0500, Yuya Nishihara wrote: > > On Sun, 26 Nov 2017 19:26:24 +0900, Yuya Nishihara wrote: > >> Git subrepositories only support exact file matches. Subversion > >> subrepositories are

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

2017-12-04 Thread Yuya Nishihara
On Sun, 03 Dec 2017 22:17:21 -0500, Matt Harbison wrote: > On Mon, 27 Nov 2017 07:35:04 -0500, Yuya Nishihara wrote: > > > On Sun, 26 Nov 2017 20:11:25 -0500, Matt Harbison wrote: > >> On Sun, 26 Nov 2017 05:38:53 -0500, Yuya Nishihara > >> wrote: > >> > On Sat,

D1074: branch: add a --rev flag to change branch name of given revisions

2017-12-04 Thread pulkit (Pulkit Goyal)
pulkit added a comment. This was send before the code freeze of last major release but since it was late in the release, it was not taken. Let's iterate on it now. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1074 To: pulkit, #hg-reviewers, dlax, ryanmce Cc:

D1286: repoview: consider visibility exceptions in filterrevs()

2017-12-04 Thread pulkit (Pulkit Goyal)
pulkit abandoned this revision. pulkit added a comment. For record, we just cannot do `- repo.getvisibilityexceptions()` for following reasons: 1. The repo object which we have here can be filtered by different filtername than the filtername for which we are querying filterrevs. 2. We

D1577: localrepo: fix cache repo._filteredrepotypes by adding filtername in key

2017-12-04 Thread pulkit (Pulkit Goyal)
pulkit added a comment. In https://phab.mercurial-scm.org/D1577#26833, @yuja wrote: > Is there any practical problem other than the wrong class name? There was some problem at the time when I send the patch but that got solved. So no problem apart from that. > IIUC, the

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

2017-12-04 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 4097. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1143?vs=3205=4097 REVISION DETAIL https://phab.mercurial-scm.org/D1143 AFFECTED FILES mercurial/revset.py CHANGE DETAILS diff --git a/mercurial/revset.py

D1144: directaccess: add tests for read only-commands

2017-12-04 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 4098. pulkit edited the summary of this revision. pulkit retitled this revision from "directaccess: add support to export and tests to demonstrate things" to "directaccess: add tests for read only-commands". REPOSITORY rHG Mercurial CHANGES SINCE LAST

D1287: repoview: add two new filternames to be used for accessing hidden commits

2017-12-04 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 4095. pulkit edited the summary of this revision. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1287?vs=4053=4095 REVISION DETAIL https://phab.mercurial-scm.org/D1287 AFFECTED FILES mercurial/branchmap.py

D1288: dispatch: filter the repository depending on func.cmdtype

2017-12-04 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 4096. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1288?vs=3208=4096 REVISION DETAIL https://phab.mercurial-scm.org/D1288 AFFECTED FILES mercurial/configitems.py mercurial/dispatch.py CHANGE DETAILS diff

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

2017-12-04 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 4092. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1285?vs=4051=4092 REVISION DETAIL https://phab.mercurial-scm.org/D1285 AFFECTED FILES mercurial/localrepo.py mercurial/repoview.py CHANGE DETAILS diff --git

D1583: repoview: consider visibilityexceptions while considering filterrevs

2017-12-04 Thread pulkit (Pulkit Goyal)
pulkit 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/D1583 AFFECTED FILES mercurial/repoview.py CHANGE DETAILS diff --git a/mercurial/repoview.py

D1492: repoview: take out the logic of computehidden to a new function

2017-12-04 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 4093. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1492?vs=3786=4093 REVISION DETAIL https://phab.mercurial-scm.org/D1492 AFFECTED FILES mercurial/repoview.py CHANGE DETAILS diff --git a/mercurial/repoview.py

Re: Proper way to register configs in hooks

2017-12-04 Thread Olivier Trempe
Thanks In this case, I will just add a new extension for registering all configs used in our in-process hooks. On Sun, Dec 3, 2017 at 2:04 AM, Yuya Nishihara wrote: > On Thu, 30 Nov 2017 11:00:30 -0500, Olivier Trempe wrote: > > First, I understand that the new

Re: [PATCH 1 of 3 V2] lock: use configint for 'ui.timeout' config

2017-12-04 Thread Yuya Nishihara
On Mon, 04 Dec 2017 11:28:42 +0100, Boris Feld wrote: > # HG changeset patch > # User Boris Feld > # Date 1512007202 18000 > # Wed Nov 29 21:00:02 2017 -0500 > # Node ID 144214ed28417180a25a0f6311de1f0ac0b02b8e > # Parent 8287df8b7be545fdafa22b771012ac65f6264d12 > #

Re: [PATCH FOLLOW UP] nodesummaries: improve format pattern used

2017-12-04 Thread Yuya Nishihara
On Mon, 04 Dec 2017 11:43:58 +0100, Boris Feld wrote: > # HG changeset patch > # User Boris Feld > # Date 1512376777 -3600 > # Mon Dec 04 09:39:37 2017 +0100 > # Node ID c442effb81084ab881b807033a671b6cb5396b40 > # Parent aef2b98d935292bc5abf1d91751f7675e3176ffa > #

[PATCH 4 of 6] gitweb: render changesets server-side on /graph page

2017-12-04 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1512380625 -28800 # Mon Dec 04 17:43:45 2017 +0800 # Node ID a7a3300dd1e3270f57689c653a37f4a679c27bdf # Parent 01869367acccffd4d80d49de578a322b6a370553 # EXP-Topic hgweb-more-info gitweb: render changesets server-side on

[PATCH 3 of 6] paper: render changesets server-side on /graph page

2017-12-04 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1512375675 -28800 # Mon Dec 04 16:21:15 2017 +0800 # Node ID 01869367acccffd4d80d49de578a322b6a370553 # Parent c75e3f9f9b321cb5f7e048302aee3163df46cbc3 # EXP-Topic hgweb-more-info paper: render changesets server-side on

[PATCH 6 of 6] spartan: render changesets server-side on /graph page

2017-12-04 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1512385721 -28800 # Mon Dec 04 19:08:41 2017 +0800 # Node ID aa14b97727c79991683a2ffd45986d18e3657576 # Parent c85a282fa36ff57c7491700c54a1af9c69ded03c # EXP-Topic hgweb-more-info spartan: render changesets server-side on

[PATCH 1 of 6] hgweb: adopt child nodes in ajaxScrollInit on /graph pages too

2017-12-04 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1512109040 -28800 # Fri Dec 01 14:17:20 2017 +0800 # Node ID c90d696319a8e9c451853109b851ab8389b450e9 # Parent 8feef8ef8389a3b544e0a74624f1efc3a8d85d35 # EXP-Topic hgweb-more-info hgweb: adopt child nodes in

[PATCH 5 of 6] monoblue: render changesets server-side on /graph page

2017-12-04 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1512383214 -28800 # Mon Dec 04 18:26:54 2017 +0800 # Node ID c85a282fa36ff57c7491700c54a1af9c69ded03c # Parent a7a3300dd1e3270f57689c653a37f4a679c27bdf # EXP-Topic hgweb-more-info monoblue: render changesets server-side

Re: [PATCH FOLLOW UP] nodesummaries: improve format pattern used

2017-12-04 Thread Pulkit Goyal
Thanks for the followup, looks good to me. On Mon, Dec 4, 2017 at 4:13 PM, Boris Feld wrote: > # HG changeset patch > # User Boris Feld > # Date 1512376777 -3600 > # Mon Dec 04 09:39:37 2017 +0100 > # Node ID

[PATCH 2 of 3 V2] lock: add a trylock method handling the timeout and messaging logic

2017-12-04 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1512005789 18000 # Wed Nov 29 20:36:29 2017 -0500 # Node ID 25564a60ab9e4446256a2bde0af18186f6094755 # Parent 144214ed28417180a25a0f6311de1f0ac0b02b8e # EXP-Topic lock-message # Available At

[PATCH 1 of 3 V2] lock: use configint for 'ui.timeout' config

2017-12-04 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1512007202 18000 # Wed Nov 29 21:00:02 2017 -0500 # Node ID 144214ed28417180a25a0f6311de1f0ac0b02b8e # Parent 8287df8b7be545fdafa22b771012ac65f6264d12 # EXP-Topic lock-message # Available At

[PATCH 3 of 3 V2] lock: allow to configure when the lock messages are displayed

2017-12-04 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1512005999 18000 # Wed Nov 29 20:39:59 2017 -0500 # Node ID b727ac51b2e57c1ae65eb8d33264609cf92c15ac # Parent 25564a60ab9e4446256a2bde0af18186f6094755 # EXP-Topic lock-message # Available At

Re: Oxidizing Mercurial (Using Rust)

2017-12-04 Thread David Demelier
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 > extensions in the hg-experimental repo. But we still don't have any Rust in > core.)