Re: [PATCH] util: add a getfstype method

2017-03-11 Thread Jun Wu
Excerpts from Yuya Nishihara's message of 2017-03-03 22:07:53 +0900: > We could move finddirs() to posix.finddirs() and use it, but not sure if > it's good idea. finddirs() does not return "/", and requires an ending "/", which is a bit annoying. ___

Re: [PATCH 2 of 3] py3: introduce "control comment" to control default prefix of strings (RFC)

2017-03-11 Thread FUJIWARA Katsunori
At Sun, 12 Mar 2017 15:47:59 +0900, FUJIWARA Katsunori wrote: > > # HG changeset patch > # User FUJIWARA Katsunori > # Date 1489300851 -32400 > # Sun Mar 12 15:40:51 2017 +0900 > # Node ID 737dc31682bf11ddcd2d1523e67fcd11b53ce876 > # Parent

Re: [PATCH 4 of 5 V2] util: add a getfstype method

2017-03-11 Thread Jun Wu
Excerpts from Yuya Nishihara's message of 2017-03-11 16:48:54 -0800: > On Thu, 2 Mar 2017 22:13:30 -0800, Jun Wu wrote: > > # HG changeset patch > > # User Jun Wu > > # Date 1488521308 28800 > > # Thu Mar 02 22:08:28 2017 -0800 > > # Node ID

[PATCH 3 of 3] py3: make demandimport available on Python3 (RFC)

2017-03-11 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1489300851 -32400 # Sun Mar 12 15:40:51 2017 +0900 # Node ID fc455e59df8e6d451273105cb903e081ba646af6 # Parent 737dc31682bf11ddcd2d1523e67fcd11b53ce876 py3: make demandimport available on Python3 (RFC) Before this

[PATCH 2 of 3] py3: introduce "control comment" to control default prefix of strings (RFC)

2017-03-11 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1489300851 -32400 # Sun Mar 12 15:40:51 2017 +0900 # Node ID 737dc31682bf11ddcd2d1523e67fcd11b53ce876 # Parent 0f3cdc6061dc630d154c3fa45dfc8257d8ed9d09 py3: introduce "control comment" to control default prefix of

[PATCH 1 of 3] py3: add "b" prefix to string literals related to module policy

2017-03-11 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1489300798 -32400 # Sun Mar 12 15:39:58 2017 +0900 # Node ID 0f3cdc6061dc630d154c3fa45dfc8257d8ed9d09 # Parent 62939e0148f170b67ca8c7374f36c413b67fd387 py3: add "b" prefix to string literals related to module

Re: [PATCH V2] util: add allowhardlinks module variable

2017-03-11 Thread Augie Fackler
> On Mar 11, 2017, at 22:44, Ryan McElroy wrote: > util: add allowhardlinks module variable >>> Queued, thanks. >> >> Late to the party here, but why not do this as a config option so one >> doesn't need an extension to override this? >> > > Durham already answered my

Re: [PATCH V2] util: add allowhardlinks module variable

2017-03-11 Thread Ryan McElroy
On 3/11/17 10:37 PM, Ryan McElroy wrote: On 3/2/17 5:31 PM, Augie Fackler wrote: On Thu, Mar 02, 2017 at 10:12:51AM -0800, Durham Goode wrote: # HG changeset patch # User Durham Goode # Date 1488478360 28800 # Thu Mar 02 10:12:40 2017 -0800 # Node ID

Re: [PATCH V2] util: add allowhardlinks module variable

2017-03-11 Thread Ryan McElroy
On 3/2/17 5:31 PM, Augie Fackler wrote: On Thu, Mar 02, 2017 at 10:12:51AM -0800, Durham Goode wrote: # HG changeset patch # User Durham Goode # Date 1488478360 28800 # Thu Mar 02 10:12:40 2017 -0800 # Node ID 32c17aa5fc546a112b355e734fb71b740172cf09 # Parent

Re: [PATCH 01 of 11] bdiff: use Python memory allocator in fixws

2017-03-11 Thread Gregory Szorc
> On Mar 11, 2017, at 22:22, Ryan McElroy wrote: > >> On 3/9/17 6:27 PM, Jun Wu wrote: >> Excerpts from Augie Fackler's message of 2017-03-09 18:24:22 -0800: On Mar 9, 2017, at 18:12, Gregory Szorc wrote: On Thu, Mar 9, 2017 at 5:46 PM,

Re: [PATCH] config: honour the trusted flag in ui.configint

