D5088: hghave: add pyXY features for Python version numbers

2018-10-14 Thread durin42 (Augie Fackler)
durin42 added a comment. In https://phab.mercurial-scm.org/D5088#76414, @indygreg wrote: > In https://phab.mercurial-scm.org/D5088#76278, @durin42 wrote: > > > Is there a way for me to specify something like "<=3.5" and "3.6<=" or similar? > > > Adding `no-` to the capability

mercurial@40279: 9 new changesets

2018-10-14 Thread Mercurial Commits
9 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/dbc28c91f7ff changeset: 40271:dbc28c91f7ff user:Georges Racinet date:Thu Sep 27 17:03:16 2018 +0200 summary: rust: pure Rust lazyancestors iterator

D5088: hghave: add pyXY features for Python version numbers

2018-10-14 Thread indygreg (Gregory Szorc)
indygreg added a comment. In https://phab.mercurial-scm.org/D5088#76278, @durin42 wrote: > Is there a way for me to specify something like "<=3.5" and "3.6<=" or similar? Adding `no-` to the capability name will invert the condition. e.g. 3.5 will test false for `no-py27` and

[PATCH 3 of 3] help: fix a missing quote character in ui.tweakdefaults

2018-10-14 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1539495562 14400 # Sun Oct 14 01:39:22 2018 -0400 # Node ID 660485f92014dbd8787d3e54b7ef3516f5652dca # Parent 8b25e88b588d5be2b6a511d4f76e3c0230122e10 help: fix a missing quote character in ui.tweakdefaults diff --git

[PATCH 1 of 3] encoding: move tonativestr() from procutil

2018-10-14 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1539492413 14400 # Sun Oct 14 00:46:53 2018 -0400 # Node ID edf769c43bbb10048dceed4cc2ddd46197943ff3 # Parent 8783710b1d58d2ccc0f611904af244a1dde214d4 encoding: move tonativestr() from procutil There are uses for converting to Unicode on

[PATCH 2 of 3] py3: appease urllib.request.pathname2url() with a str in Windows

2018-10-14 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1539492655 14400 # Sun Oct 14 00:50:55 2018 -0400 # Node ID 8b25e88b588d5be2b6a511d4f76e3c0230122e10 # Parent edf769c43bbb10048dceed4cc2ddd46197943ff3 py3: appease urllib.request.pathname2url() with a str in Windows This fixes test-extdata.t

Re: [PATCH 2 of 2 V4] rust: rustlazyancestors.__contains__

2018-10-14 Thread Yuya Nishihara
On Sun, 14 Oct 2018 15:22:07 +0200, Georges Racinet wrote: > # HG changeset patch > # User Georges Racinet > # Date 1539018701 -7200 > # Mon Oct 08 19:11:41 2018 +0200 > # Node ID 50d03c9079ffe3932955353be076ff24c4e87804 > # Parent c04176c0f8b9aeaf196bd1eac00207d526f3d53b > # EXP-Topic

Re: [PATCH 1 of 2 V4] rust: hooking into Python code

2018-10-14 Thread Yuya Nishihara
On Sun, 14 Oct 2018 15:22:06 +0200, Georges Racinet wrote: > # HG changeset patch > # User Georges Racinet > # Date 1538060144 -7200 > # Thu Sep 27 16:55:44 2018 +0200 > # Node ID c04176c0f8b9aeaf196bd1eac00207d526f3d53b > # Parent 3b275f5497771d8a71336273a77575dbf4882798 > # EXP-Topic

D5105: style: drop requirement to only use single lines between top-level objects

2018-10-14 Thread durin42 (Augie Fackler)
durin42 accepted this revision as: durin42. durin42 added a comment. I'm in favor, but want to see a broader set of thoughts on this. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5105 To: mjpieters, #hg-reviewers, durin42 Cc: durin42, indygreg,

D4876: amend: add config to skip amend if only date is changed (issue5828)

2018-10-14 Thread durin42 (Augie Fackler)
durin42 requested changes to this revision. durin42 added a comment. This revision now requires changes to proceed. It sounds like @pulkit has some ideas on what needs to be done follow-up wise. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D4876 To:

D5076: help: allow commands to be hidden

