[PATCH 6 of 7] repair: open a file with checkambig=True to avoid file stat ambiguity

2016-09-16 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1474057498 -32400 # Sat Sep 17 05:24:58 2016 +0900 # Node ID 582f1b85d9fbc727ddc4fe2c24cbcf3ccb82c249 # Parent 2033102d2ea9b32e88b5289b4ad359b4e3e7b400 repair: open a file with checkambig=True to avoid file stat

[PATCH 4 of 7] manifest: use specific opener to avoid file stat ambiguity around truncation

2016-09-16 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1474057496 -32400 # Sat Sep 17 05:24:56 2016 +0900 # Node ID 55bd90d63ad3a76fd4d27d5eabb3fe9a7fa0642b # Parent 71b6b49f8a7ab6c894028b9153290f4bbf0f54f6 manifest: use specific opener to avoid file stat ambiguity

[PATCH 7 of 7] transaction: open a file with checkambig=True to avoid file stat ambiguity

2016-09-16 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1474057498 -32400 # Sat Sep 17 05:24:58 2016 +0900 # Node ID a7e512ac0968ed851bff0d95c002dac140582899 # Parent 582f1b85d9fbc727ddc4fe2c24cbcf3ccb82c249 transaction: open a file with checkambig=True to avoid file

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

2016-09-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1472155346 -7200 # Thu Aug 25 22:02:26 2016 +0200 # Node ID b22d776b95453c8125f514bf5d1b64b2cdc4d663 # Parent 63a2ea1bc3aa51caaf22bdfe31e7ae685ac3894f update: enable copy tracing for backwards and non-linear updates

[PATCH 1 of 2 v9] graft: support grafting across move/copy (issue4028)

2016-09-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1474058125 -7200 # Fri Sep 16 22:35:25 2016 +0200 # Node ID 63a2ea1bc3aa51caaf22bdfe31e7ae685ac3894f # Parent 285a8c3e53f2183438f0cdbc238e4ab851d0d110 graft: support grafting across move/copy (issue4028) Graft

Re: [PATCH 1 of 8 V5] exchange: add `_getbookmarks()` function

2016-09-16 Thread Pierre-Yves David
On 09/16/2016 01:10 PM, Stanislau Hlebik wrote: # HG changeset patch # User Stanislau Hlebik # Date 1473172001 25200 # Tue Sep 06 07:26:41 2016 -0700 # Node ID b25504471680d6d14f3096997760bc3acd76089d # Parent f148bfa40489269be2e48046734f81065129847a exchange: add

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

2016-09-16 Thread Pierre-Yves David
On 09/16/2016 01:10 PM, Stanislau Hlebik wrote: # HG changeset patch # User Stanislau Hlebik # Date 1473954485 25200 # Thu Sep 15 08:48:05 2016 -0700 # Node ID 837f2f1650ebf323b46924040f180fc966e80fbf # Parent 4ace3cd7d2d2e1d63f0811034467e7b7e9719861 exchange: use

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

2016-09-16 Thread Pierre-Yves David
On 09/16/2016 01:10 PM, Stanislau Hlebik wrote: # HG changeset patch # User Stanislau Hlebik # Date 1473954996 25200 # Thu Sep 15 08:56:36 2016 -0700 # Node ID 3456cba8a4879e74f3b928df321ce7e7c695fb4c # Parent f3fb030f0e4601561ac94137c7481694407db7b7 bundle2: add

Re: [PATCH V4] update: warn if cwd was deleted

2016-09-16 Thread Pierre-Yves David
On 09/14/2016 05:05 PM, Stanislau Hlebik wrote: # HG changeset patch # User Stanislau Hlebik # Date 1473865427 25200 # Wed Sep 14 08:03:47 2016 -0700 # Node ID 84ef6a5bc6556f59ed8935a5f716be53a6e17951 # Parent f148bfa40489269be2e48046734f81065129847a update: warn if cwd

[PATCH 3 of 3 v4] help: mark boolean flags with [?] and explain that they can be negated (RFC)

2016-09-16 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1473821892 14400 # Tue Sep 13 22:58:12 2016 -0400 # Node ID bc6e18d8c469a1671c2d6725da5771fed3972323 # Parent aea18fa52d954e234fdfd1d24d3f37f0cb03dc60 help: mark boolean flags with [?] and explain that they can be negated