2017-03-11 Thread Ryan McElroy
On 3/11/17 10:22 PM, Martijn Pieters wrote: # HG changeset patch # User Martijn Pieters # Date 1489299699 28800 # Sat Mar 11 22:21:39 2017 -0800 # Node ID 8be2b42b977c09ca7405dc671e160300a887aa5e # Parent abf029200e198878a4576a87e095bd8d77d9cea9 config: honour the

[PATCH] config: honour the trusted flag in ui.configint

2017-03-11 Thread Martijn Pieters
# HG changeset patch # User Martijn Pieters # Date 1489299699 28800 # Sat Mar 11 22:21:39 2017 -0800 # Node ID 8be2b42b977c09ca7405dc671e160300a887aa5e # Parent abf029200e198878a4576a87e095bd8d77d9cea9 config: honour the trusted flag in ui.configint diff --git

Re: [PATCH 01 of 11] bdiff: use Python memory allocator in fixws

2017-03-11 Thread Ryan McElroy
On 3/9/17 6:27 PM, Jun Wu wrote: Excerpts from Augie Fackler's message of 2017-03-09 18:24:22 -0800: On Mar 9, 2017, at 18:12, Gregory Szorc wrote: On Thu, Mar 9, 2017 at 5:46 PM, Augie Fackler wrote: On Thu, Mar 09, 2017 at 01:59:09PM -0800,

[PATCH 2 of 2] rebase: add flag to require destination

2017-03-11 Thread Ryan McElroy
# HG changeset patch # User Ryan McElroy # Date 1489283611 28800 # Sat Mar 11 17:53:31 2017 -0800 # Node ID 7c7f442027b6a0cd51b1f06b01913f53f4f9e9cd # Parent a788a4660443dfc33c5c1c58eec78e20150404d9 rebase: add flag to require destination diff --git a/hgext/rebase.py

[PATCH] fancyopts: making config defaults actually override defaults

2017-03-11 Thread Rodrigo Damazio Bovendorp via Mercurial-devel
# HG changeset patch # User Rodrigo Damazio # Date 1489274373 28800 # Sat Mar 11 15:19:33 2017 -0800 # Node ID 8c833b81a994e2d3304c3b06793f536355528aab # Parent 62939e0148f170b67ca8c7374f36c413b67fd387 fancyopts: making config defaults actually override defaults This

Re: [PATCH 4 of 5 V2] util: add a getfstype method

2017-03-11 Thread Jun Wu
Excerpts from Jun Wu's message of 2017-03-11 17:13:57 -0800: > Per discussion with Augie, we have to be more conservative and couldn't > trust /proc (not to mention /etc). > > Fortunately, it seems modern Linux has a syscall to get the filesystem > information. I'm investigating the details.

Re: [PATCH 3 of 3] help: document known deficiencies with revlog format

2017-03-11 Thread FUJIWARA Katsunori
At Mon, 27 Feb 2017 12:54:02 -0800, Gregory Szorc wrote: > > # HG changeset patch > # User Gregory Szorc > # Date 1488228075 28800 > # Mon Feb 27 12:41:15 2017 -0800 > # Node ID 4ecfe89fa8c1477ab54fa8ef271589a8b20c5497 > # Parent

[PATCH 1 of 2 py3] minirst: make regular expressions bytes

2017-03-11 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1489282177 -19800 # Sun Mar 12 06:59:37 2017 +0530 # Node ID 8a0ab8f9e6a51af702e9477664c640ae271c05d2 # Parent 62939e0148f170b67ca8c7374f36c413b67fd387 minirst: make regular expressions bytes diff -r 62939e0148f1 -r

[PATCH 2 of 2 py3] minirst: make encoding.encoding unicodes to pass into encode() and decode()

2017-03-11 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1489282758 -19800 # Sun Mar 12 07:09:18 2017 +0530 # Node ID 5ffb1db4197ad77c7ea9449b7e4f40c7cfa9cebc # Parent 8a0ab8f9e6a51af702e9477664c640ae271c05d2 minirst: make encoding.encoding unicodes to pass into encode() and

Re: [PATCH 3 of 3 V3] chgcache: implement repocache

2017-03-11 Thread Jun Wu
Excerpts from Yuya Nishihara's message of 2017-03-11 15:50:43 -0800: > On Sat, 11 Mar 2017 14:54:54 -0800, Jun Wu wrote: > > Excerpts from Yuya Nishihara's message of 2017-03-11 12:54:17 -0800: > > > On Tue, 7 Mar 2017 22:35:59 -0800, Jun Wu wrote: > > > > # HG changeset patch > > > > # User Jun

[PATCH] setup: convert setupversion to unicode on Python

