Re: [PATCH 3 of 3 V2] py3: convert date and format arguments str before passing in time.strptime

2017-05-16 Thread Martin von Zweigbergk via Mercurial-devel
On Mon, May 15, 2017 at 10:50 AM, Pulkit Goyal <7895pul...@gmail.com> wrote: > # HG changeset patch > # User Pulkit Goyal <7895pul...@gmail.com> > # Date 1494026485 -19800 > # Sat May 06 04:51:25 2017 +0530 > # Node ID bffb17a42e8c185bb3d31f4489066448ce2e259a > # Parent

Re: [PATCH 2 of 3 V2] py3: convert kwargs' keys to str using pycompat.strkwargs

2017-05-16 Thread Yuya Nishihara
On Tue, 16 May 2017 08:37:32 -0700, Martin von Zweigbergk via Mercurial-devel wrote: > On Mon, May 15, 2017 at 10:50 AM, Pulkit Goyal <7895pul...@gmail.com> wrote: > > # HG changeset patch > > # User Pulkit Goyal <7895pul...@gmail.com> > > # Date 1493837661 -19800 > > # Thu May 04 00:24:21

[PATCH] encoding: use i.startswith() instead of i[0] to eliminate py2/3 divergence

2017-05-16 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1494945398 -32400 # Tue May 16 23:36:38 2017 +0900 # Node ID 13f44d66157096e3bf9c7f30bd4df802c38b971e # Parent 288f218a3641333bd64aac807d0b81205049c047 encoding: use i.startswith() instead of i[0] to eliminate py2/3 divergence

mercurial@32297: 10 new changesets

2017-05-16 Thread Mercurial Commits
10 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/a2ab9ebcd85b changeset: 32288:a2ab9ebcd85b user:Jun Wu date:Sun May 14 09:38:06 2017 -0700 summary: verify: add a config option to skip certain flag processors

Re: [PATCH 1 of 2] test-casefolding: sync with latest code changes

2017-05-16 Thread Yuya Nishihara
On Mon, 15 May 2017 20:45:52 -0400, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1494724556 14400 > # Sat May 13 21:15:56 2017 -0400 > # Node ID 4f390ad1639a769275cc94b4f449b89cdd457797 > # Parent

Re: Unifying sparse and narrow "profiles"

2017-05-16 Thread Durham Goode
On 5/15/17 2:53 PM, Augie Fackler wrote: On May 9, 2017, at 15:17, Gregory Szorc wrote: How about this for a concrete proposal (with intent on landing some bits of sparse in 4.3): 1) Drop a copy of Facebook's sparse.py into hgext/ along with minimally-modified

Re: [PATCH 2 of 3] killdaemons: use posixfile to avoid intermittent unlink errors on Windows

2017-05-16 Thread Matt Harbison
On Tue, 16 May 2017 10:29:45 -0400, Yuya Nishihara wrote: On Mon, 15 May 2017 21:40:24 -0400, Matt Harbison wrote: On Mon, 15 May 2017 10:19:19 -0400, Yuya Nishihara wrote: > On Mon, 15 May 2017 00:08:31 -0400, Matt Harbison wrote: >> # HG changeset patch >>

[PATCH] util: rewrite sortdict using Python 2.7's OrderedDict

2017-05-16 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1494997046 25200 # Tue May 16 21:57:26 2017 -0700 # Node ID eccddf592f672910ea22e13ffa9f5fe9fb757591 # Parent 779a1ae6d0d9eeb487636f665747e92195eb234e util: rewrite sortdict using Python 2.7's OrderedDict

[PATCH] largefiles: move identical statement to after if/else

2017-05-16 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1494982047 25200 # Tue May 16 17:47:27 2017 -0700 # Node ID acc0bd9507ba5daeaecabe26a066dc51288d9f01 # Parent 779a1ae6d0d9eeb487636f665747e92195eb234e largefiles: move identical statement to after if/else diff

