Re: [PATCH 1 of 5] extdata: add extdatasource reader

2016-10-05 Thread Mathias De Maré
On Thu, Sep 22, 2016 at 8:21 PM, Matt Mackall wrote: > # HG changeset patch > # User Matt Mackall > # Date 1473794045 18000 > # Tue Sep 13 14:14:05 2016 -0500 > # Node ID 19bf2776dfe39befdc479253e1e7d030b41c08f9 > # Parent

Re: [PATCH 2 of 2 V2] changelog: disable delta chains

2016-10-05 Thread Gregory Szorc
> On Oct 5, 2016, at 17:39, Ryan McElroy wrote: > >> On 10/2/2016 6:33 PM, Gregory Szorc wrote: >> # HG changeset patch >> # User Gregory Szorc >> # Date 1475429177 25200 >> # Sun Oct 02 10:26:17 2016 -0700 >> # Node ID

Re: [PATCH 3 of 3] revlog: read index data using mmap

2016-10-05 Thread Jun Wu
Excerpts from Yuya Nishihara's message of 2016-10-05 19:50:33 +0900: > On Tue, 4 Oct 2016 15:59:45 +0100, Jun Wu wrote: > > # HG changeset patch > > # User Jun Wu > > # Date 1475550701 -3600 > > # Tue Oct 04 04:11:41 2016 +0100 > > # Node ID

Re: [PATCH 3 of 3] revlog: read index data using mmap

2016-10-05 Thread timeless
http://bugs.python.org/issue16212 Title: mmap() dumps core upon resizing the underlying file Type: crash Stage: needs patch Components: IO Versions: Python 3.4, Python 3.2, Python 3.3 > It's not specific to the zero size truncation, it's enough if the file size > decreases beyond a page border.

Re: [PATCH 02 of 11] copies: limit is an optimization, and doesn't provide guarantees (issue4028)

2016-10-05 Thread timeless
As noted elsewhere, the issue tag should only be applied to the commit that actually fixes the issue, not any commits leading up to that commit. ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org

Re: [PATCH 01 of 11] copies: style fixes and add comment (issue4028)

2016-10-05 Thread timeless
> @@ -331,7 +331,8 @@ > m2 = c2.manifest() > ma = ca.manifest() > > -copy1, copy2, = {}, {} > +# see checkcopies documentation below for these dicts > +copy1, copy2 = {}, {} I've been meaning to ask: Do we know why this is a -1+2 instead of a -0+1 diff?

Re: [PATCH 00 of 11 ] graft: support grafting across move/copy (issue4028)

2016-10-05 Thread timeless
You shouldn't be sending part 0, that's been deprecated for a while. I wonder why your system encouraged it... ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Re: [PATCH 3 of 8 V5] bundle2: add `bookmarks` part handler

2016-10-05 Thread Stanislau Hlebik
Calling prepushkey and pushkey hook from `bookmarks` part seems a bit hacky and my current local implementation is not very pleasant. I'll try to come up with smth better On 10/5/16, 5:59 PM, "Stanislau Hlebik" wrote: What does binary encoding for bookmarks mean? Or you are

Re: [PATCH 2 of 4] bisect: extract the 'reset' logic into its own function

2016-10-05 Thread Ryan McElroy
On 10/3/2016 3:37 PM, Pierre-Yves David wrote: # HG changeset patch # User Pierre-Yves David # Date 1472004833 -7200 # Wed Aug 24 04:13:53 2016 +0200 # Node ID efd8013b1521399d07ca956c1cba7bd9f7dfc6e0 # Parent ec6cb977f8e62bf13f86c3a7ebbee182ae50422e #

Re: [PATCH 2 of 2 V2] changelog: disable delta chains

2016-10-05 Thread Ryan McElroy
On 10/2/2016 6:33 PM, Gregory Szorc wrote: # HG changeset patch # User Gregory Szorc # Date 1475429177 25200 # Sun Oct 02 10:26:17 2016 -0700 # Node ID 20c0d05c4f8e9f6f0c64cf17cd8fb89530ba0af3 # Parent b4ca569d38c9e35f542b90868f86247ad8844b4c changelog: disable

[PATCH 2 of 2] py3: handle multiple arguments in .encode() and .decode()