2017-03-11 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1489281124 28800 # Sat Mar 11 17:12:04 2017 -0800 # Node ID 8440bd7adf46c6beee6657638f4b349c754322df # Parent 718a57e95a897f4ac407ae3733a7d41e87354acb setup: convert setupversion to unicode on Python Something deep

[PATCH V2] setup: convert setupversion to unicode

2017-03-11 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1489281242 28800 # Sat Mar 11 17:14:02 2017 -0800 # Node ID 7aed668a0af18397d6d413b625d019fd5333d081 # Parent 718a57e95a897f4ac407ae3733a7d41e87354acb setup: convert setupversion to unicode Something deep in the

Re: [PATCH 4 of 5 V2] util: add a getfstype method

2017-03-11 Thread Jun Wu
Per discussion with Augie, we have to be more conservative and couldn't trust /proc (not to mention /etc). Fortunately, it seems modern Linux has a syscall to get the filesystem information. I'm investigating the details. Excerpts from Yuya Nishihara's message of 2017-03-11 16:48:54 -0800: > On

Re: [PATCH 4 of 5 V2] util: add a getfstype method

2017-03-11 Thread Yuya Nishihara
On Thu, 2 Mar 2017 22:13:30 -0800, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1488521308 28800 > # Thu Mar 02 22:08:28 2017 -0800 > # Node ID d79c818940ff7e29c76ff5e985b920885aa4e7c1 > # Parent 1cf153ec3faaef92c9ad3515372a6d8591195d6e > # Available At

Re: [PATCH 1 of 3] tests: rework util.debugstacktrace tests

2017-03-11 Thread Yuya Nishihara
On Sat, 11 Mar 2017 14:31:11 -0800, Mads Kiilerich wrote: > # HG changeset patch > # User Mads Kiilerich > # Date 1421378800 -3600 > # Fri Jan 16 04:26:40 2015 +0100 > # Node ID 56ee8fd0a885a7ba4f4da5dbe85d8844bb45df5b > # Parent 295625f1296bda9c507b9025177c4f2452408cc3

Re: [PATCH 1 of 4 v2-vfs] vfs: use repo.wvfs.unlinkpath

2017-03-11 Thread Yuya Nishihara
On Sat, 11 Mar 2017 14:08:03 -0800, Mads Kiilerich wrote: > # HG changeset patch > # User Mads Kiilerich > # Date 1421194526 -3600 > # Wed Jan 14 01:15:26 2015 +0100 > # Node ID 1325d609f2ea114ecd8c6600a0071570bdb76dcd > # Parent 295625f1296bda9c507b9025177c4f2452408cc3

Re: [PATCH 3 of 3 V3] chgcache: implement repocache

2017-03-11 Thread Yuya Nishihara
On Sat, 11 Mar 2017 14:54:54 -0800, Jun Wu wrote: > Excerpts from Yuya Nishihara's message of 2017-03-11 12:54:17 -0800: > > On Tue, 7 Mar 2017 22:35:59 -0800, Jun Wu wrote: > > > # HG changeset patch > > > # User Jun Wu > > > # Date 1488953311 28800 > > > # Tue Mar 07 22:08:31

mercurial@31308: 7 new changesets

2017-03-11 Thread Mercurial Commits
7 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/681046de87f1 changeset: 31302:681046de87f1 user:Martin von Zweigbergk date:Sat Mar 11 10:35:44 2017 -0800 summary: rebase: abort if *any* commit in rebase set is public

Re: [PATCH 3 of 3 V3] chgcache: implement repocache

2017-03-11 Thread Jun Wu
Excerpts from Yuya Nishihara's message of 2017-03-11 12:54:17 -0800: > On Tue, 7 Mar 2017 22:35:59 -0800, Jun Wu wrote: > > # HG changeset patch > > # User Jun Wu > > # Date 1488953311 28800 > > # Tue Mar 07 22:08:31 2017 -0800 > > # Node ID

Re: [PATCH] rebase: don't update state dict same way for each root

2017-03-11 Thread Kevin Bullock
> On Mar 11, 2017, at 12:32, Martin von Zweigbergk via Mercurial-devel > wrote: > > # HG changeset patch > # User Martin von Zweigbergk > # Date 1489263956 28800 > # Sat Mar 11 12:25:56 2017 -0800 > # Node ID

[PATCH 3 of 3] util: add debugstacktrace depth limit

