Re: [PATCH 1 of 4] test-bundle: glob away a URL protocol separator

2017-04-08 Thread Yuya Nishihara
On Sat, 08 Apr 2017 22:37:45 -0400, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1491677199 14400 > # Sat Apr 08 14:46:39 2017 -0400 > # Node ID c6379326f01a27b12a8bd6c90c6a5995dfe70edf > # Parent c39e7c4b535c654d5b2f7790efebff2909986a04 > test-bundle: glob awa

Re: [PATCH] templatekw: clarify the result of {latesttag} when no tag exists

2017-04-08 Thread Yuya Nishihara
On Sun, 09 Apr 2017 00:26:29 -0400, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1491711054 14400 > # Sun Apr 09 00:10:54 2017 -0400 > # Node ID 8b5a325adc7a011fbbed18886290684793ff8a35 > # Parent 42c7df6da065e310c5685fbba2799ffe77d73afd > templatekw: clarify t

Re: [PATCH 1 of 2] hgweb: add a floating tooltip to invite on followlines action

2017-04-08 Thread Yuya Nishihara
On Fri, 07 Apr 2017 10:55:41 +0200, Denis Laxalde wrote: > # HG changeset patch > # User Denis Laxalde > # Date 1491498909 -7200 > # Thu Apr 06 19:15:09 2017 +0200 > # Node ID e8cc0233064b9aaf4e99efa960d857c9884266c4 > # Parent e0dc40530c5aa514feb6a09cf79ab6a3aa2ec331 > # Available At http:/

Re: [PATCH 2 of 2] filelog: use slow path to calculate size

2017-04-08 Thread Jun Wu
Excerpts from Yuya Nishihara's message of 2017-04-09 13:45:37 +0900: > It seems filelog.renamed() is optimized for a common case where p1 isn't > null. Ah... I should have noticed that. Will send a new version. ___ Mercurial-devel mailing list Mercurial-

Re: [PATCH 2 of 2] filelog: use slow path to calculate size

2017-04-08 Thread Yuya Nishihara
On Fri, 7 Apr 2017 13:36:40 -0700, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1491597357 25200 > # Fri Apr 07 13:35:57 2017 -0700 > # Node ID 48542079e2580e3889eb396c60acee9e1ce36d59 > # Parent 0613dc70b604ad9a2abb548e223981defe753c7f > # Available At https://bitbucket.org

Re: [PATCH 1 of 3 STABLE V3] repair: iterate store files deterministically

2017-04-08 Thread Yuya Nishihara
On Sat, 08 Apr 2017 11:37:06 -0700, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1491676500 25200 > # Sat Apr 08 11:35:00 2017 -0700 > # Branch stable > # Node ID 6d0319d5dc7f2d4a6079437a5d1f8382dcb40e42 > # Parent 68f263f52d2e3e2798b4f1e55cb665c6b043f93b > rep

[PATCH] templatekw: clarify the result of {latesttag} when no tag exists

2017-04-08 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1491711054 14400 # Sun Apr 09 00:10:54 2017 -0400 # Node ID 8b5a325adc7a011fbbed18886290684793ff8a35 # Parent 42c7df6da065e310c5685fbba2799ffe77d73afd templatekw: clarify the result of {latesttag} when no tag exists My initial expectation was

[PATCH 1 of 4] test-bundle: glob away a URL protocol separator

2017-04-08 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1491677199 14400 # Sat Apr 08 14:46:39 2017 -0400 # Node ID c6379326f01a27b12a8bd6c90c6a5995dfe70edf # Parent c39e7c4b535c654d5b2f7790efebff2909986a04 test-bundle: glob away a URL protocol separator MSYS thinks the ':' is a Unix path separato

[PATCH 3 of 4] test-fileset: eliminate a duplicate test that was conditionalized for output

2017-04-08 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1491678109 14400 # Sat Apr 08 15:01:49 2017 -0400 # Node ID 651cf90e65f6c5f5717caa9779f268319e2bc676 # Parent d236dca9355d6af70f20ba7966ccf903657a61c8 test-fileset: eliminate a duplicate test that was conditionalized for output diff --git a/t