2016-10-05 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1475596407 -19800 # Tue Oct 04 21:23:27 2016 +0530 # Node ID 535c77a356a09c0319c9a794bdbec18e9ebb57b2 # Parent 51e49c041614b463953b3973d5b58d8bbdcbbab3 py3: handle multiple arguments in .encode() and .decode() There is a

[PATCH 1 of 2] py3: convert to unicode to pass into encode()

2016-10-05 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1475594763 -19800 # Tue Oct 04 20:56:03 2016 +0530 # Node ID 51e49c041614b463953b3973d5b58d8bbdcbbab3 # Parent d24e03da24b52618f94005928970dde901f44e56 py3: convert to unicode to pass into encode() encoding.encoding is

Re: [PATCH 2 of 2 V2] changelog: disable delta chains

2016-10-05 Thread Gregory Szorc
On Tue, Oct 4, 2016 at 6:27 PM, timeless wrote: > Are repositories locally compatible with older versions of hg? > > I'm pretty sure from what you've written that they're wire compatible with > older versions. > Yes. This commit changes the default behavior of the revlog to

[PATCH] check-commit: allow underscore as commit topic

2016-10-05 Thread Mathias De Maré
# HG changeset patch # User Mathias De Maré # Date 1475674114 -7200 # Wed Oct 05 15:28:34 2016 +0200 # Node ID 88b22f2c1aee03d452e8b125442c69cd8bb62703 # Parent 1779dde4c9ef97cb242f8d501655f236f66e5439 check-commit: allow underscore as commit topic It's currently

[PATCH] bashcompletion: allow skipping completion for 'hg status'

2016-10-05 Thread Mathias De Maré
# HG changeset patch # User Mathias De Maré # Date 1474879657 -7200 # Mon Sep 26 10:47:37 2016 +0200 # Node ID 1ad8d68d6e495200969a650992f9cf7ff3f934d1 # Parent 1779dde4c9ef97cb242f8d501655f236f66e5439 bashcompletion: allow skipping completion for 'hg status'

[PATCH 09 of 11] mergecopies: process rotated-DAG divergences from _checkcopies (issue4028)

2016-10-05 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1475578314 -7200 # Tue Oct 04 12:51:54 2016 +0200 # Node ID bbc77d871f41a85db381b57acfe6dc550bb40506 # Parent 8ae0f32d74ea2fe2a4b47b9b36624459b3c1531f mergecopies: process rotated-DAG divergences from _checkcopies

[PATCH 10 of 11] graft: enable rotated-DAG copy tracing (issue4028)

2016-10-05 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1475512693 -7200 # Mon Oct 03 18:38:13 2016 +0200 # Node ID 4b963243504357812d13fa5c824f60253e0ba448 # Parent bbc77d871f41a85db381b57acfe6dc550bb40506 graft: enable rotated-DAG copy tracing (issue4028) Graft performs

[PATCH 11 of 11] update: enable copy tracing for backwards and non-linear updates (issue4028)

2016-10-05 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1472155346 -7200 # Thu Aug 25 22:02:26 2016 +0200 # Node ID 548610449759c452d307dbcc92a9bf8fbba46140 # Parent 4b963243504357812d13fa5c824f60253e0ba448 update: enable copy tracing for backwards and non-linear updates

[PATCH 08 of 11] copies: make _checkcopies handle divergences in rotated DAG (issue4028)

2016-10-05 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1475588323 -7200 # Tue Oct 04 15:38:43 2016 +0200 # Node ID 8ae0f32d74ea2fe2a4b47b9b36624459b3c1531f # Parent 08f08a606c0444a5033bd8fa28da4482713a4ea7 copies: make _checkcopies handle divergences in rotated DAG

[PATCH 04 of 11] copies: mark checkcopies as internal with the _ prefix (issue4028)

2016-10-05 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1475493896 -7200 # Mon Oct 03 13:24:56 2016 +0200 # Node ID a2b50d0c5dc69a4ce15b6a54d030e478c0f4cc41 # Parent 15adeba2cc0fdea04c81404fcb4092cae816de17 copies: mark checkcopies as internal with the _ prefix (issue4028)

[PATCH 01 of 11] copies: style fixes and add comment (issue4028)