2017-03-11 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1421194526 -3600 # Wed Jan 14 01:15:26 2015 +0100 # Node ID ce250992a9b953235c787ed6225d21ebe037cb0a # Parent dbf53b1ab67f06fcf13736c1bd91f8472a851be5 util: add debugstacktrace depth limit Useful when you don't care

[PATCH 1 of 3] tests: rework util.debugstacktrace tests

2017-03-11 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1421378800 -3600 # Fri Jan 16 04:26:40 2015 +0100 # Node ID 56ee8fd0a885a7ba4f4da5dbe85d8844bb45df5b # Parent 295625f1296bda9c507b9025177c4f2452408cc3 tests: rework util.debugstacktrace tests Prepare for adding another

[PATCH 2 of 3] util: strip trailing newline from debugstacktrace message

2017-03-11 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1421378800 -3600 # Fri Jan 16 04:26:40 2015 +0100 # Node ID dbf53b1ab67f06fcf13736c1bd91f8472a851be5 # Parent 56ee8fd0a885a7ba4f4da5dbe85d8844bb45df5b util: strip trailing newline from debugstacktrace message This makes

[PATCH 2 of 4 v2-vfs] merge: use repo.wvfs.unlinkpath

2017-03-11 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1421194526 -3600 # Wed Jan 14 01:15:26 2015 +0100 # Node ID 0f13797e5d6e08f75267b6e9c77a62d49fd0f69b # Parent 1325d609f2ea114ecd8c6600a0071570bdb76dcd merge: use repo.wvfs.unlinkpath diff --git a/mercurial/merge.py

[PATCH 4 of 4 v2-vfs] vfs: use repo.vfs.rename

2017-03-11 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1489259054 28800 # Sat Mar 11 11:04:14 2017 -0800 # Node ID 243a751bf6a01483e5f4ed4110213959d926af9f # Parent ccc0f541eec23587a03c980e001a7a7e760f6e05 vfs: use repo.vfs.rename diff --git a/hgext/mq.py b/hgext/mq.py ---

[PATCH 1 of 4 v2-vfs] vfs: use repo.wvfs.unlinkpath

2017-03-11 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1421194526 -3600 # Wed Jan 14 01:15:26 2015 +0100 # Node ID 1325d609f2ea114ecd8c6600a0071570bdb76dcd # Parent 295625f1296bda9c507b9025177c4f2452408cc3 vfs: use repo.wvfs.unlinkpath diff --git

[PATCH 07 of 10 shelve-ext v4] shelve: add shelve type saving and loading

2017-03-11 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1489250294 28800 # Sat Mar 11 08:38:14 2017 -0800 # Node ID 5179d6be9d6a33071c8a18cc48166a3f1d5ceec5 # Parent 2dbff12d9b22281c8d84328704095d72b3151388 shelve: add shelve type saving and loading We need shelve type to be

[PATCH 09 of 10 shelve-ext v4] shelve: add obs-based unshelve functionality

2017-03-11 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1489265667 28800 # Sat Mar 11 12:54:27 2017 -0800 # Node ID fb764ce7dd0b6b93cdb4449f5bb52164521b0aad # Parent e06d7fd580a798de7818adae8b65eb166ea1defd shelve: add obs-based unshelve functionality Obsolescense-based

[PATCH 10 of 10 shelve-ext v4] shelve: add logic to preserve active bookmarks

2017-03-11 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1489250294 28800 # Sat Mar 11 08:38:14 2017 -0800 # Node ID 1ea8a13f3618cb9a89bd46195f66b5943dab6f75 # Parent fb764ce7dd0b6b93cdb4449f5bb52164521b0aad shelve: add logic to preserve active bookmarks This adds an explicit

[PATCH 05 of 10 shelve-ext v4] shelve: add a function to check whether obs-based shelve is enabled

2017-03-11 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1489250294 28800 # Sat Mar 11 08:38:14 2017 -0800 # Node ID 7123aecf3dd2b468a6cd47b3615c893ea73a18ec # Parent 3b034fb4bfcfdfd7700fd43edef33d032efd4924 shelve: add a function to check whether obs-based shelve is enabled A

[PATCH 06 of 10 shelve-ext v4] shelve: add obs-based shelve functionality

2017-03-11 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1489250294 28800 # Sat Mar 11 08:38:14 2017 -0800 # Node ID 2dbff12d9b22281c8d84328704095d72b3151388 # Parent 7123aecf3dd2b468a6cd47b3615c893ea73a18ec shelve: add obs-based shelve functionality Obsolescense-based shelve

[PATCH 04 of 10 shelve-ext v4] shelve: move node-pruning functionality to be member of shelvedstate