[PATCH 1 of 3 v4] flags: allow specifying --no-boolean-flag on the command line (BC)

2016-09-16 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1473821877 14400 # Tue Sep 13 22:57:57 2016 -0400 # Node ID cb57a762749f29065635d0480bf5c87c644ba0c5 # Parent 285a8c3e53f2183438f0cdbc238e4ab851d0d110 flags: allow specifying --no-boolean-flag on the command line (BC) This

Re: [PATCH 2 of 7 v3 flags] fancyopts: disallow true as a boolean flag default (API)

2016-09-16 Thread Pierre-Yves David
On 09/16/2016 04:33 PM, Augie Fackler wrote: On Fri, Sep 16, 2016 at 10:29 AM, Pierre-Yves David > wrote: On 09/14/2016 05:11 AM, Augie Fackler wrote: # HG changeset patch #

[Bug 5371] New: Inconsistent grafting behaviour for "hg graft" with origins and their destinations

2016-09-16 Thread bugzilla
https://bz.mercurial-scm.org/show_bug.cgi?id=5371 Bug ID: 5371 Summary: Inconsistent grafting behaviour for "hg graft" with origins and their destinations Product: Mercurial Version: stable branch Hardware: PC

Re: news from the topic experiment

2016-09-16 Thread David Demelier
2016-09-14 21:14 GMT+02:00 Pierre-Yves David : > In the past couple of weeks I made a couple of extra changes to the topic > experiment, > > 'hg topic --verbose' got a large update and now list various information > about the topics, this should help people getting

Re: [PATCH 2 of 7 v3 flags] fancyopts: disallow true as a boolean flag default (API)

2016-09-16 Thread Augie Fackler
On Fri, Sep 16, 2016 at 10:29 AM, Pierre-Yves David < pierre-yves.da...@ens-lyon.org> wrote: > >>> On 09/14/2016 05:11 AM, Augie Fackler wrote: >>> # HG changeset patch # User Augie Fackler # Date 1472584421 14400 # Tue Aug 30 15:13:41 2016 -0400 #

Re: [PATCH 2 of 7 v3 flags] fancyopts: disallow true as a boolean flag default (API)

2016-09-16 Thread Pierre-Yves David
On 09/16/2016 04:16 PM, Yuya Nishihara wrote: On Fri, 16 Sep 2016 15:48:32 +0200, Pierre-Yves David wrote: On 09/14/2016 06:37 PM, Yuya Nishihara wrote: On Wed, 14 Sep 2016 11:52:59 -0400, Augie Fackler wrote: On Sep 14, 2016, at 11:30, Yuya Nishihara wrote: Is the idea

Re: [PATCH 2 of 7 v3 flags] fancyopts: disallow true as a boolean flag default (API)

2016-09-16 Thread Pierre-Yves David
On 09/14/2016 05:11 AM, Augie Fackler wrote: # HG changeset patch # User Augie Fackler # Date 1472584421 14400 # Tue Aug 30 15:13:41 2016 -0400 # Node ID 828f260114a3a55e246cb5de434e75bdc782e4ad # Parent 600be3c9acee0ec14bd19c032cc0480e4501fe8c fancyopts: disallow true

Re: [PATCH 2 of 7 v3 flags] fancyopts: disallow true as a boolean flag default (API)