[PATCH 2 of 2 evolve-ext] tests: update tests for changes in upstream 24f556

2017-05-16 Thread Durham Goode
# HG changeset patch # User Durham Goode # Date 1494956324 25200 # Tue May 16 10:38:44 2017 -0700 # Node ID 8e1fc84b9dcf1e356d50db4d8196c47aedb045f4 # Parent 745facc836f8cbdb4c2b9209f1a6bdb31446f144 tests: update tests for changes in upstream 24f556 Upstream commit

[PATCH 1 of 2 evolve-ext] tests: update tests to work with upstream 2b6692

2017-05-16 Thread Durham Goode
# HG changeset patch # User Durham Goode # Date 1494956340 25200 # Tue May 16 10:39:00 2017 -0700 # Node ID 745facc836f8cbdb4c2b9209f1a6bdb31446f144 # Parent 2241433a77e543ee068039fa2fb9ad514decca93 tests: update tests to work with upstream 2b6692 Upstream commit

[PATCH] tests: fix the tests on case insensitive filesystems

2017-05-16 Thread Durham Goode
# HG changeset patch # User Durham Goode # Date 1494957297 25200 # Tue May 16 10:54:57 2017 -0700 # Node ID e51087728839bf087e84e04e41988579673ba047 # Parent d7efaf6275a73ace512ee56313eedfc537c280e9 tests: fix the tests on case insensitive filesystems On OSX the

Re: [PATCH V2] verify: add a config option to skip certain flag processors

2017-05-16 Thread Jun Wu
Excerpts from Yuya Nishihara's message of 2017-05-16 22:17:57 +0900: > > This patch adds a "verify.skipflags" developer config. A flag processor will > > be skipped if (flag & verify.skipflags) == 0. > > Nit: maybe this should be "if (flag & verify.skipflags) != 0" ? You're right. I'm bad at

[Bug 5569] New: include commit hash in buildbot message

2017-05-16 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5569 Bug ID: 5569 Summary: include commit hash in buildbot message Product: Mercurial Version: default branch Hardware: All OS: All Status: UNCONFIRMED

Re: [PATCH V2] verify: add a config option to skip certain flag processors

2017-05-16 Thread Martin von Zweigbergk via Mercurial-devel
On Tue, May 16, 2017 at 9:27 AM, Jun Wu wrote: > Excerpts from Yuya Nishihara's message of 2017-05-16 22:17:57 +0900: >> > This patch adds a "verify.skipflags" developer config. A flag processor >> > will >> > be skipped if (flag & verify.skipflags) == 0. >> >> Nit: maybe this

[PATCH v2] rebase: make sure merge state is cleaned up for no-op rebases

2017-05-16 Thread Jeremy Fitzhardinge
# HG changeset patch # User Jeremy Fitzhardinge # Date 1494962309 25200 # Tue May 16 12:18:29 2017 -0700 # Node ID 45e596670f05aba81f7caef7c778812028c7bc5a # Parent cb26d4cdd0f71423edde7451daf49f6f30bb385b rebase: make sure merge state is cleaned up for no-op rebases If a

Re: [PATCH 2 of 3] run-tests: support multiple cases in .t test

2017-05-16 Thread Yuya Nishihara
On Mon, 15 May 2017 08:18:22 -0700, Jun Wu wrote: > Excerpts from Yuya Nishihara's message of 2017-05-15 22:42:02 +0900: > > [...] > > So this is a sort of parameterized tests? I thought "#case" would be just a > > syntactic sugar of "#if"s. > > > > Another idea is to define a set of "cases"

Re: [PATCH V2] verify: add a config option to skip certain flag processors

2017-05-16 Thread Yuya Nishihara
On Sun, 14 May 2017 09:41:54 -0700, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1494779886 25200 > # Sun May 14 09:38:06 2017 -0700 > # Node ID c3d89aaf46bf50343dd06ff4e59dbadb0563b464 > # Parent 78496ac300255e9996b3e282086661afc08af37c > # Available At