2018-10-14 Thread yuja (Yuya Nishihara)
yuja added a comment. > +if ui.configbool('help', 'hide.%s' % cmd): > +return True Nit: "hidden" or "hidden-command" seems better. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5076 To: rdamazio, #hg-reviewers Cc: yuja, mercurial-devel

Re: D5076: help: allow commands to be hidden

2018-10-14 Thread Yuya Nishihara
> +if ui.configbool('help', 'hide.%s' % cmd): > +return True Nit: "hidden" or "hidden-command" seems better. ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

D5077: help: allow hiding of help topics

2018-10-14 Thread yuja (Yuya Nishihara)
yuja added a comment. > +def filtertopic(ui, topic): > +return ui.configbool('help', 'hide.%s' % topic, False) Maybe we need a separate namespace (e.g. help.hidden-topic.%s)? REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5077 To: rdamazio,

Re: D5077: help: allow hiding of help topics

2018-10-14 Thread Yuya Nishihara
> +def filtertopic(ui, topic): > +return ui.configbool('help', 'hide.%s' % topic, False) Maybe we need a separate namespace (e.g. help.hidden-topic.%s)? ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org

D5087: help: displaying documented aliases by default

2018-10-14 Thread yuja (Yuya Nishihara)
yuja added a comment. > @@ -507,16 +522,11 @@ > > f = fs[0] > syns[f] = ', '.join(fs) > func = e[0] > > +alias = getattr(func, 'alias', False) > > if select and not select(f): > continue > > - if (not select and name != 'shortlist' and > -

Re: D5087: help: displaying documented aliases by default

2018-10-14 Thread Yuya Nishihara
> @@ -507,16 +522,11 @@ > f = fs[0] > syns[f] = ', '.join(fs) > func = e[0] > +alias = getattr(func, 'alias', False) > if select and not select(f): > continue > -if (not select and name != 'shortlist' and

D5067: help: assigning categories to existing commands

2018-10-14 Thread yuja (Yuya Nishihara)
yuja added a comment. Queued the first 5 patches, thanks. > 1. Human-readable category names. These are translated. > 2. Extensions with custom categories should add their names here. To make these being collected to i18n catalog, we have to wrap them with _(). But that can be

Re: D5067: help: assigning categories to existing commands

2018-10-14 Thread Yuya Nishihara
Queued the first 5 patches, thanks. > # Human-readable category names. These are translated. > # Extensions with custom categories should add their names here. To make these being collected to i18n catalog, we have to wrap them with _(). But that can be fixed later. > CATEGORY_NAMES = { > +

D5067: help: assigning categories to existing commands

2018-10-14 Thread yuja (Yuya Nishihara)
yuja added a comment. > +# Add our category before "Repository maintenance". > +help.CATEGORY_ORDER.insert( > +help.CATEGORY_ORDER.index(command.CATEGORY_MAINTENANCE), > +_HELP_CATEGORY) > +help.CATEGORY_NAMES[_HELP_CATEGORY] = 'GPG signing' Moved this to extsetup(),

Re: D5067: help: assigning categories to existing commands

2018-10-14 Thread Yuya Nishihara
> +# Add our category before "Repository maintenance". > +help.CATEGORY_ORDER.insert( > +help.CATEGORY_ORDER.index(command.CATEGORY_MAINTENANCE), > +_HELP_CATEGORY) > +help.CATEGORY_NAMES[_HELP_CATEGORY] = 'GPG signing' Moved this to extsetup(), since otherwise it could leave phantom None

D5106: py3: fix test-dirstate-race.t

2018-10-14 Thread mbthomas (Mark Thomas)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGe787d97e90ad: py3: fix test-dirstate-race.t (authored by mbthomas, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5106?vs=12136=12147 REVISION

D5101: py3: fix test-propertycache.py

2018-10-14 Thread mbthomas (Mark Thomas)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd33611280add: py3: fix test-propertycache.py (authored by mbthomas, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5101?vs=12137=12148 REVISION

D5067: help: assigning categories to existing commands

2018-10-14 Thread rdamazio (Rodrigo Damazio Bovendorp)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGc303d65d2e34: help: assigning categories to existing commands (authored by rdamazio, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D5067?vs=12122=12145#toc REPOSITORY rHG

D5069: help: adding a proper declaration for shortlist/basic commands

2018-10-14 Thread rdamazio (Rodrigo Damazio Bovendorp)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGfa88170c10bb: help: adding a proper declaration for shortlist/basic commands (API) (authored by rdamazio, committed by ). CHANGED PRIOR TO COMMIT

D5068: help: assigning topic categories

2018-10-14 Thread rdamazio (Rodrigo Damazio Bovendorp)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGfabbf9310025: help: assigning topic categories (authored by rdamazio, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5068?vs=12123=12144

D5066: help: splitting the topics by category

2018-10-14 Thread rdamazio (Rodrigo Damazio Bovendorp)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG9c6473d2038b: help: splitting the topics by category (authored by rdamazio, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D5066?vs=12121=12143#toc REPOSITORY rHG Mercurial

D5065: help: adding support for command categories

2018-10-14 Thread rdamazio (Rodrigo Damazio Bovendorp)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG170926caf44c: help: adding support for command categories (authored by rdamazio, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D5065?vs=12120=12142#toc REPOSITORY rHG

[PATCH v2] graft: introduce --base option for using custom base revision while merging

2018-10-14 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1539529698 -7200 # Sun Oct 14 17:08:18 2018 +0200 # Node ID 258029c642d97ef663396476c63ce34dbef89b13 # Parent 38ac525b44c93fcadb3680d4ded56f1e5a0029b2 graft: introduce --base option for using custom base revision while merging The graft

D5109: tests: add missing b prefix in test-context-metadata.t

2018-10-14 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. REVISION SUMMARY 1. skip-blame just a b prefix REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5109 AFFECTED FILES

D5108: context: raise runtime errors with sysstrs

2018-10-14 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY We should probably *not* use RuntimeError for this, but let's deal with that later, rather than as part of the Python 3 effort. REPOSITORY rHG Mercurial

D5107: localrepo: ensure we properly %-format ints vs strings in exception throw

2018-10-14 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY I'm not thrilled with this, but it'll do. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5107 AFFECTED FILES

D5102: beautifygraph: add configs for customizing the characters

2018-10-14 Thread hooper (Danny Hooper)
hooper updated this revision to Diff 12138. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5102?vs=12130=12138 REVISION DETAIL https://phab.mercurial-scm.org/D5102 AFFECTED FILES hgext/beautifygraph.py tests/test-glog-beautifygraph.t CHANGE

D5101: py3: fix test-propertycache.py

2018-10-14 Thread mbthomas (Mark Thomas)
mbthomas updated this revision to Diff 12137. mbthomas added a comment. Use pycompat.fsencode REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5101?vs=12128=12137 BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D5101 AFFECTED FILES

D5101: py3: fix test-propertycache.py

2018-10-14 Thread mbthomas (Mark Thomas)
mbthomas added inline comments. INLINE COMMENTS > durin42 wrote in test-propertycache.py:48 > I believe this should be pycompat.fsdecode instead It looks like fsencode is the one that goes in the right direction (convert to bytes) REPOSITORY rHG Mercurial REVISION DETAIL

D5106: py3: fix test-dirstate-race.t

2018-10-14 Thread mbthomas (Mark Thomas)
mbthomas created this revision. Herald added a reviewer: pulkit. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D5106 AFFECTED FILES contrib/python3-whitelist

D5105: style: drop requirement to only use single lines between top-level objects

2018-10-14 Thread mjpieters (Martijn Pieters)
mjpieters added a subscriber: indygreg. mjpieters added a comment. This was split out from https://phab.mercurial-scm.org/D5064 (cc @indygreg ) REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5105 To: mjpieters, #hg-reviewers Cc: indygreg, mercurial-devel

D5064: style: run black on a subset of mercurial

2018-10-14 Thread mjpieters (Martijn Pieters)
mjpieters updated this revision to Diff 12135. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5064?vs=12059=12135 REVISION DETAIL https://phab.mercurial-scm.org/D5064 AFFECTED FILES contrib/import-checker.py mercurial/cacheutil.py

D5105: style: drop requirement to only use single lines between top-level objects

2018-10-14 Thread mjpieters (Martijn Pieters)
mjpieters 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/D5105 AFFECTED FILES contrib/check-commit CHANGE DETAILS diff --git a/contrib/check-commit

[PATCH 2 of 2 V4] rust: rustlazyancestors.__contains__

2018-10-14 Thread Georges Racinet
# HG changeset patch # User Georges Racinet # Date 1539018701 -7200 # Mon Oct 08 19:11:41 2018 +0200 # Node ID 50d03c9079ffe3932955353be076ff24c4e87804 # Parent c04176c0f8b9aeaf196bd1eac00207d526f3d53b # EXP-Topic rustancestors-contains rust: rustlazyancestors.__contains__ This changeset

[PATCH 1 of 2 V4] rust: hooking into Python code

2018-10-14 Thread Georges Racinet
# HG changeset patch # User Georges Racinet # Date 1538060144 -7200 # Thu Sep 27 16:55:44 2018 +0200 # Node ID c04176c0f8b9aeaf196bd1eac00207d526f3d53b # Parent 3b275f5497771d8a71336273a77575dbf4882798 # EXP-Topic rustancestors-contains rust: hooking into Python code We introduce a new

D4850: store: pass matcher to store.datafiles() and filter files according to it

2018-10-14 Thread pulkit (Pulkit Goyal)
pulkit added a comment. In https://phab.mercurial-scm.org/D4850#75708, @indygreg wrote: > Another conceptual problem with this is that it assumes `data/` and `meta/` are used for tracking just filelogs and manifestlogs. In theory, other revlogs / data files could be stored there. >

mercurial@40270: 5 new changesets

2018-10-14 Thread Mercurial Commits
5 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/ab04ce6f0674 changeset: 40266:ab04ce6f0674 user:Matt Harbison date:Fri Oct 12 17:34:45 2018 -0400 summary: py3: use str to query registry values on Windows

D5100: notify: a ton of encoding dancing to deal with the email module

2018-10-14 Thread durin42 (Augie Fackler)
durin42 updated this revision to Diff 12133. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5100?vs=12116=12133 REVISION DETAIL https://phab.mercurial-scm.org/D5100 AFFECTED FILES hgext/notify.py CHANGE DETAILS diff --git a/hgext/notify.py

D5067: help: assigning categories to existing commands

2018-10-14 Thread yuja (Yuya Nishihara)
yuja added a comment. > See if this is what you had in mind. Also updated all parent changesets accordingly. Yeah, that's it, thanks. I'll review the new series. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5067 To: rdamazio, durin42, martinvonz,

Re: D5067: help: assigning categories to existing commands

2018-10-14 Thread Yuya Nishihara
> See if this is what you had in mind. Also updated all parent changesets > accordingly. Yeah, that's it, thanks. I'll review the new series. ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org

D5002: extensions: fix up many many debug logs that use %r

2018-10-14 Thread durin42 (Augie Fackler)
durin42 added a comment. Switching to %s loses some quotes I like having. INLINE COMMENTS > indygreg wrote in extensions.py:178 > Can't we just switch to `%s`? That'll result in less quoting in the output, and I like having the quoting. REPOSITORY rHG Mercurial REVISION DETAIL

D5096: py3: fix test-hardlinks.t

2018-10-14 Thread durin42 (Augie Fackler)
durin42 added inline comments. INLINE COMMENTS > test-hardlinks.t:23 >> from mercurial import util > - > util.copyfiles(sys.argv[1], sys.argv[2], hardlink=True) > + > util.copyfiles(sys.argv[1].encode(), sys.argv[2].encode(), hardlink=True) >> EOF I believe these should both use

D5101: py3: fix test-propertycache.py

2018-10-14 Thread durin42 (Augie Fackler)
durin42 added inline comments. INLINE COMMENTS > test-propertycache.py:48 > # these tests on the real object to detect regression. > -repopath = os.path.join(os.environ['TESTTMP'], 'repo') > +repopath = pycompat.sysbytes(os.path.join(os.environ['TESTTMP'], 'repo')) > assert

D5104: tests: use regex instead of Python versions for archive hash changes

2018-10-14 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added subscribers: mercurial-devel, mjpieters. Herald added a reviewer: hg-reviewers. REVISION SUMMARY It turns out this behavior changed between versions of Python 3. Let's just always accept either size or sha1, and move on. REPOSITORY rHG Mercurial

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

2018-10-14 Thread pulkit (Pulkit Goyal)
pulkit added a comment. This patch is now waiting for me to test it on our internal repo and make sure it works on multi-level dirs and big repos. Since this a server side fix, it will take some time for me to test this internally and I will try to do it in next couple of days. Also this is

Re: [PATCH 4 of 6] rust-chg: add struct holding information needed to spawn server process

2018-10-14 Thread Yuya Nishihara
On Sun, 14 Oct 2018 13:48:31 +0200, Gregory Szorc wrote: > On Sun, Oct 14, 2018 at 10:29 AM Yuya Nishihara wrote: > > +/// Temporary socket path for this client process. > > +fn temp_sock_path() -> PathBuf { > > +let src = self.base_sock_path.as_os_str().as_bytes(); > > +

Re: [PATCH] notify: just use email.errors

2018-10-14 Thread Augie Fackler
> On Oct 14, 2018, at 13:45, Yuya Nishihara wrote: > > # HG changeset patch > # User Yuya Nishihara > # Date 1539516947 -7200 > # Sun Oct 14 13:35:47 2018 +0200 > # Node ID 3a82d82492d32c4340e336dc5d3814bf6b5ff2f9 > # Parent 96164fb9b9130bc2148fc454cf4c6eed0797c001 > notify: just use

Re: [PATCH] notify: just use email.errors

2018-10-14 Thread Pulkit Goyal
On Sun, Oct 14, 2018 at 2:47 PM Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1539516947 -7200 > # Sun Oct 14 13:35:47 2018 +0200 > # Node ID 3a82d82492d32c4340e336dc5d3814bf6b5ff2f9 > # Parent 96164fb9b9130bc2148fc454cf4c6eed0797c001 > notify: just use

D5102: beautifygraph: add configs for customizing the characters

2018-10-14 Thread hooper (Danny Hooper)
hooper created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY I figure we should keep this out of graphmod.py and templatekw.py for now. Moving the extension functionality out of hgext is a separate issue. Calling

D5103: beautifygraph: don't substitute anything for 'X' in rendered graphs

2018-10-14 Thread hooper (Danny Hooper)
hooper created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY It looks like we never actually render graphs this way, although there's an example in a comment next to the code that prevents it from being needed (see

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

2018-10-14 Thread martinvonz (Martin von Zweigbergk)
martinvonz updated this revision to Diff 12129. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4895?vs=11714=12129 REVISION DETAIL https://phab.mercurial-scm.org/D4895 AFFECTED FILES hgext/narrow/narrowwirepeer.py mercurial/bundle2.py

D5101: py3: fix test-propertycache.py

2018-10-14 Thread mbthomas (Mark Thomas)
mbthomas created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D5101 AFFECTED FILES tests/test-propertycache.py CHANGE DETAILS diff --git

Re: [PATCH 4 of 6] rust-chg: add struct holding information needed to spawn server process

2018-10-14 Thread Gregory Szorc
On Sun, Oct 14, 2018 at 10:29 AM Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1538828039 -32400 > # Sat Oct 06 21:13:59 2018 +0900 > # Node ID 83ae46b307d87085a0a0f8224f021adf7788050d > # Parent efdf82aa259682f10c9211e283aceffd861f77cd > rust-chg: add

Re: [PATCH 1 of 6] rust-chg: suppress panic while writing chg error to stderr

2018-10-14 Thread Gregory Szorc
On Sun, Oct 14, 2018 at 10:24 AM Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1538913351 -32400 > # Sun Oct 07 20:55:51 2018 +0900 > # Node ID 4a4f95df41de64fb472cb131d5ff4eeb8e846870 > # Parent 3b275f5497771d8a71336273a77575dbf4882798 > rust-chg: suppress

[PATCH] notify: just use email.errors

2018-10-14 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1539516947 -7200 # Sun Oct 14 13:35:47 2018 +0200 # Node ID 3a82d82492d32c4340e336dc5d3814bf6b5ff2f9 # Parent 96164fb9b9130bc2148fc454cf4c6eed0797c001 notify: just use email.errors email.Errors is a proxy object to email.errors on Python 2.

[PATCH 2 of 2 evolve-ext] evolvecmd: use modern vocabulary in help text for evolve

2018-10-14 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1539517031 -7200 # Sun Oct 14 13:37:11 2018 +0200 # Node ID fc9eb357bca259cab49e7665bc5ab72e26914e6f # Parent f3d9033c08be3b97861f490a62619887def287f8 evolvecmd: use modern vocabulary in help text for evolve diff --git

[PATCH 1 of 2 evolve-ext] evolvecmd: mark flags with old instability names as deprecated

2018-10-14 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1539516913 -7200 # Sun Oct 14 13:35:13 2018 +0200 # Node ID f3d9033c08be3b97861f490a62619887def287f8 # Parent 3c28f8a3a5a5773952ea58e9098c8d1ff4234002 evolvecmd: mark flags with old instability names as deprecated diff --git

D5067: help: assigning categories to existing commands

2018-10-14 Thread rdamazio (Rodrigo Damazio Bovendorp)
rdamazio updated this revision to Diff 12122. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5067?vs=12062=12122 REVISION DETAIL https://phab.mercurial-scm.org/D5067 AFFECTED FILES hgext/absorb.py hgext/amend.py hgext/blackbox.py

D5069: help: adding a proper declaration for shortlist/basic commands

2018-10-14 Thread rdamazio (Rodrigo Damazio Bovendorp)
rdamazio updated this revision to Diff 12124. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5069?vs=12064=12124 REVISION DETAIL https://phab.mercurial-scm.org/D5069 AFFECTED FILES contrib/perf.py hgext/absorb.py hgext/blackbox.py

D5087: help: displaying documented aliases by default

2018-10-14 Thread rdamazio (Rodrigo Damazio Bovendorp)
rdamazio updated this revision to Diff 12127. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5087?vs=12092=12127 REVISION DETAIL https://phab.mercurial-scm.org/D5087 AFFECTED FILES mercurial/dispatch.py mercurial/help.py mercurial/registrar.py

D5067: help: assigning categories to existing commands

2018-10-14 Thread rdamazio (Rodrigo Damazio Bovendorp)
rdamazio added a comment. In https://phab.mercurial-scm.org/D5067#76195, @yuja wrote: > Can you make these constants untranslated (e.g. 'help' instead of _('Help')) > and map them to corresponding translation later? > > And, perhaps they can be moved to `registrar.command` so we

D5077: help: allow hiding of help topics

2018-10-14 Thread rdamazio (Rodrigo Damazio Bovendorp)
rdamazio updated this revision to Diff 12126. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5077?vs=12066=12126 REVISION DETAIL https://phab.mercurial-scm.org/D5077 AFFECTED FILES mercurial/help.py tests/test-help-hide.t CHANGE DETAILS diff

D5076: help: allow commands to be hidden

2018-10-14 Thread rdamazio (Rodrigo Damazio Bovendorp)
rdamazio updated this revision to Diff 12125. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5076?vs=12065=12125 REVISION DETAIL https://phab.mercurial-scm.org/D5076 AFFECTED FILES mercurial/configitems.py mercurial/help.py tests/test-help-hide.t

D5068: help: assigning topic categories

2018-10-14 Thread rdamazio (Rodrigo Damazio Bovendorp)
rdamazio updated this revision to Diff 12123. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5068?vs=12063=12123 REVISION DETAIL https://phab.mercurial-scm.org/D5068 AFFECTED FILES doc/gendoc.py mercurial/help.py tests/test-globalopts.t

D5066: help: splitting the topics by category

2018-10-14 Thread rdamazio (Rodrigo Damazio Bovendorp)
rdamazio updated this revision to Diff 12121. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5066?vs=12061=12121 REVISION DETAIL https://phab.mercurial-scm.org/D5066 AFFECTED FILES mercurial/help.py mercurial/hgweb/webcommands.py CHANGE DETAILS

D5065: help: adding support for command categories

2018-10-14 Thread rdamazio (Rodrigo Damazio Bovendorp)
rdamazio updated this revision to Diff 12120. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5065?vs=12060=12120 REVISION DETAIL https://phab.mercurial-scm.org/D5065 AFFECTED FILES doc/gendoc.py mercurial/help.py mercurial/registrar.py CHANGE

Sprint 5.0 (Asia, Spring 2019)

2018-10-14 Thread Kyle Lippincott
Per the recent discussion at the 4.8 Sprint, let's discuss the next sprint now. The next one, for what is currently assumed to be the 5.0 release in Spring 2019, is currently scheduled to happen in Asia and I'm proposing Japan specifically. The past two sprints have been planned by Googlers and

D5097: logcmdutil: add a helpful assertion to catch mistyped templates early

2018-10-14 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG96164fb9b913: logcmdutil: add a helpful assertion to catch mistyped templates early (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5099: notify: adapt to new location of email module's errors

2018-10-14 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG46b55f279571: notify: adapt to new location of email modules errors (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5098: notify: add some b prefixes

2018-10-14 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGc7a363ca04b9: notify: add some b prefixes (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5098?vs=12114=12117 REVISION

D5088: hghave: add pyXY features for Python version numbers

2018-10-14 Thread durin42 (Augie Fackler)
durin42 added a comment. Is there a way for me to specify something like "<=3.5" and "3.6<=" or similar? REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5088 To: indygreg, #hg-reviewers Cc: durin42, mercurial-devel

D5100: notify: a ton of encoding dancing to deal with the email module

2018-10-14 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Almost fixes test-keyword.t on Python 3, but leaves us with some extremely confusing failures at the end of the test that seem related to the command server?

D5099: notify: adapt to new location of email module's errors

2018-10-14 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added subscribers: mercurial-devel, mjpieters. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5099 AFFECTED FILES hgext/notify.py CHANGE DETAILS diff --git a/hgext/notify.py

D5098: notify: add some b prefixes

2018-10-14 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY 1. skip-blame just b prefixes REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5098 AFFECTED FILES hgext/notify.py CHANGE DETAILS

D5097: logcmdutil: add a helpful assertion to catch mistyped templates early

2018-10-14 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added subscribers: mercurial-devel, mjpieters. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This would have made a defect in test-notify.t much easier to figure out. REPOSITORY rHG Mercurial REVISION DETAIL

D5095: py3: fix test-diff-color.t

2018-10-14 Thread mbthomas (Mark Thomas)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGe4f82db071a4: py3: fix test-diff-color.t (authored by mbthomas, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5095?vs=12107=12112 REVISION

D4312: New bookflow extension for bookmark-based branching

2018-10-14 Thread durin42 (Augie Fackler)
durin42 added a comment. I've poked some hg hosting providers to see if this would potentially improve bookmarks for their users. I intend to look at it today or Tuesday, with an eye towards landing it as part of 4.8. REPOSITORY rHG Mercurial REVISION DETAIL

D5096: py3: fix test-hardlinks.t

2018-10-14 Thread mbthomas (Mark Thomas)
mbthomas created this revision. Herald added a reviewer: pulkit. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D5096 AFFECTED FILES contrib/python3-whitelist

D5093: py3: fix test-revlog.t

2018-10-14 Thread mbthomas (Mark Thomas)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG29b0e9cd02f4: py3: fix test-revlog.t (authored by mbthomas, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D5093?vs=12104=12110#toc REPOSITORY rHG Mercurial CHANGES SINCE

D5092: fuzz: try *even harder* to prevent Python from looking up usernames

2018-10-14 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG170cd2a5a1da: fuzz: try *even harder* to prevent Python from looking up usernames (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5090: wireproto: fix incorrect function name in docstring

2018-10-14 Thread sheehan (Connor Sheehan)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG4821affc154f: wireproto: fix incorrect function name in docstring (authored by sheehan, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5095: py3: fix test-diff-color.t

2018-10-14 Thread mbthomas (Mark Thomas)
mbthomas created this revision. Herald added a reviewer: pulkit. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D5095 AFFECTED FILES contrib/python3-whitelist

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

2018-10-14 Thread spectral (Kyle Lippincott)
spectral updated this revision to Diff 12106. Herald added a subscriber: mjpieters. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5094?vs=12105=12106 REVISION DETAIL https://phab.mercurial-scm.org/D5094 AFFECTED FILES mercurial/configitems.py

mercurial@40265: 95 new changesets

2018-10-14 Thread Mercurial Commits
95 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/dac438b7346e changeset: 40171:dac438b7346e user:Gregory Szorc date:Wed Oct 03 13:07:28 2018 -0700 summary: httppeer: expose API descriptor on httpv2peer

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

2018-10-14 Thread spectral (Kyle Lippincott)
spectral created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY It is a common complaint that a user will be running some operation (histedit, rebase, evolve, etc.), get into a merge-conflict situation, and not understand

D5093: py3: fix test-revlog.t

2018-10-14 Thread mbthomas (Mark Thomas)
mbthomas created this revision. Herald added a reviewer: pulkit. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The mpatchError has a trailing comma on Python 3, so use a glob to handle both Python 2 and Python 3. REPOSITORY rHG

D5067: help: assigning categories to existing commands

2018-10-14 Thread yuja (Yuya Nishihara)
yuja added a comment. > 1. Command categories. +CATEGORY_REPO_CREATION = _('Repository creation') +CATEGORY_REMOTE_REPO_MANAGEMENT = _('Remote repository management') +CATEGORY_COMMITTING = _('Change creation') +CATEGORY_CHANGE_NAVIGATION = _('Change navigation') +CATEGORY_CHANGE_MANAGEMENT

Re: D5067: help: assigning categories to existing commands

2018-10-14 Thread Yuya Nishihara
> # Command categories. > +CATEGORY_REPO_CREATION = _('Repository creation') > +CATEGORY_REMOTE_REPO_MANAGEMENT = _('Remote repository management') > +CATEGORY_COMMITTING = _('Change creation') > +CATEGORY_CHANGE_NAVIGATION = _('Change navigation') > +CATEGORY_CHANGE_MANAGEMENT = _('Change

[PATCH 6 of 6] rust-chg: abort if server doesn't have enough capabilities

2018-10-14 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1538874742 -32400 # Sun Oct 07 10:12:22 2018 +0900 # Node ID 29b826e65d9b738fc29f5600f798e4d048616aa4 # Parent 389e082b48ba5a543a2c0497963cca4231e22504 rust-chg: abort if server doesn't have enough capabilities It's checked at

[PATCH 5 of 6] rust-chg: spawn server process if not running

2018-10-14 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1538824244 -32400 # Sat Oct 06 20:10:44 2018 +0900 # Node ID 389e082b48ba5a543a2c0497963cca4231e22504 # Parent 83ae46b307d87085a0a0f8224f021adf7788050d rust-chg: spawn server process if not running This is the minimal reimplementation of

[PATCH 4 of 6] rust-chg: add struct holding information needed to spawn server process

2018-10-14 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1538828039 -32400 # Sat Oct 06 21:13:59 2018 +0900 # Node ID 83ae46b307d87085a0a0f8224f021adf7788050d # Parent efdf82aa259682f10c9211e283aceffd861f77cd rust-chg: add struct holding information needed to spawn server process The Locator will

[PATCH 3 of 6] rust-chg: install logger if $CHGDEBUG is set

2018-10-14 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1538879562 -32400 # Sun Oct 07 11:32:42 2018 +0900 # Node ID efdf82aa259682f10c9211e283aceffd861f77cd # Parent b46cd0c69558e0aa92871f180d98a167bd108f97 rust-chg: install logger if $CHGDEBUG is set This is modeled after the example logger

[PATCH 2 of 6] rust-chg: depend on log and tokio_timer

2018-10-14 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1538824031 -32400 # Sat Oct 06 20:07:11 2018 +0900 # Node ID b46cd0c69558e0aa92871f180d98a167bd108f97 # Parent 4a4f95df41de64fb472cb131d5ff4eeb8e846870 rust-chg: depend on log and tokio_timer I'll start porting the daemon management

[PATCH 1 of 6] rust-chg: suppress panic while writing chg error to stderr

2018-10-14 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1538913351 -32400 # Sun Oct 07 20:55:51 2018 +0900 # Node ID 4a4f95df41de64fb472cb131d5ff4eeb8e846870 # Parent 3b275f5497771d8a71336273a77575dbf4882798 rust-chg: suppress panic while writing chg error to stderr Otherwise "chg >/dev/full

D5092: fuzz: try *even harder* to prevent Python from looking up usernames

2018-10-14 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/D5092 AFFECTED FILES contrib/fuzz/manifest.cc CHANGE DETAILS diff --git a/contrib/fuzz/manifest.cc

  1   2   >