2016-09-16 Thread Pierre-Yves David
On 09/14/2016 06:37 PM, Yuya Nishihara wrote: On Wed, 14 Sep 2016 11:52:59 -0400, Augie Fackler wrote: On Sep 14, 2016, at 11:30, Yuya Nishihara wrote: Is the idea something like: fancyopts.py: unsetbool = object() in commands.py: diffopts = [ - ('a', 'text', None,

Re: [PATCH] py3: have an utility function to return string

2016-09-16 Thread Yuya Nishihara
On Thu, 15 Sep 2016 23:59:59 +0530, Pulkit Goyal wrote: > On Thu, Sep 15, 2016 at 7:06 PM, Yuya Nishihara wrote: > > On Wed, 14 Sep 2016 22:45:27 +0530, Pulkit Goyal wrote: > >> # HG changeset patch > >> # User Pulkit Goyal <7895pul...@gmail.com> > >> # Date 1473787789 -19800 > >>

Re: news from the topic experiment

2016-09-16 Thread Pierre-Yves David
On 09/15/2016 07:27 PM, Durham Goode wrote: On 9/14/16 12:14 PM, Pierre-Yves David wrote: Example output for messy state: ### topic: vfs.ward (2 heads) ### branch: default, 189 behind t7$ reposvfs: add a ward to check if locks are properly... (unstable) t6@ mq: release lock after transaction

Re: [PATCH 4 of 4] revset: make sort() noop depending on ordering requirement (BC)

2016-09-16 Thread Pierre-Yves David
On 09/14/2016 06:40 PM, Yuya Nishihara wrote: # HG changeset patch # User Yuya Nishihara # Date 1462250172 -32400 # Tue May 03 13:36:12 2016 +0900 # Node ID 062fc2b7adb13fc714c897e9fa5edc02b77555d4 # Parent 849cc143ef7a4a95813f91618db6353018939c46 revset: make sort() noop

[PATCH 1 of 8 V5] exchange: add `_getbookmarks()` function

2016-09-16 Thread Stanislau Hlebik
# HG changeset patch # User Stanislau Hlebik # Date 1473172001 25200 # Tue Sep 06 07:26:41 2016 -0700 # Node ID b25504471680d6d14f3096997760bc3acd76089d # Parent f148bfa40489269be2e48046734f81065129847a exchange: add `_getbookmarks()` function This function will be used to

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

2016-09-16 Thread Stanislau Hlebik
# HG changeset patch # User Stanislau Hlebik # Date 1473954485 25200 # Thu Sep 15 08:48:05 2016 -0700 # Node ID 837f2f1650ebf323b46924040f180fc966e80fbf # Parent 4ace3cd7d2d2e1d63f0811034467e7b7e9719861 exchange: use `bookmarks` bundle2 part Apply changes from `bookmarks`

[PATCH 8 of 8 V5] bundle2: advertise bookmark capability

2016-09-16 Thread Stanislau Hlebik
# HG changeset patch # User Stanislau Hlebik # Date 1473954507 25200 # Thu Sep 15 08:48:27 2016 -0700 # Node ID b7ff3e9d19041d87bc31ff21e9c3bb2e5e3d857d # Parent 837f2f1650ebf323b46924040f180fc966e80fbf bundle2: advertise bookmark capability diff --git a/mercurial/bundle2.py

[PATCH 6 of 8 V5] exchange: add `pushbookmarks` part generator

2016-09-16 Thread Stanislau Hlebik
# HG changeset patch # User Stanislau Hlebik # Date 1473954507 25200 # Thu Sep 15 08:48:27 2016 -0700 # Node ID 4ace3cd7d2d2e1d63f0811034467e7b7e9719861 # Parent b20ca1e0104fe34775f581295a0d0112dad80cb5 exchange: add `pushbookmarks` part generator New generator instead of the

[PATCH 5 of 8 V5] exchange: getbundle `bookmarks` part generator

2016-09-16 Thread Stanislau Hlebik
# HG changeset patch # User Stanislau Hlebik # Date 1473953140 25200 # Thu Sep 15 08:25:40 2016 -0700 # Node ID b20ca1e0104fe34775f581295a0d0112dad80cb5 # Parent 7dd18199a5c4e890b634312684a1a05db2fbaac9 exchange: getbundle `bookmarks` part generator This generator will be

Re: [PATCH] py3: have an utility function to return string

2016-09-16 Thread Martijn Pieters
On 16 September 2016 at 11:09, Pierre-Yves David wrote: >>> +return word.decode(sys.getfilesystemencoding()) >> >> >> Can we assume 'word' was encoded in file-system codec? No, this is being used for *source code literals*, so getfilesystemencoding is the

Re: [PATCH 1 of 2 v2] crecord: delete commented line

2016-09-16 Thread Pierre-Yves David
On 09/15/2016 08:49 PM, Nathan Goldbaum wrote: # HG changeset patch # User Nathan Goldbaum # Date 1473871187 18000 # Wed Sep 14 11:39:47 2016 -0500 # Node ID dec5dfcbd772a9f51674067ad18dff6d9bad78cf # Parent 2c302c6544511b37abe61ee2cc5278e4f61d5e71 crecord: delete

[Bug 5370] New: Rebase should be done in topological order

2016-09-16 Thread bugzilla
https://bz.mercurial-scm.org/show_bug.cgi?id=5370 Bug ID: 5370 Summary: Rebase should be done in topological order Product: Mercurial Version: unspecified Hardware: PC OS: All Status: UNCONFIRMED