Re: [PATCH 2 of 3] killdaemons: use posixfile to avoid intermittent unlink errors on Windows

2017-05-16 Thread Yuya Nishihara
On Mon, 15 May 2017 21:40:24 -0400, Matt Harbison wrote: > On Mon, 15 May 2017 10:19:19 -0400, Yuya Nishihara wrote: > > > On Mon, 15 May 2017 00:08:31 -0400, Matt Harbison wrote: > >> # HG changeset patch > >> # User Matt Harbison > >> # Date 1494808413

Re: [PATCH 1 of 3] killdaemons: fix error handling on Windows

2017-05-16 Thread Yuya Nishihara
On Mon, 15 May 2017 21:03:13 -0400, Matt Harbison wrote: > On Mon, 15 May 2017 10:21:13 -0400, Yuya Nishihara wrote: > > > On Mon, 15 May 2017 00:08:30 -0400, Matt Harbison wrote: > >> # HG changeset patch > >> # User Matt Harbison > >> # Date 1494779534

Re: [PATCH 6 of 6 RFC] extensions: show deprecation warning for the use of cmdutil.command

2017-05-16 Thread Yuya Nishihara
On Mon, 15 May 2017 13:08:15 -0400, Augie Fackler wrote: > On Sun, May 14, 2017 at 12:11:53PM +0900, Yuya Nishihara wrote: > > On Sat, 13 May 2017 11:00:02 -0700, Gregory Szorc wrote: > > > On Sat, May 13, 2017 at 2:57 AM, Yuya Nishihara wrote: > > > > # HG changeset patch > > > >

Re: [PATCH 2 of 8] transaction: track newly introduced revisions

2017-05-16 Thread Yuya Nishihara
On Tue, 16 May 2017 11:05:29 +0200, Pierre-Yves David wrote: > On 05/13/2017 12:13 PM, Yuya Nishihara wrote: > > On Fri, 12 May 2017 08:38:05 -0700, Jun Wu wrote: > >> Excerpts from Yuya Nishihara's message of 2017-05-12 23:42:42 +0900: > > > > […] > > > >> That's O(1), instead of O(N log N)

Re: Unifying sparse and narrow "profiles"

