[PATCH 6 of 6] extensions: avoid shadowing imported module names with exthelper methods

2018-11-30 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1543636651 18000 # Fri Nov 30 22:57:31 2018 -0500 # Node ID 104266c4afd3519ddd09e3718590af5062a85b70 # Parent 99150c56ee5f0f709380c46717fb283c615a911b extensions: avoid shadowing imported module names with exthelper methods The previous code

[PATCH 5 of 6] lfs: convert to using exthelper to wrap functions

2018-11-30 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1543374607 18000 # Tue Nov 27 22:10:07 2018 -0500 # Node ID 99150c56ee5f0f709380c46717fb283c615a911b # Parent 9472a31f5d6537265a4a2caa249797e7d8e83046 lfs: convert to using exthelper to wrap functions I'm not 100% sure that

[PATCH 3 of 6] tests: convert a test extension to use exthelper

2018-11-30 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1543631995 18000 # Fri Nov 30 21:39:55 2018 -0500 # Node ID 90653b8d51ae02abf8481e1419a8a98f8cbc750e # Parent 4242a302a762fb0d30298885f982d2e769cbbbd8 tests: convert a test extension to use exthelper This provides test coverage to

[PATCH 4 of 6] extensions: add fileset support to exthelper

2018-11-30 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1543633839 18000 # Fri Nov 30 22:10:39 2018 -0500 # Node ID 9472a31f5d6537265a4a2caa249797e7d8e83046 # Parent 90653b8d51ae02abf8481e1419a8a98f8cbc750e extensions: add fileset support to exthelper This will be tested by using it in lfs. diff

[PATCH 1 of 6] extensions: import the exthelper class from evolve ff799015d62e

2018-11-30 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1543121473 18000 # Sat Nov 24 23:51:13 2018 -0500 # Node ID d5a04a8016a270dce028bddb2483509e0429f113 # Parent 33d30fb1e4ae52a283ef487ccf5dfbe59b8a5a68 extensions: import the exthelper class from evolve ff799015d62e This should help make

[PATCH 2 of 6] extensions: add uipopulate() support to exthelper

2018-11-30 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1543631898 18000 # Fri Nov 30 21:38:18 2018 -0500 # Node ID 4242a302a762fb0d30298885f982d2e769cbbbd8 # Parent d5a04a8016a270dce028bddb2483509e0429f113 extensions: add uipopulate() support to exthelper diff --git a/mercurial/exthelper.py

Re: [PATCH 4 of 8 V2] perf: add a `perfbranchmapupdate` command

2018-11-30 Thread Yuya Nishihara
On Mon, 26 Nov 2018 19:44:35 +0100, Boris Feld wrote: > # HG changeset patch > # User Boris Feld > # Date 1542801745 0 > # Wed Nov 21 12:02:25 2018 + > # Node ID dc3191e230daa615929d41cc410bfb16cfe658d9 > # Parent 0adc2c0a0792d4a0015ec0634487ed9e08fd0e7e > # EXP-Topic perf-branchmap > #

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

2018-11-30 Thread Matt Harbison
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 wonder if this also applies to list and dict

Re: [PATCH V3] push: config option to control behavior when pushing to a publishing server

2018-11-30 Thread Yuya Nishihara
On Fri, 30 Nov 2018 22:39:28 +0800, Anton Shestakov wrote: > # HG changeset patch > # User Anton Shestakov > # Date 1541397139 -28800 > # Mon Nov 05 13:52:19 2018 +0800 > # Node ID e73bee557bdbde51316a310ee9e9510586190da7 > # Parent efd0f79246e3e6633dfd06226464a48584f69b19 > # EXP-Topic

D5348: narrowcommands: remove an unrequired `repo.narrowpats` call