[PATCH 2 of 4] test-fileset: glob away hash differences

2017-04-08 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1491677744 14400 # Sat Apr 08 14:55:44 2017 -0400 # Node ID d236dca9355d6af70f20ba7966ccf903657a61c8 # Parent c6379326f01a27b12a8bd6c90c6a5995dfe70edf test-fileset: glob away hash differences There are various files committed above that can't

[PATCH 4 of 4] test-http-proxy: add the Windows variant of "connection refused"

2017-04-08 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1491678405 14400 # Sat Apr 08 15:06:45 2017 -0400 # Node ID 42c7df6da065e310c5685fbba2799ffe77d73afd # Parent 651cf90e65f6c5f5717caa9779f268319e2bc676 test-http-proxy: add the Windows variant of "connection refused" The full error is "No conn

Re: [PATCH] setup: use setuptools on Windows (issue5400)

2017-04-08 Thread Matt Harbison
On Thu, 09 Mar 2017 23:06:34 -0500, Gregory Szorc wrote: # HG changeset patch # User Gregory Szorc # Date 1489118392 28800 # Thu Mar 09 19:59:52 2017 -0800 # Node ID b51f9adb41e68d9f3d88582f044d2742ae29ce09 # Parent cd29673cebdbe2d998009322e4c3657389d6aed0 setup: use setuptools on Wind

Re: [PATCH 1 of 8] bundle: allow bundle command to use changegroup3 in tests

2017-04-08 Thread Augie Fackler
On Fri, Apr 07, 2017 at 05:19:20PM +0200, Pierre-Yves David wrote: > > > On 04/07/2017 04:44 PM, Jun Wu wrote: > > Excerpts from Pierre-Yves David's message of 2017-04-07 16:39:03 +0200: > > > > > Is there any reasons why we can't just have bundle spec to support > > > > > cg3? > > > > > > > > mar

Re: [PATCH] zstd: vendor python-zstandard 0.8.1

2017-04-08 Thread Augie Fackler
queued, thanks > On Apr 8, 2017, at 5:35 PM, Gregory Szorc wrote: > > # HG changeset patch > # User Gregory Szorc > # Date 1491687200 25200 > # Sat Apr 08 14:33:20 2017 -0700 > # Node ID cf3e6b83ac758bf30cfb270c8b35df729375b0ed > # Parent 1064a296a2a74a0621b253392639ef6ca0be3e87 > zstd: v

[PATCH] zstd: vendor python-zstandard 0.8.1

2017-04-08 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1491687200 25200 # Sat Apr 08 14:33:20 2017 -0700 # Node ID cf3e6b83ac758bf30cfb270c8b35df729375b0ed # Parent 1064a296a2a74a0621b253392639ef6ca0be3e87 zstd: vendor python-zstandard 0.8.1 This contains a fix for compilation on BSDs. #no-check

Re: [PATCH 1 of 3 V2] bundle2: add separate handling for error part creation

2017-04-08 Thread Pierre-Yves David
On 04/07/2017 09:52 PM, Siddharth Agarwal wrote: On 4/6/17 05:50, Pierre-Yves David wrote: While I understand the need for unbounded generic error:Abort, I not sure we should extend this to pushraced and unsupported content one. They have defined enough use case where limiting the message and hi

Re: Announcing Config Express Extension, version 0.1.0

2017-04-08 Thread Pierre-Yves David
On 04/08/2017 08:42 PM, Gregory Szorc wrote: On Fri, Apr 7, 2017 at 7:36 AM, Pierre-Yves David < pierre-yves.da...@ens-lyon.org> wrote: Hello, Mathias de Maré and I are happy to announce the very first release of the config express extension. The goal of the extensions is to help server own

Re: Announcing Config Express Extension, version 0.1.0

2017-04-08 Thread Gregory Szorc
On Fri, Apr 7, 2017 at 7:36 AM, Pierre-Yves David < pierre-yves.da...@ens-lyon.org> wrote: > Hello, > > Mathias de Maré and I are happy to announce the very first release of the > config express extension. > > The goal of the extensions is to help server owner and company to monitor > their client

