Re: [PATCH] changelog: keep track of file end in appender (issue5444)

2016-12-15 Thread Gregory Szorc
Ahh - this is why I didn't find this regression: I was only testing the initial unbundle code path, which doesn't exercise this changing appending code. I'm glad this perf issue is due to something wonky in hg and not some filesystem issue. > On Dec 15, 2016, at 11:01, Durham Goode

Re: [PATCH] changelog: keep track of file end in appender (issue5444)

2016-12-15 Thread Augie Fackler
> On Dec 15, 2016, at 2:01 PM, Durham Goode wrote: > > # HG changeset patch > # User Durham Goode > # Date 1481828418 28800 > # Thu Dec 15 11:00:18 2016 -0800 > # Node ID 6db5cb70cecbd50835f7c8f28770643279001e76 > # Parent

Re: [PATCH 1 of 5 pure-fix] tests: migrate test-bdiff.py to use unittest (part 1 of 4)

2016-12-15 Thread Augie Fackler
> On Dec 15, 2016, at 1:48 PM, Pierre-Yves David > wrote: > > > > On 12/15/2016 05:36 PM, Augie Fackler wrote: >> On Thu, Dec 15, 2016 at 11:32 AM, Augie Fackler wrote: >>> @@ -1,44 +1,52 @@ >>> from __future__ import absolute_import,

Re: [PATCH 5 of 5 pure-fix] tests: fix test-bdiff to handle variance between pure and c bdiff code

2016-12-15 Thread Augie Fackler
> On Dec 15, 2016, at 3:38 PM, Pierre-Yves David > wrote: > > > > On 12/15/2016 05:32 PM, Augie Fackler wrote: >> # HG changeset patch >> # User Augie Fackler >> # Date 1481818440 18000 >> # Thu Dec 15 11:14:00 2016 -0500 >> # Node ID

Re: Constant naming convention

2016-12-15 Thread Pierre-Yves David
On 12/13/2016 06:03 PM, Kevin Bullock wrote: On Dec 13, 2016, at 10:29, Pierre-Yves David wrote: On 12/12/2016 04:12 PM, Augie Fackler wrote: Can we just align with prevailing Python style here and start using all caps for constants? This comes up roughly

Re: [PATCH 5 of 5 pure-fix] tests: fix test-bdiff to handle variance between pure and c bdiff code

2016-12-15 Thread Pierre-Yves David
On 12/15/2016 05:32 PM, Augie Fackler wrote: # HG changeset patch # User Augie Fackler # Date 1481818440 18000 # Thu Dec 15 11:14:00 2016 -0500 # Node ID 774639bc892b7576a53a672dd4a4492a536f8f0f # Parent afa152bbdf097667c095f054d78463bf6d8a666a tests: fix test-bdiff to

[PATCH] import-checker: do not enforce lexical sort accross stdlib/local boundary

2016-12-15 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1481828208 -3600 # Thu Dec 15 19:56:48 2016 +0100 # Node ID 74eecb93c61729802f8c2199241714feb3696c30 # Parent 182cacaa4c32330c0466b7111a75d060830783e8 import-checker: do not enforce lexical sort accross

[Bug 5450] New: shelve doesn't trigger pre-branch hook

2016-12-15 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5450 Bug ID: 5450 Summary: shelve doesn't trigger pre-branch hook Product: Mercurial Version: 4.0 Hardware: PC OS: Linux Status: UNCONFIRMED Severity: feature

Picking a date for Mercurial 4.2 sprint (California, February-March)

2016-12-15 Thread Pierre-Yves David
Hello everyone, Google is offering to host us in Mountain View, So we need to pick a week-end for the sprint. There is current 3 people who filled up there availability, we can probably expect a bigger turn around. Please update your availability on the wiki page so that we can choose a date

Re: [PATCH RFC v7] scmutil: add a simple key-value file helper

