D6183: copies: add config option for writing copy metadata to file and/or changset

2019-04-04 Thread martinvonz (Martin von Zweigbergk)
martinvonz updated this revision to Diff 14663. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6183?vs=14657&id=14663 REVISION DETAIL https://phab.mercurial-scm.org/D6183 AFFECTED FILES mercurial/changelog.py mercurial/configitems.py mercurial/loc

D6186: changelog: parse copy metadata if available in extras

2019-04-04 Thread martinvonz (Martin von Zweigbergk)
martinvonz updated this revision to Diff 14664. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6186?vs=14634&id=14664 REVISION DETAIL https://phab.mercurial-scm.org/D6186 AFFECTED FILES mercurial/changelog.py mercurial/context.py mercurial/copies.

D6200: perf: make perf.run-limits code work with Python 3

2019-04-04 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added subscribers: mercurial-devel, mjpieters. Herald added a reviewer: hg-reviewers. REVISION SUMMARY We need b'' because perf.py isn't run through the source transformer. We need to cast the exception to bytes using pycompat.bytestr() because Val

D6202: setup: use raw string for regular expression

2019-04-04 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Otherwise Python 3.8 complains about the backslash. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D6202 AFFECTED FILES setup.py

D6203: tests: add optional output for Python 2.7 deprecation

2019-04-04 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY We already had one of these a few lines above. We need it here as well. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D6203 AFFEC

D6201: automation: use raw strings when there are backslashes

2019-04-04 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Otherwise Python 3.8 complains. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D6201 AFFECTED FILES contrib/automation/hgautomatio

D6199: zstandard: vendor python-zstandard 0.11

2019-04-04 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added subscribers: mercurial-devel, mjpieters. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The upstream source distribution from PyPI was extracted. Unwanted files were removed. The clang-format ignore list was updated to reflect the new

D6183: copies: add config option for writing copy metadata to file and/or changset

2019-04-04 Thread martinvonz (Martin von Zweigbergk)
martinvonz updated this revision to Diff 14657. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6183?vs=14624&id=14657 REVISION DETAIL https://phab.mercurial-scm.org/D6183 AFFECTED FILES mercurial/changelog.py mercurial/configitems.py mercurial/loc

D6181: localrepo: rename crev in _filecommit() to cnode, since it's a node

2019-04-04 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG8de1b5a009ee: localrepo: rename crev in _filecommit() to cnode, since it's a node (authored by martinvonz, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D6181?vs=14619&id=14656

D6195: test/test-revset2.t: Unset environment variable P (issue6109)