Re: [PATCH 1 of 2 STABLE V2] tests: add test demonstrating buggy path handling

2017-04-08 Thread Gregory Szorc
On Sat, Apr 8, 2017 at 1:39 AM, Yuya Nishihara wrote: > On Fri, 07 Apr 2017 11:54:54 -0700, Gregory Szorc wrote: > > # HG changeset patch > > # User Gregory Szorc > > # Date 1491590783 25200 > > # Fri Apr 07 11:46:23 2017 -0700 > > # Branch stable > > # Node ID f8ba1fb4458b60b1d129f97d1f47a

[PATCH 3 of 3 STABLE V3] repair: use rawvfs when copying extra store files

2017-04-08 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1491676599 25200 # Sat Apr 08 11:36:39 2017 -0700 # Branch stable # Node ID b608e14f4b594c7dd77944373806c2cc701ac8c5 # Parent 496c7283775aace010167dbd824ecab706c3223d repair: use rawvfs when copying extra store files If we use the normal vfs,

[PATCH 1 of 3 STABLE V3] repair: iterate store files deterministically

2017-04-08 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1491676500 25200 # Sat Apr 08 11:35:00 2017 -0700 # Branch stable # Node ID 6d0319d5dc7f2d4a6079437a5d1f8382dcb40e42 # Parent 68f263f52d2e3e2798b4f1e55cb665c6b043f93b repair: iterate store files deterministically An upcoming test will add a 2

[PATCH 2 of 3 STABLE V3] tests: add test demonstrating buggy path handling

2017-04-08 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1491676529 25200 # Sat Apr 08 11:35:29 2017 -0700 # Branch stable # Node ID 496c7283775aace010167dbd824ecab706c3223d # Parent 6d0319d5dc7f2d4a6079437a5d1f8382dcb40e42 tests: add test demonstrating buggy path handling `hg debugupgraderepo` is

[PATCH 5 of 5 V2] templater: port pad() to take keyword arguments

2017-04-08 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1491225832 -32400 # Mon Apr 03 22:23:52 2017 +0900 # Node ID 4519938b18da898cb116a3fea0d1ecee604266c0 # Parent 05be4b2679b557c9fc8711d9b258e3667cec0b88 templater: port pad() to take keyword arguments This is another example where keyword arg

[PATCH 3 of 5 V2] templater: add parsing rule for key-value pair

2017-04-08 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1491220555 -32400 # Mon Apr 03 20:55:55 2017 +0900 # Node ID 0a547405070213e075162d45f37a2d82877c61c3 # Parent 50cbe5f6c63fb73cdb06f80c9ea5a7e263e0cc84 templater: add parsing rule for key-value pair Based on the revset implementation, 70a208

[PATCH 4 of 5 V2] templater: add support for keyword arguments

2017-04-08 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1491222159 -32400 # Mon Apr 03 21:22:39 2017 +0900 # Node ID 05be4b2679b557c9fc8711d9b258e3667cec0b88 # Parent 0a547405070213e075162d45f37a2d82877c61c3 templater: add support for keyword arguments Unlike revset, function arguments are pre-pr

[PATCH 1 of 5 V2] templater: sort token table by binding strength

2017-04-08 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1491219445 -32400 # Mon Apr 03 20:37:25 2017 +0900 # Node ID 17d1ef430add6c1d1936ec33ce4be97f156a0efe # Parent 1064a296a2a74a0621b253392639ef6ca0be3e87 templater: sort token table by binding strength Just for readability. diff --git a/mercu

[PATCH 2 of 5 V2] templater: adjust binding strengths to make room for key-value operator

2017-04-08 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1491219845 -32400 # Mon Apr 03 20:44:05 2017 +0900 # Node ID 50cbe5f6c63fb73cdb06f80c9ea5a7e263e0cc84 # Parent 17d1ef430add6c1d1936ec33ce4be97f156a0efe templater: adjust binding strengths to make room for key-value operator Changed as follow

Re: [PATCH 4 of 5] templater: add support for keyword arguments

