D5514: test: change test's diff generation to use mdiff for nicer output

2019-02-13 Thread sangeet259 (Sangeet Kumar Mishra)
sangeet259 added a comment. ping @durin42 REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5514 To: sangeet259, #hg-reviewers, durin42 Cc: pulkit, durin42, mercurial-devel ___ Mercurial-devel mailing list

D5959: templates: adding a config() function for template customization.

2019-02-13 Thread rdamazio (Rodrigo Damazio Bovendorp)
rdamazio created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This allows templates to be written such that users can customize them easily, or that they can be customized based on other configuration of the system. For

D5958: remotefilelog: remove strkwargs()

2019-02-13 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The previous commit activated previously unused code paths on Python 3 and revealed that we were calling strkwargs() on a dict that already had str keys. The

D5957: remotefilelog: use raw strings when looking for variable names

2019-02-13 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Keys in self.__dict__ and vars() are always str. So we need to use raw strings to ensure lookups work on Python 3. 1. skip-blame just r'' prefixes

[PATCH V2] fix: change the default fix pattern (issue6077)

2019-02-13 Thread Jordi Gutiérrez Hermoso
# HG changeset patch # User Jordi Gutiérrez Hermoso # Date 1550096863 18000 # Wed Feb 13 17:27:43 2019 -0500 # Node ID d8ba3b6466b220a5e04d07a5eccd3c1d45a2f501 # Parent 5d383d9636d0b81b416398913b32b8c715e98db5 fix: change the default fix pattern (issue6077) The matchutils functions don't

[PATCH] fix: change the default fix pattern (issue6077)

2019-02-13 Thread Jordi Gutiérrez Hermoso
# HG changeset patch # User Jordi Gutiérrez Hermoso # Date 1550096863 18000 # Wed Feb 13 17:27:43 2019 -0500 # Node ID c56534966c1641a50994a02c746e5b17cb00aa0e # Parent 5d383d9636d0b81b416398913b32b8c715e98db5 fix: change the default fix pattern (issue6077) The matchutils functions don't

[PATCH] chistedit: use magenta for current line as in crecord (issue6071)

2019-02-13 Thread Jordi Gutiérrez Hermoso
# HG changeset patch # User Jordi Gutiérrez Hermoso # Date 1550095104 18000 # Wed Feb 13 16:58:24 2019 -0500 # Node ID e31eb021571e1a6a63aab8090819184576236c58 # Parent 5d383d9636d0b81b416398913b32b8c715e98db5 chistedit: use magenta for current line as in crecord (issue6071) It was

[PATCH] histedit: remove "chistedit" mention from interface

2019-02-13 Thread Jordi Gutiérrez Hermoso
# HG changeset patch # User Jordi Gutiérrez Hermoso # Date 1550091764 18000 # Wed Feb 13 16:02:44 2019 -0500 # Node ID 94ccf890584ee3bae9e543fade578e0f05281347 # Parent 5d383d9636d0b81b416398913b32b8c715e98db5 histedit: remove "chistedit" mention from interface "chisted" is internal

D5956: scmutil: fix a comment that doesn't match the code

2019-02-13 Thread martinvonz (Martin von Zweigbergk)
martinvonz 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/D5956 AFFECTED FILES mercurial/scmutil.py CHANGE DETAILS diff --git a/mercurial/scmutil.py

D5941: tweakdefault: Add better documentation for ui.tweakdefault(issue6000)

2019-02-13 Thread akshjain.jain74 (Akshit Jain)
akshjain.jain74 updated this revision to Diff 14079. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5941?vs=14050=14079 REVISION DETAIL https://phab.mercurial-scm.org/D5941 AFFECTED FILES mercurial/help/config.txt CHANGE DETAILS diff --git

D5743: patch: handle 0 context lines (diff.unified=0) when parsing patches

2019-02-13 Thread akshjain.jain74 (Akshit Jain)
akshjain.jain74 updated this revision to Diff 14078. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5743?vs=13571=14078 REVISION DETAIL https://phab.mercurial-scm.org/D5743 AFFECTED FILES mercurial/patch.py tests/test-commit-interactive.t

D5936: addremove: respect ui.relative-paths