2016-12-15 Thread Kostia Balytskyi
On 12/15/16 4:49 PM, Augie Fackler wrote: > On Wed, Dec 14, 2016 at 03:17:42AM +0100, Pierre-Yves David wrote: >> >> On 12/06/2016 10:53 PM, Jun Wu wrote: >>> Excerpts from Kostia Balytskyi's message of 2016-12-06 13:41:07 -0800: class CorruptedState(Exception): """error raised

Re: [PATCH 1 of 5 pure-fix] tests: migrate test-bdiff.py to use unittest (part 1 of 4)

2016-12-15 Thread Pierre-Yves David
On 12/15/2016 05:36 PM, Augie Fackler wrote: On Thu, Dec 15, 2016 at 11:32 AM, Augie Fackler wrote: @@ -1,44 +1,52 @@ from __future__ import absolute_import, print_function +import silenttestrunner import struct +import unittest + I got some weirdly inconsistent

[Bug 5449] New: Search for changesets by partial node ID

2016-12-15 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5449 Bug ID: 5449 Summary: Search for changesets by partial node ID Product: Mercurial Version: unspecified Hardware: PC OS: Windows Status: UNCONFIRMED

[Bug 5448] New: hg log truncates revision name if revision does not exist

2016-12-15 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5448 Bug ID: 5448 Summary: hg log truncates revision name if revision does not exist Product: Mercurial Version: 4.0 Hardware: PC OS: Windows Status:

Re: [PATCH 1 of 5 pure-fix] tests: migrate test-bdiff.py to use unittest (part 1 of 4)

2016-12-15 Thread Augie Fackler
On Thu, Dec 15, 2016 at 11:32 AM, Augie Fackler wrote: > @@ -1,44 +1,52 @@ > from __future__ import absolute_import, print_function > +import silenttestrunner > import struct > +import unittest > + I got some weirdly inconsistent import-checking behavior out of these lines on

[PATCH 1 of 5 pure-fix] tests: migrate test-bdiff.py to use unittest (part 1 of 4)

2016-12-15 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1481814615 18000 # Thu Dec 15 10:10:15 2016 -0500 # Node ID 0aae265cd9708228fc3615b994ef8cdb31060c74 # Parent be0e7af80543cbd711fc91135d0c9f51dafba452 tests: migrate test-bdiff.py to use unittest (part 1 of 4) This moves

[PATCH 3 of 5 pure-fix] tests: update more of test-bdiff.py to use unittest (part 3 of 4)

2016-12-15 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1481817386 18000 # Thu Dec 15 10:56:26 2016 -0500 # Node ID 3ec7ac3ed6743453db65e76147b4c296f6834a54 # Parent 609ce0f260cb7203f547abb770fb7efae08eb448 tests: update more of test-bdiff.py to use unittest (part 3 of 4) diff

[PATCH 5 of 5 pure-fix] tests: fix test-bdiff to handle variance between pure and c bdiff code

2016-12-15 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1481818440 18000 # Thu Dec 15 11:14:00 2016 -0500 # Node ID 774639bc892b7576a53a672dd4a4492a536f8f0f # Parent afa152bbdf097667c095f054d78463bf6d8a666a tests: fix test-bdiff to handle variance between pure and c bdiff code

[PATCH 2 of 5 pure-fix] tests: update more of test-bdiff.py to use unittest (part 2 of 4)

2016-12-15 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1481817006 18000 # Thu Dec 15 10:50:06 2016 -0500 # Node ID 609ce0f260cb7203f547abb770fb7efae08eb448 # Parent 0aae265cd9708228fc3615b994ef8cdb31060c74 tests: update more of test-bdiff.py to use unittest (part 2 of 4) diff

mercurial@30564: 3 new changesets

2016-12-15 Thread Mercurial Commits
3 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/b3a9ef3d30e8 changeset: 30562:b3a9ef3d30e8 user:Gregory Szorc date:Mon Nov 28 20:46:59 2016 -0800 summary: protocol: declare transport protocol name

Re: [PATCH 3 of 3 V3] memctx: allow the memlightctx thats reusing the manifest node