2017-04-08 Thread Yuya Nishihara
On Sat, 08 Apr 2017 20:37:34 +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1491222159 -32400 > # Mon Apr 03 21:22:39 2017 +0900 > # Node ID 3c73949652fca9dd142af5529fc8f190801b5913 > # Parent 0a547405070213e075162d45f37a2d82877c61c3 > templater: add sup

[PATCH 2 of 5] templater: adjust binding strengths to make room for key-value operator

2017-04-08 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1491219845 -32400 # Mon Apr 03 20:44:05 2017 +0900 # Node ID 50cbe5f6c63fb73cdb06f80c9ea5a7e263e0cc84 # Parent 17d1ef430add6c1d1936ec33ce4be97f156a0efe templater: adjust binding strengths to make room for key-value operator Changed as follow

[PATCH 3 of 5] templater: add parsing rule for key-value pair

2017-04-08 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1491220555 -32400 # Mon Apr 03 20:55:55 2017 +0900 # Node ID 0a547405070213e075162d45f37a2d82877c61c3 # Parent 50cbe5f6c63fb73cdb06f80c9ea5a7e263e0cc84 templater: add parsing rule for key-value pair Based on the revset implementation, 70a208

[PATCH 5 of 5] templater: port pad() to take keyword arguments

2017-04-08 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1491225832 -32400 # Mon Apr 03 22:23:52 2017 +0900 # Node ID 30aea1eb80a9141a50c54d1f30eac523818ba4a0 # Parent 3c73949652fca9dd142af5529fc8f190801b5913 templater: port pad() to take keyword arguments This is another example where keyword arg

[PATCH 4 of 5] templater: add support for keyword arguments

2017-04-08 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1491222159 -32400 # Mon Apr 03 21:22:39 2017 +0900 # Node ID 3c73949652fca9dd142af5529fc8f190801b5913 # Parent 0a547405070213e075162d45f37a2d82877c61c3 templater: add support for keyword arguments Unlike revset, function arguments are pre-pr

[PATCH 1 of 5] templater: sort token table by binding strength

2017-04-08 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1491219445 -32400 # Mon Apr 03 20:37:25 2017 +0900 # Node ID 17d1ef430add6c1d1936ec33ce4be97f156a0efe # Parent 1064a296a2a74a0621b253392639ef6ca0be3e87 templater: sort token table by binding strength Just for readability. diff --git a/mercu

Re: [PATCH] test-check-pylint: match its output

2017-04-08 Thread Pierre-Yves David
On 04/08/2017 09:32 AM, Yuya Nishihara wrote: On Fri, 7 Apr 2017 11:10:11 -0700, Jun Wu wrote: # HG changeset patch # User Jun Wu # Date 1491588594 25200 # Fri Apr 07 11:09:54 2017 -0700 # Node ID 58c9ffb81e676df4613c86c9ebd75836f1567ced # Parent 0d57661098e3f93e7d1ab4e206d87d39c6ce4f84

Re: [PATCH 1 of 2 V2] util: add a way to issue deprecation warning without a UI object

2017-04-08 Thread Pierre-Yves David
On 04/08/2017 10:16 AM, Yuya Nishihara wrote: On Fri, 7 Apr 2017 19:03:55 +0200, Pierre-Yves David wrote: On 04/06/2017 05:44 PM, Yuya Nishihara wrote: On Thu, 6 Apr 2017 16:09:07 +0200, Pierre-Yves David wrote: If dirty hack allowed, I would do something like the following: # util.py d

Re: [PATCH 1 of 2 STABLE V2] tests: add test demonstrating buggy path handling

2017-04-08 Thread Yuya Nishihara
On Fri, 07 Apr 2017 11:54:54 -0700, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1491590783 25200 > # Fri Apr 07 11:46:23 2017 -0700 > # Branch stable > # Node ID f8ba1fb4458b60b1d129f97d1f47a542aa0daf98 > # Parent 68f263f52d2e3e2798b4f1e55cb665c6b043f93b > tes

Re: [PATCH 2 of 2 STABLE V2] repair: use rawvfs when copying extra store files