2019-02-13 Thread martinvonz (Martin von Zweigbergk)
martinvonz added a comment. In https://phab.mercurial-scm.org/D5936#86976, @martinvonz wrote: > Ironic given the subject line that I missed this hunk: > > diff --git a/mercurial/commands.py b/mercurial/commands.py > --- a/mercurial/commands.py > +++ b/mercurial/commands.py

D5936: addremove: respect ui.relative-paths

2019-02-13 Thread martinvonz (Martin von Zweigbergk)
martinvonz added a comment. Ironic given the subject line that I missed this hunk: diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -256,7 +256,7 @@ def addremove(ui, repo, *pats, **opts):

mercurial@41683: 2 new changesets

2019-02-13 Thread Mercurial Commits
2 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/1ab6f5df263e changeset: 41682:1ab6f5df263e user:Boris Feld date:Fri Feb 08 18:26:35 2019 +0100 summary: test: stabilize test-wireproto-exchangev2.t flaky output

D5590: watchman: ignore some of watchman errors

2019-02-13 Thread lothiraldan (Boris Feld)
lothiraldan abandoned this revision. lothiraldan added a comment. Resent as https://phab.mercurial-scm.org/D5955 REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5590 To: lothiraldan, #hg-reviewers, indygreg Cc: indygreg, mercurial-devel

D5589: watchman: add the possibility to set the exact watchman binary location

2019-02-13 Thread lothiraldan (Boris Feld)
lothiraldan abandoned this revision. lothiraldan added a comment. Resent as https://phab.mercurial-scm.org/D5954 REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5589 To: lothiraldan, #hg-reviewers Cc: indygreg, mjpieters, mercurial-devel

D5955: watchman: ignore some of watchman errors

2019-02-13 Thread lothiraldan (Boris Feld)
lothiraldan created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Don't display 'illegal_fstypes' errors. In environments with network filesystems, the error messages are quickly pilling up and polluting outputs. REPOSITORY

D5954: watchman: add the possibility to set the exact watchman binary location

2019-02-13 Thread lothiraldan (Boris Feld)
lothiraldan created this revision. Herald added subscribers: mercurial-devel, mjpieters. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This is necessary to make rolling releases of new watchman versions across users. REPOSITORY rHG Mercurial REVISION DETAIL

D5587: watchman: detect nested mercurial repositories and abort

2019-02-13 Thread lothiraldan (Boris Feld)
lothiraldan updated this revision to Diff 14075. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5587?vs=13645=14075 REVISION DETAIL https://phab.mercurial-scm.org/D5587 AFFECTED FILES hgext/fsmonitor/__init__.py CHANGE DETAILS diff --git

D5590: watchman: ignore some of watchman errors

2019-02-13 Thread lothiraldan (Boris Feld)
lothiraldan updated this revision to Diff 14074. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5590?vs=14071=14074 REVISION DETAIL https://phab.mercurial-scm.org/D5590 AFFECTED FILES hgext/fsmonitor/__init__.py CHANGE DETAILS diff --git

D5589: watchman: add the possibility to set the exact watchman binary location

2019-02-13 Thread lothiraldan (Boris Feld)
lothiraldan updated this revision to Diff 14073. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5589?vs=14070=14073 REVISION DETAIL https://phab.mercurial-scm.org/D5589 AFFECTED FILES hgext/fsmonitor/__init__.py

D5946: server: allow customizing the default repo filter

2019-02-13 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger updated this revision to Diff 14072. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5946?vs=14047=14072 REVISION DETAIL https://phab.mercurial-scm.org/D5946 AFFECTED FILES mercurial/configitems.py mercurial/help/config.txt

D5589: watchman: add the possibility to set the exact watchman binary location

2019-02-13 Thread lothiraldan (Boris Feld)
lothiraldan updated this revision to Diff 14070. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5589?vs=13414=14070 REVISION DETAIL https://phab.mercurial-scm.org/D5589 AFFECTED FILES hgext/fsmonitor/__init__.py

D5590: watchman: ignore some of watchman errors

2019-02-13 Thread lothiraldan (Boris Feld)
lothiraldan updated this revision to Diff 14071. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5590?vs=13415=14071 REVISION DETAIL https://phab.mercurial-scm.org/D5590 AFFECTED FILES hgext/fsmonitor/__init__.py CHANGE DETAILS diff --git

D5588: watchman: disable fsmonitor when running non-interactively