2017-03-11 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1489191652 28800 # Fri Mar 10 16:20:52 2017 -0800 # Node ID 3b034fb4bfcfdfd7700fd43edef33d032efd4924 # Parent 8063b183d2396f14093ebe84da9cedf17b13881d shelve: move node-pruning functionality to be member of shelvedstate

[PATCH 02 of 10 shelve-ext v4] shelve: add an ability to write key-val data to a new type of shelve files

2017-03-11 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1489186989 28800 # Fri Mar 10 15:03:09 2017 -0800 # Node ID 13c8fb8e722fd0563a83e601bb784694535268f1 # Parent ca01391d61f5725c4fc79ccffe0c8e2d6dbb97f0 shelve: add an ability to write key-val data to a new type of shelve

[PATCH 03 of 10 shelve-ext v4] shelve: rename stripnodes to nodestoprune

2017-03-11 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1489191523 28800 # Fri Mar 10 16:18:43 2017 -0800 # Node ID 8063b183d2396f14093ebe84da9cedf17b13881d # Parent 13c8fb8e722fd0563a83e601bb784694535268f1 shelve: rename stripnodes to nodestoprune Since we are introducing

[PATCH 01 of 10 shelve-ext v4] scmutil: add a simple key-value file helper

2017-03-11 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1489185222 28800 # Fri Mar 10 14:33:42 2017 -0800 # Node ID ca01391d61f5725c4fc79ccffe0c8e2d6dbb97f0 # Parent 2a1b16dbb9c4760002059d97c15cd0828fb1fb60 scmutil: add a simple key-value file helper The purpose of the added

Re: [PATCH 3 of 3 V3] chgcache: implement repocache

2017-03-11 Thread Yuya Nishihara
On Tue, 7 Mar 2017 22:35:59 -0800, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1488953311 28800 > # Tue Mar 07 22:08:31 2017 -0800 > # Node ID d136f214b3a5bd4698dfd96c641ad73f96a743cb > # Parent f0bded8d53c5c9a5cfb25d29dd99cf4eb3fb79b2 > # Available At

Re: [PATCH 2 of 3 V3] chgcache: implement a smartcache layer

2017-03-11 Thread Yuya Nishihara
On Wed, 8 Mar 2017 14:41:25 -0800, Jun Wu wrote: > Excerpts from Simon Farnsworth's message of 2017-03-08 18:52:06 +: > > > +A load function usually looks like: > > > + > > > +def loadfunc(state, oldhash, oldvalue): > > > +hash = state.quickhash() > > > +if

[PATCH] rebase: don't update state dict same way for each root

2017-03-11 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1489263956 28800 # Sat Mar 11 12:25:56 2017 -0800 # Node ID d8fc11529f3f9746742c34b3089dadc86632c148 # Parent 0c8a042b193d9f19a1ba161a861f2647ae8eb80a rebase: don't update state dict same way for each root diff

Re: [PATCH 3 of 3 V2] rebase: unhide original working directory node as well (issue5219)

2017-03-11 Thread Augie Fackler
> On Mar 11, 2017, at 12:17, Kevin Bullock > wrote: > >> On Mar 11, 2017, at 10:51, Martin von Zweigbergk via Mercurial-devel >> wrote: >> >> On Sat, Mar 11, 2017 at 10:45 AM, Augie Fackler wrote: >>> On

Re: [PATCH 6 of 6 py3 v4] policy: try and always have a bytes for module policy

2017-03-11 Thread Yuya Nishihara
On Sat, 11 Mar 2017 14:39:18 -0500, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1489014701 18000 > # Wed Mar 08 18:11:41 2017 -0500 > # Node ID 8d5ff388fd05e57922214f3d6e9a80020ad34970 > # Parent f4179c62dc3fee6dadd8451214ad565986c3b149 >

Re: [PATCH 3 of 3 V2] rebase: unhide original working directory node as well (issue5219)

2017-03-11 Thread Kevin Bullock
> On Mar 11, 2017, at 10:51, Martin von Zweigbergk via Mercurial-devel > wrote: > > On Sat, Mar 11, 2017 at 10:45 AM, Augie Fackler wrote: >> On Sat, Mar 11, 2017 at 10:22:14AM -0800, Yuya Nishihara wrote: >>> On Sat, 11 Mar 2017 09:56:17

mercurial@31301: new changeset

2017-03-11 Thread Mercurial Commits
New changeset in mercurial: https://www.mercurial-scm.org/repo/hg/rev/295625f1296b changeset: 31301:295625f1296b bookmark:@ tag: tip parent: 31300:0c8a042b193d parent: 31277:86cd1f2cfff5 user:Augie Fackler date:Sat Mar 11 13:53:14 2017