2017-04-08 Thread Yuya Nishihara
On Fri, 07 Apr 2017 11:54:55 -0700, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1491590980 25200 > # Fri Apr 07 11:49:40 2017 -0700 > # Branch stable > # Node ID 8b073104522c69a3892288a5ed35e4e60cdc2033 > # Parent f8ba1fb4458b60b1d129f97d1f47a542aa0daf98 > rep

Re: [PATCH 1 of 2 V2] util: add a way to issue deprecation warning without a UI object

2017-04-08 Thread Yuya Nishihara
On Fri, 7 Apr 2017 19:03:55 +0200, Pierre-Yves David wrote: > On 04/06/2017 05:44 PM, Yuya Nishihara wrote: > > On Thu, 6 Apr 2017 16:09:07 +0200, Pierre-Yves David wrote: > >>> If dirty hack allowed, I would do something like the following: > >>> > >>> # util.py > >>> def _deprecwarn(msg, vers

Re: [PATCH 4 of 4] py3: add a bytes version of urllib.parse.urlencode() to pycompat.py

2017-04-08 Thread Yuya Nishihara
On Fri, 7 Apr 2017 23:14:02 +0530, Pulkit Goyal wrote: > One general thing, when > you are referring to Python 3 here, are you also considering the version > older than Python 3.5 as my current approach is to look for > things(documentation) in 3.5 only. I don't care about previous versions. No,

Re: [PATCH] test-check-pylint: match its output

2017-04-08 Thread Yuya Nishihara
On Fri, 7 Apr 2017 11:10:11 -0700, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1491588594 25200 > # Fri Apr 07 11:09:54 2017 -0700 > # Node ID 58c9ffb81e676df4613c86c9ebd75836f1567ced > # Parent 0d57661098e3f93e7d1ab4e206d87d39c6ce4f84 > # Available At https://bitbucket.org

Re: [PATCH 3 of 3 V2] py3: add pycompat.unicode and add it to importer

2017-04-08 Thread Yuya Nishihara
On Sat, 08 Apr 2017 00:08:25 +0530, Pulkit Goyal wrote: > # HG changeset patch > # User Pulkit Goyal <7895pul...@gmail.com> > # Date 1491588351 -19800 > # Fri Apr 07 23:35:51 2017 +0530 > # Node ID 7ce54c695ff7a5637b6798dec0fc6cf4f7b22098 > # Parent 1724a314de7c22936d33b09066e9f06197437391 >

Re: [PATCH 2 of 2] pull: abort pull --update if config requires destination (issue5528)

2017-04-08 Thread Yuya Nishihara
On Fri, 7 Apr 2017 06:32:23 -0700, Ryan McElroy wrote: > # HG changeset patch > # User Ryan McElroy > # Date 1491571910 25200 > # Fri Apr 07 06:31:50 2017 -0700 > # Node ID 1a7c8af860b2bec0349661a82d2f449c9d2944bb > # Parent 3d5f4ddecd504abf742f89c7c5d27064e301bda8 > pull: abort pull --updat

Re: [PATCH V3] fsmonitor: match watchman and filesystem encoding

2017-04-08 Thread Yuya Nishihara
On Fri, 07 Apr 2017 12:32:20 -0400, Olivier Trempe wrote: > # HG changeset patch > # User Olivier Trempe > # Date 1488981822 18000 > # Wed Mar 08 09:03:42 2017 -0500 > # Branch stable > # Node ID 867e2a3b106825dbd637aa404115301f9df70bfd > # Parent 68f263f52d2e3e2798b4f1e55cb665c6b043f93b > f

Re: [PATCH] metadataonlyctx: replace "changeset()[0]" to "manifestnode()"

2017-04-08 Thread Yuya Nishihara
On Fri, 7 Apr 2017 11:10:30 -0700, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1491588163 25200 > # Fri Apr 07 11:02:43 2017 -0700 > # Node ID 0d57661098e3f93e7d1ab4e206d87d39c6ce4f84 > # Parent c39e7c4b535c654d5b2f7790efebff2909986a04 > # Available At https://bitbucket.org