2016-12-15 Thread Yuya Nishihara
On Mon, 21 Nov 2016 08:13:32 -0800, Mateusz Kwapich wrote: > # HG changeset patch > # User Mateusz Kwapich > # Date 1479744581 28800 > # Mon Nov 21 08:09:41 2016 -0800 > # Node ID 4af70f21264ac8e52d9b218080bbc96ee5505606 > # Parent 4a0824bead3ba5980bd8528937fba5f7bb31ba9f

Re: [PATCH 2 of 2] bdiff: early pruning of common suffix before doing expensive computations

2016-12-15 Thread Pierre-Yves David
On 12/15/2016 02:59 PM, Augie Fackler wrote: On Thu, Dec 15, 2016 at 8:55 AM, Pierre-Yves David wrote: The previous changesets (already public) is also breaking pure. Can one of you submit the necessary test update? Yeah, I'll draft it and push it within the

Re: [PATCH 2 of 2] bdiff: early pruning of common suffix before doing expensive computations

2016-12-15 Thread Augie Fackler
On Thu, Dec 15, 2016 at 8:55 AM, Pierre-Yves David wrote: > The previous changesets (already public) is also breaking pure. Can one of > you submit the necessary test update? Yeah, I'll draft it and push it within the next hour.

Re: [PATCH 2 of 2] bdiff: early pruning of common suffix before doing expensive computations

2016-12-15 Thread Pierre-Yves David
On 12/15/2016 02:09 PM, Augie Fackler wrote: On Dec 15, 2016, at 8:02 AM, Yuya Nishihara wrote: On Thu, 15 Dec 2016 09:01:11 +0100, Pierre-Yves David wrote: On 11/17/2016 06:16 PM, Mads Kiilerich wrote: # HG changeset patch # User Mads Kiilerich # Date

Re: [PATCH 2 of 2] bdiff: early pruning of common suffix before doing expensive computations

2016-12-15 Thread Augie Fackler
> On Dec 15, 2016, at 8:02 AM, Yuya Nishihara wrote: > > On Thu, 15 Dec 2016 09:01:11 +0100, Pierre-Yves David wrote: >> On 11/17/2016 06:16 PM, Mads Kiilerich wrote: >>> # HG changeset patch >>> # User Mads Kiilerich >>> # Date 1479322051 -3600 >>> #

Re: [PATCH 2 of 2] bdiff: early pruning of common suffix before doing expensive computations

2016-12-15 Thread Yuya Nishihara
On Thu, 15 Dec 2016 09:01:11 +0100, Pierre-Yves David wrote: > On 11/17/2016 06:16 PM, Mads Kiilerich wrote: > > # HG changeset patch > > # User Mads Kiilerich > > # Date 1479322051 -3600 > > # Wed Nov 16 19:47:31 2016 +0100 > > # Node ID

Re: [PATCH] perf: add historical support of ui.load()

2016-12-15 Thread Yuya Nishihara
On Thu, 15 Dec 2016 12:21:09 +0100, Philippe Pepiot wrote: > # HG changeset patch > # User Philippe Pepiot > # Date 1481800628 -3600 > # Thu Dec 15 12:17:08 2016 +0100 > # Node ID f4b496c8abf1af7b1dedd83a09c0a30e94f61a59 > # Parent

Re: [PATCH] perf: add historical support of ui.load()

2016-12-15 Thread Jun Wu
Looks good to me. Excerpts from Philippe Pepiot's message of 2016-12-15 12:21:09 +0100: > # HG changeset patch > # User Philippe Pepiot > # Date 1481800628 -3600 > # Thu Dec 15 12:17:08 2016 +0100 > # Node ID f4b496c8abf1af7b1dedd83a09c0a30e94f61a59 > # Parent

[PATCH] perf: add historical support of ui.load()

2016-12-15 Thread Philippe Pepiot
# HG changeset patch # User Philippe Pepiot # Date 1481800628 -3600 # Thu Dec 15 12:17:08 2016 +0100 # Node ID f4b496c8abf1af7b1dedd83a09c0a30e94f61a59 # Parent 7c0c722d568dd7120634f8ed7044cabdb9493f43 perf: add historical support of ui.load() ui.load() has been