2018-11-30 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG773572e5cba2: narrowcommands: remove an unrequired `repo.narrowpats` call (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

mercurial@40724: 2 new changesets (2 on stable)

2018-11-30 Thread Mercurial Commits
2 new changesets (2 on stable) in mercurial: https://www.mercurial-scm.org/repo/hg/rev/94b0d0f996e1 changeset: 40723:94b0d0f996e1 branch: stable parent: 40674:25b7c4cb5de1 user:Gregory Szorc date:Wed Nov 28 10:37:43 2018 -0800 summary: wireprotov2peer: always

D1694: debugcommands: replace opts.get('foo') by opts['foo']

2018-11-30 Thread pulkit (Pulkit Goyal)
pulkit added a comment. In https://phab.mercurial-scm.org/D1694#29072, @yuja wrote: > Sometimes we do the reverse change for ease of calling command function as a plain function. Just for record, today I hit the problem where some command is using `opts['']` instead of

Re: [PATCH] push: config option to control behavior when pushing to a publishing server

2018-11-30 Thread Anton Shestakov
On Fri, 30 Nov 2018 19:36:28 +0800 Anton Shestakov wrote: > On Sun, 25 Nov 2018 12:35:17 +0900 > Yuya Nishihara wrote: > > > On Fri, 23 Nov 2018 13:23:43 +0800, Anton Shestakov wrote: > > > # HG changeset patch > > > # User Anton Shestakov > > > # Date 1541397139 -28800 > > > # Mon Nov

D5348: narrowcommands: remove an unrequired `repo.narrowpats` call

2018-11-30 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a reviewer: durin42. Herald added a reviewer: martinvonz. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY We call that few lines above and do nothing significant in between which can change the

[PATCH V3] push: config option to control behavior when pushing to a publishing server

2018-11-30 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1541397139 -28800 # Mon Nov 05 13:52:19 2018 +0800 # Node ID e73bee557bdbde51316a310ee9e9510586190da7 # Parent efd0f79246e3e6633dfd06226464a48584f69b19 # EXP-Topic push-publish push: config option to control behavior when pushing to a

[PATCH 5 of 5] loggingutil: document openlogfile()

2018-11-30 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1542533731 -32400 # Sun Nov 18 18:35:31 2018 +0900 # Node ID cca1069915a9dd0521384d3c8d9d981b2092f237 # Parent 9868f09e72ad134557db7af35b642afc1130d4c3 loggingutil: document openlogfile() This function will be used later for command-server

[PATCH 4 of 5] loggingutil: extract openlogfile() and proxylogger to new module

2018-11-30 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1542533137 -32400 # Sun Nov 18 18:25:37 2018 +0900 # Node ID 9868f09e72ad134557db7af35b642afc1130d4c3 # Parent dba8c880874d32c4160c73feb5f84d2c66c58013 loggingutil: extract openlogfile() and proxylogger to new module This module isn't

[PATCH 3 of 5] blackbox: pass in options to _openlogfile() as arguments

2018-11-30 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1542532899 -32400 # Sun Nov 18 18:21:39 2018 +0900 # Node ID dba8c880874d32c4160c73feb5f84d2c66c58013 # Parent c299fe88974e640b83192dcedabb9c4e599d7ed3 blackbox: pass in options to _openlogfile() as arguments This prepares for extracting

[PATCH 2 of 5] blackbox: just try writing to repo.vfs and update lastlogger on success

2018-11-30 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1542460227 -32400 # Sat Nov 17 22:10:27 2018 +0900 # Node ID c299fe88974e640b83192dcedabb9c4e599d7ed3 # Parent d4060b39fec28b51ba98818eaa23e067da906402 blackbox: just try writing to repo.vfs and update lastlogger on success This is simpler

[PATCH 1 of 5] vfs: add option to not create parent directories implicitly

2018-11-30 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1542720672 -32400 # Tue Nov 20 22:31:12 2018 +0900 # Node ID d4060b39fec28b51ba98818eaa23e067da906402 # Parent 7e6834ade51d98da575cfbeef651fc8a465c38b8 vfs: add option to not create parent directories implicitly In blackbox, we don't want

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

2018-11-30 Thread Boris FELD
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 wonder if this also applies to list and dict formatting that we tend to express with one value per line for

D5347: manifest: reject lines shorter than 42 bytes, not 22

2018-11-30 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG7e6834ade51d: manifest: reject lines shorter than 42 bytes, not 22 (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5270: tests: sniff for libfuzzer actually being available in test-fuzz-targets.t

2018-11-30 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd9fc51f77cc5: tests: sniff for libfuzzer actually being available in test-fuzz-targets.t (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5269: tests: sniff for /usr/local/bin/gmake and use it in test-fuzz-targets.t

2018-11-30 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG6c01fad8de32: tests: sniff for /usr/local/bin/gmake and use it in test-fuzz-targets.t (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

Re: [PATCH STABLE] tests: stabilize test-inherit-mode.t on FreeBSD and macOS (issue6026)

2018-11-30 Thread Yuya Nishihara
On Thu, 29 Nov 2018 16:30:45 -0500, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1543526737 18000 > # Thu Nov 29 16:25:37 2018 -0500 > # Branch stable > # Node ID 2a350cb39a459fea5767aa25804180be10849408 > # Parent 25b7c4cb5de1593e16bbd7a7dafbd28baa743995 >

Re: [PATCH] sparse-revlog: protect C code against delta chain including nullrev

2018-11-30 Thread Yuya Nishihara
On Thu, 29 Nov 2018 18:55:01 +0100, Boris Feld wrote: > # HG changeset patch > # User Boris Feld > # Date 1543508919 -3600 > # Thu Nov 29 17:28:39 2018 +0100 > # Node ID 5a6a715f4ed0fa4d47bdd6b6413797fe6cb17f88 > # Parent 2f14d1bbc9a7a142b421285c0708320b46be7a56 > # EXP-Topic

Re: [PATCH] push: config option to control behavior when pushing to a publishing server

2018-11-30 Thread Anton Shestakov
On Sun, 25 Nov 2018 12:35:17 +0900 Yuya Nishihara wrote: > On Fri, 23 Nov 2018 13:23:43 +0800, Anton Shestakov wrote: > > # HG changeset patch > > # User Anton Shestakov > > # Date 1541397139 -28800 > > # Mon Nov 05 13:52:19 2018 +0800 > > # Node ID ea18d94ac7006faff7148cb2eca3b970655955b9

[PATCH V2] push: config option to control behavior when pushing to a publishing server

2018-11-30 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1541397139 -28800 # Mon Nov 05 13:52:19 2018 +0800 # Node ID 081773196c85870990e9c438023c7665b1e73469 # Parent efd0f79246e3e6633dfd06226464a48584f69b19 # EXP-Topic push-publish push: config option to control behavior when pushing to a