2019-04-04 Thread jerry.montfort (Jerry Montfort)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGf3365065ef1d: tests: unset environment variable P in test-revset2.t (issue6109) (authored by jerry.montfort, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial

Re: [PATCH 1 of 3] [py3] packaging: allow to run make with python3

2019-04-04 Thread Gregory Szorc
On Thu, Apr 4, 2019 at 10:12 AM Philippe Pepiot wrote: > # HG changeset patch > # User Philippe Pepiot > # Date 1554397608 -7200 > # Thu Apr 04 19:06:48 2019 +0200 > # Node ID c9030c811fdff71908344bb17f05bb71d314acc7 > # Parent 4ee906aa7b60fb6b113e4dc187fbb5a8f42e557c > [py3] packaging: al

D6198: cext: make osutil.c PY_SSIZE_T_CLEAN

2019-04-04 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This is needed to avoid a deprecation warning on Python 3.8. With this change, we no longer see deprecation warnings for this issue on Python 3.8. REPOSITOR

D6197: cext: make parsers.c PY_SSIZE_T_CLEAN

2019-04-04 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This is needed to avoid a deprecation warning in Python 3.8. I believe the conversion of int to Py_ssize_t is harmless in the changed locations. But this being

D6196: cext: make revlog.c PY_SSIZE_T_CLEAN

2019-04-04 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Without this, Python 3.8 emits a deprecation warning, as using int for # values is deprecated. Many existing modules use PY_SSIZE_T_CLEAN, so this shouldn't be

[Bug 6112] New: Shell completions for `hg` should work for `chg` too

2019-04-04 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6112 Bug ID: 6112 Summary: Shell completions for `hg` should work for `chg` too Product: Mercurial Version: unspecified Hardware: All OS: Linux Status: UNCONFIRMED

D6163: copies: extract function for deciding whether to use changeset-centric algos

2019-04-04 Thread pulkit (Pulkit Goyal)
pulkit added inline comments. INLINE COMMENTS > martinvonz wrote in copies.py:163 > Does that mean you're okay with the current form of this patch? Yes. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D6163 To: martinvonz, #hg-reviewers Cc: pulkit, mercurial-devel

[PATCH 2 of 3] [py3] hgmanpage: use range instead of xrange

2019-04-04 Thread Philippe Pepiot
# HG changeset patch # User Philippe Pepiot # Date 1554397685 -7200 # Thu Apr 04 19:08:05 2019 +0200 # Node ID 1cfe2d1794ee65647bc95615e5d032cc6e54352c # Parent c9030c811fdff71908344bb17f05bb71d314acc7 [py3] hgmanpage: use range instead of xrange diff --git a/doc/hgmanpage.py b/doc/hgmanpag

[PATCH 3 of 3] [py3] hgmanpage: use a py2 and py3 compatible iterable protocol

2019-04-04 Thread Philippe Pepiot
# HG changeset patch # User Philippe Pepiot # Date 1554397717 -7200 # Thu Apr 04 19:08:37 2019 +0200 # Node ID c180963580407113ef801ebf98a3f799b9b8cef5 # Parent 1cfe2d1794ee65647bc95615e5d032cc6e54352c [py3] hgmanpage: use a py2 and py3 compatible iterable protocol diff --git a/doc/hgmanpag

[PATCH 1 of 3] [py3] packaging: allow to run make with python3

2019-04-04 Thread Philippe Pepiot
# HG changeset patch # User Philippe Pepiot # Date 1554397608 -7200 # Thu Apr 04 19:06:48 2019 +0200 # Node ID c9030c811fdff71908344bb17f05bb71d314acc7 # Parent 4ee906aa7b60fb6b113e4dc187fbb5a8f42e557c [py3] packaging: allow to run make with python3 Use "?=", otherwise the variable cannot b

[PATCH] chistedit: properly show verbose diffs

2019-04-04 Thread Jordi Gutiérrez Hermoso
# HG changeset patch # User Jordi Gutiérrez Hermoso # Date 1554388915 14400 # Thu Apr 04 10:41:55 2019 -0400 # Node ID 704f79617827ab0c19a788715b797fcfe8557cea # Parent 4ee906aa7b60fb6b113e4dc187fbb5a8f42e557c chistedit: properly show verbose diffs I'm not sure if that ever worked and it's

D6195: test/test-revset2.t: Unset environment variable P (issue6109)

2019-04-04 Thread jerry.montfort (Jerry Montfort)
jerry.montfort added a comment. Note: I had a typo in the issue number: I used the line number which happens to have the exact same digits as the issue number (must be destiny). To fix the typo I used the "Edit Revision" button on this web page. If that's the wrong way, I'll resend the patch

Re: [PATCH] setup: fix a possible NameError on rust build

2019-04-04 Thread Georges Racinet
On 4/4/19 3:43 PM, Philippe Pepiot wrote: > # HG changeset patch > # User Philippe Pepiot > # Date 1554385248 -7200 > # Thu Apr 04 15:40:48 2019 +0200 > # Node ID f7c8453060138de8ab1f56b760d84157d3f0a064 > # Parent 4ee906aa7b60fb6b113e4dc187fbb5a8f42e557c > setup: fix a possible NameError o

D6188: test/test-revset2.t: Unset environment variable P

2019-04-04 Thread jerry.montfort (Jerry Montfort)
jerry.montfort added a comment. Hi, Used hg phasbsend which created https://phab.mercurial-scm.org/D6195. I've no clue how to merge/handle these two, so feel free to intervene. Also added issueNNN to the commit description as suggested. REPOSITORY rHG Mercurial REVISION DETAIL https://

D6195: test/test-revset2.t: Unset environment variable P (issue1609)

2019-04-04 Thread jerry.montfort (Jerry Montfort)
jerry.montfort created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The test tests/test-revset2.t fails the test case "Test repo.anyrevs with customized revset overrides" (line 1609) if the environment variable P is

Re: [PATCH] repoview: introduce "served-obsolete" filter for serving obsolete changesets

2019-04-04 Thread Pulkit Goyal
On Tue, Mar 5, 2019 at 9:00 AM Anton Shestakov wrote: > # HG changeset patch > # User Anton Shestakov > # Date 1551763152 -28800 > # Tue Mar 05 13:19:12 2019 +0800 > # Node ID b6636687c713bf3c4b4c246b0e8759061d6e6742 > # Parent 82d9728ace9535057d77df6c920385861ec00072 > repoview: introduce

[PATCH] setup: fix a possible NameError on rust build

2019-04-04 Thread Philippe Pepiot
# HG changeset patch # User Philippe Pepiot # Date 1554385248 -7200 # Thu Apr 04 15:40:48 2019 +0200 # Node ID f7c8453060138de8ab1f56b760d84157d3f0a064 # Parent 4ee906aa7b60fb6b113e4dc187fbb5a8f42e557c setup: fix a possible NameError on rust build File "setup.py", line 975, in rustbuild

Re: [PATCH] chistedit: add basic colours to diff view

2019-04-04 Thread Jordi Gutiérrez Hermoso
On Wed, 2019-04-03 at 23:56 -0400, Jordi Gutiérrez Hermoso wrote: > # HG changeset patch > # User Jordi Gutiérrez Hermoso > # Date 1554350103 14400 > #  Wed Apr 03 23:55:03 2019 -0400 > # Node ID d0a4c3ae200ffdfc247f5e2f1897196512615087 > # Parent  4ee906aa7b60fb6b113e4dc187fbb5a8f42e557c > ch

[Bug 6111] New: remotefilelog and fsannotate extensions do not work on Solaris because of flock

2019-04-04 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6111 Bug ID: 6111 Summary: remotefilelog and fsannotate extensions do not work on Solaris because of flock Product: Mercurial Version: 4.9 Hardware: PC OS: Linux