2016-10-05 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1475493511 -7200 # Mon Oct 03 13:18:31 2016 +0200 # Node ID cfc612bc0aa84bd1d6b0a3fe67ee6385e0d9685b # Parent 1779dde4c9ef97cb242f8d501655f236f66e5439 copies: style fixes and add comment (issue4028) diff -r

[PATCH 02 of 11] copies: limit is an optimization, and doesn't provide guarantees (issue4028)

2016-10-05 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1475504395 -7200 # Mon Oct 03 16:19:55 2016 +0200 # Node ID 39fce69a645a8f1f20d67ed953d5822212fb81d0 # Parent cfc612bc0aa84bd1d6b0a3fe67ee6385e0d9685b copies: limit is an optimization, and doesn't provide guarantees

[PATCH 03 of 11] copies: split u1/u2 to u1u/u2u and u1r/u2r (issue4028)

2016-10-05 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1475493799 -7200 # Mon Oct 03 13:23:19 2016 +0200 # Node ID 15adeba2cc0fdea04c81404fcb4092cae816de17 # Parent 39fce69a645a8f1f20d67ed953d5822212fb81d0 copies: split u1/u2 to u1u/u2u and u1r/u2r (issue4028) These will

[PATCH 06 of 11] copies: update _checkcopies to work in a rotated DAG (issue4028)

2016-10-05 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1475588213 -7200 # Tue Oct 04 15:36:53 2016 +0200 # Node ID bafc2ca54704ce4c8cbfc5b4be7ff21e17e789c4 # Parent bc8729a69d10d61498712d5dab773918f1edcde0 copies: update _checkcopies to work in a rotated DAG (issue4028)

[PATCH 05 of 11] copies: don't record divergence for files needing no merge (issue4028)

2016-10-05 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1475494199 -7200 # Mon Oct 03 13:29:59 2016 +0200 # Node ID bc8729a69d10d61498712d5dab773918f1edcde0 # Parent a2b50d0c5dc69a4ce15b6a54d030e478c0f4cc41 copies: don't record divergence for files needing no merge

[PATCH 00 of 11 ] graft: support grafting across move/copy (issue4028)

2016-10-05 Thread Gábor Stefanik
Graft performs a merge in a rotated DAG (with a false common ancestor), which must be taken into account when tracking copies. Find the real common ancestor in this case, and track copies between the real and false common ancestors in reverse. Using this change, when grafting a commit with a

RE: [PATCH 06 of 11] ?copies: update _checkcopies to work in a rotated DAG (issue4028)

2016-10-05 Thread Gábor STEFANIK
> -- This message, including its attachments, is confidential. For more information please read NNG's email policy here: http://www.nng.com/emailpolicy/ By responding to this email you accept the email policy.

[PATCH 08 of 11] copies: make _checkcopies handle divergences in rotated DAG (issue4028)

2016-10-05 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1475588323 -7200 # Tue Oct 04 15:38:43 2016 +0200 # Node ID 297284e495a7681f977fa486776b85beaa17d978 # Parent 189775497cc98cf105632c8f666114cdc6f1141f copies: make _checkcopies handle divergences in rotated DAG

[PATCH 11 of 11] update: enable copy tracing for backwards and non-linear updates (issue4028)

2016-10-05 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1472155346 -7200 # Thu Aug 25 22:02:26 2016 +0200 # Node ID ad7e51a1e7ea3d9b0be6d90313254abd4acbcd0c # Parent 940a39a7611e80821d9684004716a7e41feb0dd1 update: enable copy tracing for backwards and non-linear updates

[PATCH 09 of 11] mergecopies: process rotated-DAG divergences from _checkcopies (issue4028)

2016-10-05 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1475578314 -7200 # Tue Oct 04 12:51:54 2016 +0200 # Node ID e0f4a58d7f3afb57dd4c3f041490cc5da6b7024b # Parent 297284e495a7681f977fa486776b85beaa17d978 mergecopies: process rotated-DAG divergences from _checkcopies

[PATCH 06 of 11] ?copies: update _checkcopies to work in a rotated DAG (issue4028)