2017-05-16 Thread Durham Goode
On 5/16/17 12:02 PM, Augie Fackler wrote: On Tue, May 16, 2017 at 09:22:21AM -0700, Durham Goode wrote: On 5/15/17 2:53 PM, Augie Fackler wrote: On May 9, 2017, at 15:17, Gregory Szorc wrote: How about this for a concrete proposal (with intent on landing some

Re: [PATCH 2 of 8] transaction: track newly introduced revisions

2017-05-16 Thread Pierre-Yves David
On 05/13/2017 12:13 PM, Yuya Nishihara wrote: On Fri, 12 May 2017 08:38:05 -0700, Jun Wu wrote: Excerpts from Yuya Nishihara's message of 2017-05-12 23:42:42 +0900: > […] > That's O(1), instead of O(N log N) (note: I'm not sure what type of complexity you refer to, nor what is the

[Bug 5568] New: content-type exception when cloning over http from _hgwebdir_wsgi application in IIS

2017-05-16 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5568 Bug ID: 5568 Summary: content-type exception when cloning over http from _hgwebdir_wsgi application in IIS Product: Mercurial Version: 4.2 Hardware: PC OS:

Re: [PATCH 1 of 3 V2] py3: explicitly convert a list to bytes to pass in ui.debug

2017-05-16 Thread Yuya Nishihara
On Mon, 15 May 2017 13:56:13 -0400, Augie Fackler wrote: > On Mon, May 15, 2017 at 11:20:46PM +0530, Pulkit Goyal wrote: > > # HG changeset patch > > # User Pulkit Goyal <7895pul...@gmail.com> > > # Date 1493837589 -19800 > > # Thu May 04 00:23:09 2017 +0530 > > # Node ID

Re: [PATCH 2 of 3 V2] py3: convert kwargs' keys to str using pycompat.strkwargs

2017-05-16 Thread Martin von Zweigbergk via Mercurial-devel
On Mon, May 15, 2017 at 10:50 AM, Pulkit Goyal <7895pul...@gmail.com> wrote: > # HG changeset patch > # User Pulkit Goyal <7895pul...@gmail.com> > # Date 1493837661 -19800 > # Thu May 04 00:24:21 2017 +0530 > # Node ID 75245b989dd661164041794620770ad7726fe9cd > # Parent

[PATCH] rebase: make sure merge state is cleaned up for no-op rebases

2017-05-16 Thread Jeremy Fitzhardinge
# HG changeset patch # User Jeremy Fitzhardinge # Date 1494892737 25200 # Mon May 15 16:58:57 2017 -0700 # Node ID bc016ab47131203f8f4f332e4f16fdf7899bbc80 # Parent cb26d4cdd0f71423edde7451daf49f6f30bb385b rebase: make sure merge state is cleaned up for no-op rebases If a

Re: [PATCH v2] rebase: make sure merge state is cleaned up for no-op rebases

2017-05-16 Thread Augie Fackler
On Tue, May 16, 2017 at 12:20:07PM -0700, Jeremy Fitzhardinge wrote: > # HG changeset patch > # User Jeremy Fitzhardinge > # Date 1494962309 25200 > # Tue May 16 12:18:29 2017 -0700 > # Node ID 45e596670f05aba81f7caef7c778812028c7bc5a > # Parent

Re: [PATCH V2] verify: add a config option to skip certain flag processors

2017-05-16 Thread Augie Fackler
On Tue, May 16, 2017 at 09:31:17AM -0700, Martin von Zweigbergk via Mercurial-devel wrote: > On Tue, May 16, 2017 at 9:27 AM, Jun Wu wrote: > > Excerpts from Yuya Nishihara's message of 2017-05-16 22:17:57 +0900: > >> > This patch adds a "verify.skipflags" developer config. A flag

Re: [PATCH] tests: fix the tests on case insensitive filesystems

2017-05-16 Thread Augie Fackler
On Tue, May 16, 2017 at 11:08:49AM -0700, Durham Goode wrote: > # HG changeset patch > # User Durham Goode > # Date 1494957297 25200 > # Tue May 16 10:54:57 2017 -0700 > # Node ID e51087728839bf087e84e04e41988579673ba047 > # Parent d7efaf6275a73ace512ee56313eedfc537c280e9 >

[PATCH 1 of 2] run-tests: drop fallback for sysconfig for pre-py2.7

2017-05-16 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1494970822 25200 # Tue May 16 14:40:22 2017 -0700 # Node ID e97e9dac1ede83367bdb494820276f67f0c8f269 # Parent 779a1ae6d0d9eeb487636f665747e92195eb234e run-tests: drop fallback for sysconfig for pre-py2.7 diff

Re: [PATCH V2] verify: add a config option to skip certain flag processors

2017-05-16 Thread Martin von Zweigbergk via Mercurial-devel
On Tue, May 16, 2017 at 11:26 AM, Augie Fackler wrote: > On Tue, May 16, 2017 at 09:31:17AM -0700, Martin von Zweigbergk via > Mercurial-devel wrote: >> On Tue, May 16, 2017 at 9:27 AM, Jun Wu wrote: >> > Excerpts from Yuya Nishihara's message of 2017-05-16

[PATCH V2] tests: fix up recent conditionalized output changes

2017-05-16 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1494725402 14400 # Sat May 13 21:30:02 2017 -0400 # Node ID 73c26b0cd78966327eba6de006ca0d1fb1b53f7e # Parent 7040f5131454b0ae9117ec10a9f33352a04746a3 tests: fix up recent conditionalized output changes It looks like