[PATCH 4 of 6 py3 v4] config: guard against setconfig specifying unicode values on py3

2017-03-11 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1488570176 18000 # Fri Mar 03 14:42:56 2017 -0500 # Node ID eb7a5670afe8cbf8865b890af198608a793ce94c # Parent 89063bba547df62c98ecee5700c8bd773cb6ef8d config: guard against setconfig specifying unicode values on py3 This

[PATCH 1 of 6 py3 v4] extensions: tapdance to get reasonable import error formatting

2017-03-11 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1488568082 18000 # Fri Mar 03 14:08:02 2017 -0500 # Node ID f498eb177f8d15d967f53ccc2a37fad5a2b785a4 # Parent 295625f1296bda9c507b9025177c4f2452408cc3 extensions: tapdance to get reasonable import error formatting I'm not

[PATCH 2 of 6 py3 v4] py3: add a test that proves %include and missing-extension code works

2017-03-11 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1488567128 18000 # Fri Mar 03 13:52:08 2017 -0500 # Node ID 4e079d87982a89c789565b0ff83393d439fc10f6 # Parent f498eb177f8d15d967f53ccc2a37fad5a2b785a4 py3: add a test that proves %include and missing-extension code works

[PATCH 6 of 6 py3 v4] policy: try and always have a bytes for module policy

2017-03-11 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489014701 18000 # Wed Mar 08 18:11:41 2017 -0500 # Node ID 8d5ff388fd05e57922214f3d6e9a80020ad34970 # Parent f4179c62dc3fee6dadd8451214ad565986c3b149 policy: try and always have a bytes for module policy debuginstall now

[PATCH 5 of 6 py3 v4] init: zstd is already python3-ready, so don't run it through our importer

2017-03-11 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489014679 18000 # Wed Mar 08 18:11:19 2017 -0500 # Node ID f4179c62dc3fee6dadd8451214ad565986c3b149 # Parent eb7a5670afe8cbf8865b890af198608a793ce94c init: zstd is already python3-ready, so don't run it through our importer

[PATCH 3 of 6 py3 v4] dispatch: enforce bytes when converting boolean flags to config items

2017-03-11 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1488570207 18000 # Fri Mar 03 14:43:27 2017 -0500 # Node ID 89063bba547df62c98ecee5700c8bd773cb6ef8d # Parent 4e079d87982a89c789565b0ff83393d439fc10f6 dispatch: enforce bytes when converting boolean flags to config items

Re: [PATCH] rebase: abort if *any* commit in rebase set is public

2017-03-11 Thread Martin von Zweigbergk via Mercurial-devel
On Sat, Mar 11, 2017 at 11:56 AM, Yuya Nishihara wrote: > On Sat, 11 Mar 2017 10:47:25 -0800, Martin von Zweigbergk via Mercurial-devel > wrote: >> # HG changeset patch >> # User Martin von Zweigbergk >> # Date 1489257344 28800 >> # Sat Mar 11 10:35:44

Re: [PATCH] rebase: abort if *any* commit in rebase set is public

2017-03-11 Thread Yuya Nishihara
On Sat, 11 Mar 2017 10:47:25 -0800, Martin von Zweigbergk via Mercurial-devel wrote: > # HG changeset patch > # User Martin von Zweigbergk > # Date 1489257344 28800 > # Sat Mar 11 10:35:44 2017 -0800 > # Node ID de5616a5d81c49449fdebc80af76b15ed5adc795 > # Parent

Re: [PATCH 1 of 4] vfs: use repo.wvfs.unlinkpath

2017-03-11 Thread Yuya Nishihara
On Sat, 11 Mar 2017 11:07:55 -0800, Mads Kiilerich wrote: > # HG changeset patch > # User Mads Kiilerich > # Date 1421194526 -3600 > # Wed Jan 14 01:15:26 2015 +0100 > # Node ID 87642d502ec91e5c8e97a8681da3d8fdbf217ab1 > # Parent 150cd51257221fad5ccba5794e7a21837afba479

Re: [PATCH 2 of 3] py3: factor out bytechr() function

2017-03-11 Thread Yuya Nishihara
On Sat, 11 Mar 2017 11:03:40 -0800, Martijn Pieters wrote: > On 8 March 2017 at 07:52, Yuya Nishihara wrote: > > +_keepalnum = ''.join(c for c in map(pycompat.bytechr, range(256)) > > + if not c.isalnum()) > > > > You probably want to make pycompat.bytechr a