2019-02-13 Thread lothiraldan (Boris Feld)
lothiraldan updated this revision to Diff 14069. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5588?vs=13413=14069 REVISION DETAIL https://phab.mercurial-scm.org/D5588 AFFECTED FILES hgext/fsmonitor/__init__.py CHANGE DETAILS diff --git

[PATCH 2 of 2 RESENT] rewriting: add an option for rewrite commands to use the archived phase

2019-02-13 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1546394872 -3600 # Wed Jan 02 03:07:52 2019 +0100 # Node ID 9939d8e412e3e440f3b564fb96c187745d7a008c # Parent 61ec4a834e2c88056ff47c0d3a7ff3bcb0f0d912 # EXP-Topic archived-phase-UX # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 1 of 2 RESENT] strip: introduce a soft strip option

2019-02-13 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1539697680 -7200 # Tue Oct 16 15:48:00 2018 +0200 # Node ID 61ec4a834e2c88056ff47c0d3a7ff3bcb0f0d912 # Parent 61415361e90684a8c7a031413e9182f51937c2e7 # EXP-Topic archived-phase-UX # Available At https://bitbucket.org/octobus/mercurial-devel/ #

Re: [PATCH 3 of 4 V2] changelog: prefilter in headrevs()

2019-02-13 Thread Yuya Nishihara
On Wed, 13 Feb 2019 12:47:56 +0100, Georges Racinet wrote: > # HG changeset patch > # User Georges Racinet > # Date 1547815081 -3600 > # Fri Jan 18 13:38:01 2019 +0100 > # Node ID eae29e210636ee44851e0caa385097a090c60af8 > # Parent 956c5b54b4ce3e8decf5243a7f73c6f9a06f1229 > # EXP-Topic

D5953: revset: improve documentation on expectsize()

2019-02-13 Thread navaneeth.suresh (Navaneeth Suresh)
navaneeth.suresh updated this revision to Diff 14068. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5953?vs=14063=14068 REVISION DETAIL https://phab.mercurial-scm.org/D5953 AFFECTED FILES mercurial/revset.py CHANGE DETAILS diff --git

D5949: debugpathcopies: fix typo in synopsis