2016-10-05 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1475588213 -7200 # Tue Oct 04 15:36:53 2016 +0200 # Node ID fc6190cdbebfab4a3cff72f213018fcc30b8f25c # Parent bc8729a69d10d61498712d5dab773918f1edcde0 ?copies: update _checkcopies to work in a rotated DAG (issue4028)

[PATCH 07 of 11] mergecopies: introduce new dicts to handle more complex copy cases (issue4028)

2016-10-05 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1475494736 -7200 # Mon Oct 03 13:38:56 2016 +0200 # Node ID 189775497cc98cf105632c8f666114cdc6f1141f # Parent fc6190cdbebfab4a3cff72f213018fcc30b8f25c mergecopies: introduce new dicts to handle more complex copy cases

[PATCH 03 of 11] copies: split u1/u2 to u1u/u2u and u1r/u2r (issue4028)

2016-10-05 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1475493799 -7200 # Mon Oct 03 13:23:19 2016 +0200 # Node ID 15adeba2cc0fdea04c81404fcb4092cae816de17 # Parent 39fce69a645a8f1f20d67ed953d5822212fb81d0 copies: split u1/u2 to u1u/u2u and u1r/u2r (issue4028) These will

[PATCH 01 of 11] copies: style fixes and add comment (issue4028)

2016-10-05 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1475493511 -7200 # Mon Oct 03 13:18:31 2016 +0200 # Node ID cfc612bc0aa84bd1d6b0a3fe67ee6385e0d9685b # Parent 1779dde4c9ef97cb242f8d501655f236f66e5439 copies: style fixes and add comment (issue4028) diff -r

[PATCH 02 of 11] copies: limit is an optimization, and doesn't provide guarantees (issue4028)

2016-10-05 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1475504395 -7200 # Mon Oct 03 16:19:55 2016 +0200 # Node ID 39fce69a645a8f1f20d67ed953d5822212fb81d0 # Parent cfc612bc0aa84bd1d6b0a3fe67ee6385e0d9685b copies: limit is an optimization, and doesn't provide guarantees

RE: [PATCH 10 of 11] graft: enable rotated-DAG copy tracing (issue4028)

2016-10-05 Thread Gábor STEFANIK
> -- This message, including its attachments, is confidential. For more information please read NNG's email policy here: http://www.nng.com/emailpolicy/ By responding to this email you accept the email policy.

[PATCH] mail: Take --encoding and HGENCODING into account

2016-10-05 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1475667922 -7200 # Wed Oct 05 13:45:22 2016 +0200 # Node ID 85a6a72d4868c20c066ae4add380b70d13c1c2df # Parent 1779dde4c9ef97cb242f8d501655f236f66e5439 mail: Take --encoding and HGENCODING into account Fall back to

Re: [PATCH 3 of 3] revlog: read index data using mmap

2016-10-05 Thread Jun Wu
Excerpts from Bryan O'Sullivan's message of 2016-10-05 03:29:09 +0100: > So using mmap from /dev/zero means "give me zero-filled memory", and the > Linux kernel special-cases this to perform no I/O at all. > > It is most definitely not safe to use mmap for I/O on all files by default, > as the

[PATCH] test: árvíztűrő tükörfúrógép: encoding test, please ignore

2016-10-05 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1475661503 -7200 # Wed Oct 05 11:58:23 2016 +0200 # Node ID 658fa7712ae4ba902354a5367b5a5a81ac7fcff9 # Parent 1779dde4c9ef97cb242f8d501655f236f66e5439 test: árvíztűrő tükörfúrógép: encoding test, please ignore diff

Re: [PATCH 7 of 8 V5] exchange: use `bookmarks` bundle2 part

2016-10-05 Thread Stanislau Hlebik
Hey. Sorry for late response. To run `bookmod.updatefromremote()` from part handler we need to pass url of the remote and explicitly requested bookmarks to `bookmarks` part handler. That means that we either need to create bundleoperation() in _pullbundle2() method and pass it to

[Bug 5390] New: Error running ?cmd=batch : "ValueError: need more than 0 values to unpack"

2016-10-05 Thread bugzilla
https://bz.mercurial-scm.org/show_bug.cgi?id=5390 Bug ID: 5390 Summary: Error running ?cmd=batch : "ValueError: need more than 0 values to unpack" Product: Mercurial Version: 3.8.1 Hardware: PC OS: Windows