Re: [PATCH 5 of 8 py3 v3] dispatch: enforce bytes when converting boolean flags to config items

2017-03-11 Thread Augie Fackler
> On Mar 11, 2017, at 11:07, Martijn Pieters wrote: > > On 8 March 2017 at 15:22, Augie Fackler > wrote: > # HG changeset patch > # User Augie Fackler > > # Date 1488570207 18000 > #

mercurial@31300: 11 new changesets

2017-03-11 Thread Mercurial Commits
11 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/f819aa9dbbf9 changeset: 31290:f819aa9dbbf9 user:Gregory Szorc date:Thu Mar 09 20:33:29 2017 -0800 summary: sslutil: issue warning when [hostfingerprint] is used

Re: [PATCH 5 of 8 py3 v3] dispatch: enforce bytes when converting boolean flags to config items

2017-03-11 Thread Martijn Pieters
On 8 March 2017 at 15:22, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1488570207 18000 > # Fri Mar 03 14:43:27 2017 -0500 > # Node ID 9269a48bd35f1eaafdb00c58c6056382c6a0ba88 > # Parent

[PATCH 2 of 4] merge: use repo.wvfs.unlinkpath

2017-03-11 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1421194526 -3600 # Wed Jan 14 01:15:26 2015 +0100 # Node ID 16a3f9ec44d37ae07adf9b8bf25a843ce33ba002 # Parent 87642d502ec91e5c8e97a8681da3d8fdbf217ab1 merge: use repo.wvfs.unlinkpath diff --git a/mercurial/merge.py

[PATCH 1 of 4] vfs: use repo.wvfs.unlinkpath

2017-03-11 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1421194526 -3600 # Wed Jan 14 01:15:26 2015 +0100 # Node ID 87642d502ec91e5c8e97a8681da3d8fdbf217ab1 # Parent 150cd51257221fad5ccba5794e7a21837afba479 vfs: use repo.wvfs.unlinkpath diff --git

[PATCH 3 of 4] vfs: use repo.vfs.unlinkpath

2017-03-11 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1489258945 28800 # Sat Mar 11 11:02:25 2017 -0800 # Node ID 6a4b43aac8e015396498a35e332b1b7ada475fca # Parent 16a3f9ec44d37ae07adf9b8bf25a843ce33ba002 vfs: use repo.vfs.unlinkpath diff --git a/hgext/rebase.py

[PATCH 4 of 4] vfs: use repo.vfs.rename

2017-03-11 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1489259054 28800 # Sat Mar 11 11:04:14 2017 -0800 # Node ID fdbee5ee81dd7f2156f1d06da4929ab4699cab06 # Parent 6a4b43aac8e015396498a35e332b1b7ada475fca vfs: use repo.vfs.rename diff --git a/hgext/mq.py b/hgext/mq.py ---

Re: [PATCH 2 of 3] py3: factor out bytechr() function

2017-03-11 Thread Martijn Pieters
On 8 March 2017 at 07:52, Yuya Nishihara wrote: > +_keepalnum = ''.join(c for c in map(pycompat.bytechr, range(256)) > + if not c.isalnum()) > You probably want to make pycompat.bytechr a local name too, to 256 attribute lookups. Also, for `str.join` only, you

Re: [PATCH 2 of 2] rebase: use unfiltered repo and remove complex unhiding code (issue5219)

2017-03-11 Thread Jun Wu
Excerpts from Martin von Zweigbergk's message of 2017-03-10 22:17:10 -0800: > On Fri, Mar 10, 2017 at 6:06 PM, Jun Wu wrote: > > I like this change. It removes a dynamic blocker. > > > > I also did some manual tests and the logic seems good to me. > > > > Excerpts from Martin von

Re: [PATCH 3 of 3 V2] rebase: unhide original working directory node as well (issue5219)

2017-03-11 Thread Yuya Nishihara
On Sat, 11 Mar 2017 13:45:19 -0500, Augie Fackler wrote: > On Sat, Mar 11, 2017 at 10:22:14AM -0800, Yuya Nishihara wrote: > > On Sat, 11 Mar 2017 09:56:17 -0800, Pierre-Yves David wrote: > > > > > > On 03/10/2017 11:28 PM, Martin von Zweigbergk via Mercurial-devel wrote: > > > > # HG changeset

Re: [PATCH 3 of 3 V2] rebase: unhide original working directory node as well (issue5219)

