D1748: rebase: switch ui.log calls to common style

2017-12-22 Thread phillco (Phil Cohen)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGbf556bd2f589: rebase: switch ui.log calls to common style (authored by phillco, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1748?vs=4586&id=459

D1751: histedit: add ui.log for action count

2017-12-22 Thread phillco (Phil Cohen)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG784a85c87c22: histedit: add ui.log for action count (authored by phillco, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1751?vs=4590&id=4601 REV

D1750: run-tests: extract sorting of tests to own function

2017-12-22 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG212a6e9aecb0: run-tests: extract sorting of tests to own function (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1750?vs=45

D1749: run-tests: remove dead code related to temp directory

2017-12-22 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG4f5596e5e311: run-tests: remove dead code related to temp directory (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1749?vs=

Re: [PATCH 2 of 2 V2] hgweb: link to successors of obsoleted changesets

2017-12-22 Thread Yuya Nishihara
On Fri, 22 Dec 2017 22:40:16 +0800, Anton Shestakov wrote: > # HG changeset patch > # User Anton Shestakov > # Date 1513949146 -28800 > # Fri Dec 22 21:25:46 2017 +0800 > # Node ID c2befc8a84ac898e1b451b38ec6a6fe702966517 > # Parent d3211cd1ef5ed1f5a50d49af800155271ad3861e > # EXP-Topic hgwe

D1724: githelp: recommend `hg import` for `git am`

2017-12-22 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 4592. indygreg edited the summary of this revision. indygreg retitled this revision from "githelp: remove help for `git am`" to "githelp: recommend `hg import` for `git am`". REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.

D1725: githelp: remove reference to tweakdefaults

2017-12-22 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 4593. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1725?vs=4544&id=4593 REVISION DETAIL https://phab.mercurial-scm.org/D1725 AFFECTED FILES hgext/githelp.py CHANGE DETAILS diff --git a/hgext/githelp.py b/hgex

D1726: githelp: replace suggestion of `hg record`

2017-12-22 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 4594. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1726?vs=4545&id=4594 REVISION DETAIL https://phab.mercurial-scm.org/D1726 AFFECTED FILES hgext/githelp.py tests/test-githelp.t CHANGE DETAILS diff --git a/

D1729: githelp: don't reference 3rd party commands for `git show`

2017-12-22 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 4597. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1729?vs=4548&id=4597 REVISION DETAIL https://phab.mercurial-scm.org/D1729 AFFECTED FILES hgext/githelp.py tests/test-githelp.t CHANGE DETAILS diff --git a/

D1728: githelp: improve help for "reset"

2017-12-22 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 4596. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1728?vs=4547&id=4596 REVISION DETAIL https://phab.mercurial-scm.org/D1728 AFFECTED FILES hgext/githelp.py tests/test-githelp.t CHANGE DETAILS diff --git a/

D1727: githelp: clean up reflog help

2017-12-22 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 4595. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1727?vs=4546&id=4595 REVISION DETAIL https://phab.mercurial-scm.org/D1727 AFFECTED FILES hgext/githelp.py tests/test-githelp.t CHANGE DETAILS diff --git a/

Re: NTFS and hardlinks

2017-12-22 Thread Matt Harbison
On Fri, 22 Dec 2017 18:39:50 -0500, Adrian Buehlmann wrote: On 2017-12-22 23:39, Matt Harbison wrote: I forgot about this, but e506e461c7a9 disabled hardlinks unless the filesystem is in a whitelist. NTFS isn't in that list, and Windows doesn't implement osutil.getfstype(). I thought the i

D1750: run-tests: extract sorting of tests to own function

2017-12-22 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 4591. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1750?vs=4588&id=4591 REVISION DETAIL https://phab.mercurial-scm.org/D1750 AFFECTED FILES tests/run-tests.py CHANGE DETAILS diff --git a/tests/run-tests.py b/

NTFS and hardlinks

2017-12-22 Thread Matt Harbison
I forgot about this, but e506e461c7a9 disabled hardlinks unless the filesystem is in a whitelist. NTFS isn't in that list, and Windows doesn't implement osutil.getfstype(). I thought the issue was only CIFS (see issue4546). It looks like it's just a matter of calling GetVolumeNamePath(),

D1751: histedit: add ui.log for action count

2017-12-22 Thread phillco (Phil Cohen)
phillco updated this revision to Diff 4590. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1751?vs=4589&id=4590 REVISION DETAIL https://phab.mercurial-scm.org/D1751 AFFECTED FILES hgext/histedit.py CHANGE DETAILS diff --git a/hgext/histedit.py b/hge

D1751: histedit: add ui.log for action count

2017-12-22 Thread quark (Jun Wu)
quark accepted this revision. quark added inline comments. INLINE COMMENTS > histedit.py:1314 > +ui.log("histedit", "%d actions to histedit", len(actions), > +histedit_num_actions=len(actions)) > + Usually align with `(`: ui.log("histedit", "%d actions to histedit", len(actions),

D1751: histedit: add ui.log for action count

2017-12-22 Thread phillco (Phil Cohen)
phillco created this revision. Herald added a reviewer: durin42. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1751 AFFECTED FILES hgext/histedit.py CHANGE DETAILS diff --git a/h

D1750: run-tests: extract sorting of tests to own function

2017-12-22 Thread quark (Jun Wu)
quark added inline comments. INLINE COMMENTS > run-tests.py:2271 > > +def sorttests(tests, shuffle=False): > +"""Do an in-place sort of tests.""" I prefer the name `testdescs` since they are "test descriptions", not the real test objects. I think I renamed `tests` to `testdescs` intention

D1749: run-tests: remove dead code related to temp directory

2017-12-22 Thread indygreg (Gregory Szorc)
indygreg 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/D1749 AFFECTED FILES tests/run-tests.py CHANGE DETAILS diff --git a/tests/run-tests.py b/tests/run-te

D1750: run-tests: extract sorting of tests to own function

2017-12-22 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY TestRunner._run() is a large function and is difficult to follow. Let's extract the test sorting to its own function to make it shorter. When I refactored ru

D1748: rebase: switch ui.log calls to common style

2017-12-22 Thread phillco (Phil Cohen)
phillco created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The old style raised errors in some cases. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1748 AFFECTED FILES hgext/rebase.py CHA

Re: [PATCH 1 of 4] templater: rewrite docstring of templater.__init__()

2017-12-22 Thread Gregory Szorc
On Fri, Dec 22, 2017 at 6:08 AM, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1513944737 -32400 > # Fri Dec 22 21:12:17 2017 +0900 > # Node ID a311f085ddf3e7d64d741a0e6f98c8f461d22fb1 > # Parent bb6a80fc969a2c5da80cbb7f29de7ca576c4e251 > templater: rewrite

Re: [PATCH] test-ssh: stabilize for Windows

2017-12-22 Thread Augie Fackler
> On Dec 22, 2017, at 12:53 PM, Matt Harbison wrote: > > # HG changeset patch > # User Matt Harbison > # Date 1513468682 18000 > # Sat Dec 16 18:58:02 2017 -0500 > # Node ID f67a73a92906327b6c0a85e477e4fad48b3869b8 > # Parent 01b084914a60ec8d1e0f85c8bb4ee96fc38d8404 > test-ssh: stabilize

D1733: scmutil: add utility fn to return repo object with user passed revs unhidden

2017-12-22 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 4585. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1733?vs=4552&id=4585 REVISION DETAIL https://phab.mercurial-scm.org/D1733 AFFECTED FILES mercurial/configitems.py mercurial/scmutil.py CHANGE DETAILS diff --

D1734: repoview: add a new filtername for accessing hidden commits

2017-12-22 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 4584. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1734?vs=4553&id=4584 REVISION DETAIL https://phab.mercurial-scm.org/D1734 AFFECTED FILES mercurial/branchmap.py mercurial/repoview.py CHANGE DETAILS diff --g

D1732: revsetlang: add utility function to return hash like symbols from the tree

2017-12-22 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 4583. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1732?vs=4551&id=4583 REVISION DETAIL https://phab.mercurial-scm.org/D1732 AFFECTED FILES mercurial/revsetlang.py CHANGE DETAILS diff --git a/mercurial/revsetla

D1746: repoview: add visibilityexceptions as an optional argument to repo.filtered()

2017-12-22 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This will help us in having an API where we can pass the filtername and the visibilityexceptions to get a new repo object. Visibility exceptions are the revs w

D1747: repoview: add visibilityexception argument to filterrevs() and related fns

2017-12-22 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY After this patch, filterrevs() can take an optional argument visibilityexceptions which is a set of revs which should be exception to being hidden. The visibility

[PATCH] test-ssh: stabilize for Windows

2017-12-22 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1513468682 18000 # Sat Dec 16 18:58:02 2017 -0500 # Node ID f67a73a92906327b6c0a85e477e4fad48b3869b8 # Parent 01b084914a60ec8d1e0f85c8bb4ee96fc38d8404 test-ssh: stabilize for Windows Previously, this complained: remote: '.' is not recogn

D1745: rebase: don't take out a dirstate guard for in-memory rebase

2017-12-22 Thread phillco (Phil Cohen)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG01b084914a60: rebase: don't take out a dirstate guard for in-memory rebase (authored by phillco, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D17

D1745: rebase: don't take out a dirstate guard for in-memory rebase

2017-12-22 Thread krbullock (Kevin Bullock)
krbullock accepted this revision. krbullock added a comment. This revision is now accepted and ready to land. Sure, queued. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1745 To: phillco, #hg-reviewers, krbullock Cc: krbullock, mercurial-devel _

[PATCH] graphlog: add another graph node type, unstable, signified by character "*"

2017-12-22 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1513955824 -28800 # Fri Dec 22 23:17:04 2017 +0800 # Node ID 9a1654009818562a26e99c535df7de532780ce75 # Parent bb6a80fc969a2c5da80cbb7f29de7ca576c4e251 graphlog: add another graph node type, unstable, signified by character "*" diff --git a

mercurial@35466: 2 new changesets

2017-12-22 Thread Mercurial Commits
2 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/3bb1a647ab42 changeset: 35465:3bb1a647ab42 user:Kyle Lippincott date:Mon Dec 18 17:33:08 2017 -0800 summary: debug: remove an 'if ui.debug()' that is not doing anything https://www.mercurial-scm.org/re

Re: [PATCH 2 of 2 PoC] hgweb: link to successors of obsoleted changesets (PoC)

2017-12-22 Thread Anton Shestakov
On Wed, 20 Dec 2017 22:01:49 +0900 Yuya Nishihara wrote: > On Fri, 15 Dec 2017 22:41:48 +0800, Anton Shestakov wrote: > > # HG changeset patch > > # User Anton Shestakov > > # Date 1513346027 -28800 > > # Fri Dec 15 21:53:47 2017 +0800 > > # Node ID 4273260ac0d6e9bcb293607c7bdc16d0d246e6e9

[PATCH 2 of 2 V2] hgweb: link to successors of obsoleted changesets

2017-12-22 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1513949146 -28800 # Fri Dec 22 21:25:46 2017 +0800 # Node ID c2befc8a84ac898e1b451b38ec6a6fe702966517 # Parent d3211cd1ef5ed1f5a50d49af800155271ad3861e # EXP-Topic hgweb-more-info hgweb: link to successors of obsoleted changesets _siblings(

[PATCH 1 of 2 V2] hgweb: display fate of obsolete changesets

2017-12-22 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1511255021 -28800 # Tue Nov 21 17:03:41 2017 +0800 # Node ID d3211cd1ef5ed1f5a50d49af800155271ad3861e # Parent bb6a80fc969a2c5da80cbb7f29de7ca576c4e251 # EXP-Topic hgweb-more-info hgweb: display fate of obsolete changesets Operations that o

[PATCH 2 of 4] templater: drop unneeded resources from conflict-marker data

2017-12-22 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1513945369 -32400 # Fri Dec 22 21:22:49 2017 +0900 # Node ID a9a8f3642ca47198d44e65781cb328131137d69f # Parent a311f085ddf3e7d64d741a0e6f98c8f461d22fb1 templater: drop unneeded resources from conflict-marker data Follow-up for 32c278eb876f a

[PATCH 1 of 4] templater: rewrite docstring of templater.__init__()

2017-12-22 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1513944737 -32400 # Fri Dec 22 21:12:17 2017 +0900 # Node ID a311f085ddf3e7d64d741a0e6f98c8f461d22fb1 # Parent bb6a80fc969a2c5da80cbb7f29de7ca576c4e251 templater: rewrite docstring of templater.__init__() More importantly, this patch adds wh

[PATCH 3 of 4] templater: register keywords to defaults table

2017-12-22 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1513945169 -32400 # Fri Dec 22 21:19:29 2017 +0900 # Node ID d8f9134603553151fd0669d7235729f09188fc53 # Parent a9a8f3642ca47198d44e65781cb328131137d69f templater: register keywords to defaults table Since the keywords are permanent, there sh

[PATCH 4 of 4] hgweb: export all log template keywords (PoC)

2017-12-22 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1513947578 -32400 # Fri Dec 22 21:59:38 2017 +0900 # Node ID 440f155c6a6d3ef2c1c88520519b1dd9586b # Parent d8f9134603553151fd0669d7235729f09188fc53 hgweb: export all log template keywords (PoC) This is PoC showing how to reuse templatekw

Re: [PATCH 3 of 3] test-ssh: convert dumpenv to python for Windows

2017-12-22 Thread Yuya Nishihara
On Thu, 21 Dec 2017 16:49:07 -0500, Matt Harbison wrote: > > On Dec 17, 2017, at 2:42 PM, Matt Harbison wrote: > >> On Dec 17, 2017, at 2:07 PM, Gregory Szorc wrote: > >>> On Sun, Dec 17, 2017 at 10:44 AM, Matt Harbison > >>> wrote: > >>> > test that custom environment is passed down to ssh exe

Re: [PATCH 1 of 2] lfs: use ui.note() and ui.debug() instead of ui.write() and their flags

2017-12-22 Thread Yuya Nishihara
On Fri, 22 Dec 2017 02:55:52 -0500, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1513917106 18000 > # Thu Dec 21 23:31:46 2017 -0500 > # Node ID e3de939009d730b1e26ba37b59a0d2178adef6ef > # Parent bb6a80fc969a2c5da80cbb7f29de7ca576c4e251 > lfs: use ui.note() an

D1733: scmutil: add utility fn to return repo object with user passed revs unhidden

2017-12-22 Thread yuja (Yuya Nishihara)
yuja added inline comments. INLINE COMMENTS > pulkit wrote in scmutil.py:1345 > Sorry I don't get you. Check the filtername of the source repo for what? repo = repo.filtered('served') repo = unhidehashlikerevs(repo, ...) repo.filtername == 'visible-hidden' Does it make sense? REPOSITORY

D1733: scmutil: add utility fn to return repo object with user passed revs unhidden

2017-12-22 Thread pulkit (Pulkit Goyal)
pulkit added inline comments. INLINE COMMENTS > yuja wrote in scmutil.py:1345 > If `visible-` is required, we should probably check the filtername > of the source repo. Sorry I don't get you. Check the filtername of the source repo for what? REPOSITORY rHG Mercurial REVISION DETAIL https:/