2019-02-13 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGb738093d4b8f: debugpathcopies: fix typo in synopsis (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5949?vs=14052=14066

D5417: rust: translated random test of missingancestors

2019-02-13 Thread gracinet (Georges Racinet)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG9370f4843084: rust: translated random test of missingancestors (authored by gracinet, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5948: debugrename: don't require at least one path

2019-02-13 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGa04e0ec65ce3: debugrename: dont require at least one path (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5953: revset: improve documentation on expectsize()

2019-02-13 Thread navaneeth.suresh (Navaneeth Suresh)
navaneeth.suresh created this revision. Herald added subscribers: mercurial-devel, mjpieters. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This is a follow-up patch to https://phab.mercurial-scm.org/D5813. It improves the documentation of `expectsize(set, size)`. REPOSITORY rHG

D5947: revlog: use iterbytestr()

2019-02-13 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG389ad992d953: revlog: use iterbytestr() (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5947?vs=14049=14064 REVISION

D5813: revset: add expect to check the size of a set

2019-02-13 Thread navaneeth.suresh (Navaneeth Suresh)
navaneeth.suresh added inline comments. INLINE COMMENTS > pulkit wrote in revset.py:866 > Can you improve this documentation as a follow-up? We should mentioned about > specifying ranges, and also if the set has the given size, that set is > returned. Doing that right away! REPOSITORY rHG

D5936: addremove: respect ui.relative-paths

2019-02-13 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGf44ab808eb91: addremove: respect ui.relative-paths (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5936?vs=14032=14059

D5938: resolve: slightly simplify join expression by joining with empty strings

2019-02-13 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGc31dd7b63ab3: resolve: slightly simplify join expression by joining with empty strings (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5937: resolve: respect ui.relative-paths also for warning messages

2019-02-13 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGdf3c24966e4b: resolve: respect ui.relative-paths also for warning messages (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5939: commit: respect ui.relative-paths

2019-02-13 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG8fc63f5fb50d: commit: respect ui.relative-paths (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5939?vs=14035=14061

D5935: windows: use util.localpath for repo-relative paths in getuipathfn()

2019-02-13 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGa8d3a4be066e: windows: use util.localpath for repo-relative paths in getuipathfn() (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

Re: [PATCH] walkchangerevs: obey allfiles parameter when taking the slow path

2019-02-13 Thread Yuya Nishihara
On Tue, 12 Feb 2019 17:20:56 -0500, Jordi Gutiérrez Hermoso wrote: > # HG changeset patch > # User Jordi Gutiérrez Hermoso > # Date 1550009431 18000 > # Tue Feb 12 17:10:31 2019 -0500 > # Node ID 06f76b4009c4802a48abc184984d0eebc7d7d91e > # Parent 61415361e90684a8c7a031413e9182f51937c2e7 >

D5945: rust: itering less on MissingAncestors.bases for max()

2019-02-13 Thread gracinet (Georges Racinet)
gracinet updated this revision to Diff 14057. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5945?vs=14046=14057 REVISION DETAIL https://phab.mercurial-scm.org/D5945 AFFECTED FILES rust/hg-core/src/ancestors.rs rust/hg-core/src/dagops.rs

D5944: rust: stop putting NULL_REVISION in MissingAncestors.bases

2019-02-13 Thread gracinet (Georges Racinet)
gracinet updated this revision to Diff 14056. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5944?vs=14041=14056 REVISION DETAIL https://phab.mercurial-scm.org/D5944 AFFECTED FILES rust/hg-core/src/ancestors.rs CHANGE DETAILS diff --git

[PATCH 1 of 4 V2] rust-cpython: moved py_set() utility to conversion module

2019-02-13 Thread Georges Racinet
# HG changeset patch # User Georges Racinet # Date 1547651127 -3600 # Wed Jan 16 16:05:27 2019 +0100 # Node ID 309cd33d38043b3dec8b500551436aa369535943 # Parent 61415361e90684a8c7a031413e9182f51937c2e7 # EXP-Topic revset.predicates rust-cpython: moved py_set() utility to conversion module

[PATCH 2 of 4 V2] rust-cpython: binding for headrevs()

2019-02-13 Thread Georges Racinet
# HG changeset patch # User Georges Racinet # Date 1547141118 -3600 # Thu Jan 10 18:25:18 2019 +0100 # Node ID 956c5b54b4ce3e8decf5243a7f73c6f9a06f1229 # Parent 309cd33d38043b3dec8b500551436aa369535943 # EXP-Topic revset.predicates rust-cpython: binding for headrevs() This uses the core

[PATCH 4 of 4 V2] rust-cpython: using rustext.dagop.headrevs in revlog

2019-02-13 Thread Georges Racinet
# HG changeset patch # User Georges Racinet # Date 1547651966 -3600 # Wed Jan 16 16:19:26 2019 +0100 # Node ID 3cab9658d270ce28cb589f6adbf0a19dffe51341 # Parent eae29e210636ee44851e0caa385097a090c60af8 # EXP-Topic revset.predicates rust-cpython: using rustext.dagop.headrevs in revlog As

[PATCH 3 of 4 V2] changelog: prefilter in headrevs()

2019-02-13 Thread Georges Racinet
# HG changeset patch # User Georges Racinet # Date 1547815081 -3600 # Fri Jan 18 13:38:01 2019 +0100 # Node ID eae29e210636ee44851e0caa385097a090c60af8 # Parent 956c5b54b4ce3e8decf5243a7f73c6f9a06f1229 # EXP-Topic revset.predicates changelog: prefilter in headrevs() In case where

D5945: rust: itering less on MissingAncestors.bases for max()

2019-02-13 Thread gracinet (Georges Racinet)
gracinet added inline comments. INLINE COMMENTS > kevincox wrote in ancestors.rs:41 > If you don't want to depend on the value of NULL_REVISION you can use the > minimum value for the type backing revision. > > Other special revisions shouldn't be relevant because you shouldn't be > comparing

Re: Auto-formatting code with black - object now if you have a strong opinion

2019-02-13 Thread Boris FELD
On 01/12/2018 02:35, Matt Harbison wrote: > On Fri, 30 Nov 2018 07:25:04 -0500, Boris FELD > wrote: > >> I think using automatic formatting is a great idea and we should move >> forward with this plan. Black seems a good option. I share other's >> concerns about the formatting of import. I also