2017-03-11 Thread Martin von Zweigbergk via Mercurial-devel
On Sat, Mar 11, 2017 at 10:45 AM, Augie Fackler wrote: > On Sat, Mar 11, 2017 at 10:22:14AM -0800, Yuya Nishihara wrote: >> On Sat, 11 Mar 2017 09:56:17 -0800, Pierre-Yves David wrote: >> > >> > On 03/10/2017 11:28 PM, Martin von Zweigbergk via Mercurial-devel wrote: >> > > # HG

[PATCH] rebase: abort if *any* commit in rebase set is public

2017-03-11 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1489257344 28800 # Sat Mar 11 10:35:44 2017 -0800 # Node ID de5616a5d81c49449fdebc80af76b15ed5adc795 # Parent c134a33b1d73896a616475127797ad7fcfa0608d rebase: abort if *any* commit in rebase set is public diff

Re: [PATCH] tests: fix help test to include recently added censor docs

2017-03-11 Thread Augie Fackler
On Fri, Mar 10, 2017 at 04:50:51PM -0800, Martin von Zweigbergk via Mercurial-devel wrote: > # HG changeset patch > # User Martin von Zweigbergk > # Date 1489193377 28800 > # Fri Mar 10 16:49:37 2017 -0800 > # Node ID 364d5371918ba8a0a47396241b5e76cc2957e07e > #

Re: [PATCH 2 of 5] httpconnection: rename config to groups

2017-03-11 Thread Augie Fackler
On Thu, Mar 09, 2017 at 10:41:17PM -0800, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1489121594 28800 > # Thu Mar 09 20:53:14 2017 -0800 > # Node ID 7f05aef6f3056a0a258b45158a47c462bca9e3c8 > # Parent

Re: [PATCH] formatter: set _first on formatter, not ui

2017-03-11 Thread Augie Fackler
On Fri, Mar 10, 2017 at 11:40:28PM -0800, Martin von Zweigbergk via Mercurial-devel wrote: > # HG changeset patch > # User Martin von Zweigbergk > # Date 1489102680 28800 > # Thu Mar 09 15:38:00 2017 -0800 > # Node ID 0a1c1168645329de291d3e3643a6ec007e1eee07 > #

Re: [PATCH 3 of 3 V2] rebase: unhide original working directory node as well (issue5219)

2017-03-11 Thread Augie Fackler
On Fri, Mar 10, 2017 at 11:28:54PM -0800, Martin von Zweigbergk via Mercurial-devel wrote: > # HG changeset patch > # User Martin von Zweigbergk > # Date 1489216040 28800 > # Fri Mar 10 23:07:20 2017 -0800 > # Node ID b8c437230731d53a6c165567a6fff1a1467f4107 > #

Re: [PATCH 3 of 3 V2] rebase: unhide original working directory node as well (issue5219)

2017-03-11 Thread Yuya Nishihara
On Sat, 11 Mar 2017 09:56:17 -0800, Pierre-Yves David wrote: > > On 03/10/2017 11:28 PM, Martin von Zweigbergk via Mercurial-devel wrote: > > # HG changeset patch > > # User Martin von Zweigbergk > > # Date 1489216040 28800 > > # Fri Mar 10 23:07:20 2017 -0800 > > #

Re: [PATCH] formatter: set _first on formatter, not ui

2017-03-11 Thread Yuya Nishihara
On Fri, 10 Mar 2017 23:40:28 -0800, Martin von Zweigbergk via Mercurial-devel wrote: > # HG changeset patch > # User Martin von Zweigbergk > # Date 1489102680 28800 > # Thu Mar 09 15:38:00 2017 -0800 > # Node ID 0a1c1168645329de291d3e3643a6ec007e1eee07 > # Parent

Re: [PATCH 3 of 3 V2] rebase: unhide original working directory node as well (issue5219)

2017-03-11 Thread Pierre-Yves David
On 03/10/2017 11:28 PM, Martin von Zweigbergk via Mercurial-devel wrote: # HG changeset patch # User Martin von Zweigbergk # Date 1489216040 28800 # Fri Mar 10 23:07:20 2017 -0800 # Node ID b8c437230731d53a6c165567a6fff1a1467f4107 # Parent

Re: [PATCH 01 of 11] bdiff: use Python memory allocator in fixws

2017-03-11 Thread Gregory Szorc
> On Mar 9, 2017, at 18:24, Augie Fackler wrote: > > >> On Mar 9, 2017, at 18:12, Gregory Szorc wrote: >> >> On Thu, Mar 9, 2017 at 5:46 PM, Augie Fackler wrote: >>> On Thu, Mar 09, 2017 at 01:59:09PM -0800, Gregory Szorc wrote: