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

2017-03-12 Thread Jun Wu
Excerpts from Yuya Nishihara's message of 2017-03-12 11:58:40 -0700: > > That's good to know. I actually had 3 patches to move it to vfs, but was > > concerned about the future "repostorage" layer holding vfs objects that > > won't get invalidated across chg workers. > > If the filesystem at the

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

2017-03-12 Thread Augie Fackler
On Sat, Mar 11, 2017 at 06:03:13PM -0800, Ryan McElroy wrote: > # HG changeset patch > # User Ryan McElroy > # Date 1489283611 28800 > # Sat Mar 11 17:53:31 2017 -0800 > # Node ID 7c7f442027b6a0cd51b1f06b01913f53f4f9e9cd > # Parent a788a4660443dfc33c5c1c58eec78e20150404d9 >

Re: [PATCH 01 of 10 py3] ui: portably bytestring-ify url object

2017-03-12 Thread Pulkit Goyal
On Mon, Mar 13, 2017 at 12:27 AM, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1489301963 18000 > # Sun Mar 12 01:59:23 2017 -0500 > # Node ID 164bdb3f2b81be655f407cc78faf435d7868d286 > # Parent

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

2017-03-12 Thread Yuya Nishihara
On Sun, 12 Mar 2017 11:32:38 -0700, Jun Wu wrote: > Excerpts from Yuya Nishihara's message of 2017-03-12 08:08:55 -0700: > > On Sat, 11 Mar 2017 23:28:25 -0800, Jun Wu wrote: > > > Excerpts from Yuya Nishihara's message of 2017-03-11 16:48:54 -0800: > > > > On Thu, 2 Mar 2017 22:13:30 -0800, Jun

[PATCH 07 of 10 py3] revsetlang: slice out single bytes instead of indexing

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489297619 18000 # Sun Mar 12 00:46:59 2017 -0500 # Node ID 7f013bdcdbddcc8ed86dcb373e88f6956bcbdd51 # Parent 30c4b444e0beaea64ab35b594bb976bafba9aa34 revsetlang: slice out single bytes instead of indexing For portability

[PATCH 08 of 10 py3] revlog: extract first byte of revlog with a slice so it's portable

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489297789 18000 # Sun Mar 12 00:49:49 2017 -0500 # Node ID 4eab3adcc0793f60b863da542fe8e152e33efa9c # Parent 7f013bdcdbddcc8ed86dcb373e88f6956bcbdd51 revlog: extract first byte of revlog with a slice so it's portable diff

[PATCH 06 of 10 py3] mpatch: use bytesio instead of stringio in pure-python mpatch code

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489297542 18000 # Sun Mar 12 00:45:42 2017 -0500 # Node ID 30c4b444e0beaea64ab35b594bb976bafba9aa34 # Parent 666d6b8778093c73611aa728f92c688a75994ed6 mpatch: use bytesio instead of stringio in pure-python mpatch code diff

[PATCH 09 of 10 py3] revlog: use bytes() to ensure text from _chunks is a reasonable type

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489303958 14400 # Sun Mar 12 03:32:38 2017 -0400 # Node ID e8cceea7006f5b63cc17444d2552b54c1b97f33a # Parent 4eab3adcc0793f60b863da542fe8e152e33efa9c revlog: use bytes() to ensure text from _chunks is a reasonable type

[PATCH 10 of 10 py3] repoview: specify setattr values as native strings

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489297686 18000 # Sun Mar 12 00:48:06 2017 -0500 # Node ID 2ca323667f43ebf95f29d671fd00f3ae7753fa09 # Parent e8cceea7006f5b63cc17444d2552b54c1b97f33a repoview: specify setattr values as native strings diff --git

[PATCH 03 of 10 py3] manifest: unbreak pure-python manifest parsing on Python 3

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489297461 18000 # Sun Mar 12 00:44:21 2017 -0500 # Node ID ecf0bd03ed286a87a7cac46594a241b65e130abf # Parent f3120d2bdfa4d1b82b586309c7632e2fd00a0d43 manifest: unbreak pure-python manifest parsing on Python 3 diff --git

[PATCH 04 of 10 py3] parser: use %d instead of %s for interpolating error position

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489297499 18000 # Sun Mar 12 00:44:59 2017 -0500 # Node ID 74e974791be1479b80c6fd42923d999b9c2891a2 # Parent ecf0bd03ed286a87a7cac46594a241b65e130abf parser: use %d instead of %s for interpolating error position Error

[PATCH 01 of 10 py3] ui: portably bytestring-ify url object

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489301963 18000 # Sun Mar 12 01:59:23 2017 -0500 # Node ID 164bdb3f2b81be655f407cc78faf435d7868d286 # Parent 719e64bf9ec2d7b8e86b6550a5d193b3c67944d1 ui: portably bytestring-ify url object diff --git a/mercurial/ui.py

[PATCH 02 of 10 py3] context: use portable construction to verify int parsing

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489297427 18000 # Sun Mar 12 00:43:47 2017 -0500 # Node ID f3120d2bdfa4d1b82b586309c7632e2fd00a0d43 # Parent 164bdb3f2b81be655f407cc78faf435d7868d286 context: use portable construction to verify int parsing diff --git

[PATCH 05 of 10 py3] lock: use %d to format integer into a bytestring

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489303744 14400 # Sun Mar 12 03:29:04 2017 -0400 # Node ID 666d6b8778093c73611aa728f92c688a75994ed6 # Parent 74e974791be1479b80c6fd42923d999b9c2891a2 lock: use %d to format integer into a bytestring diff --git

Re: [PATCH] debugfsinfo: print fstype information

2017-03-12 Thread Augie Fackler
> On Mar 12, 2017, at 11:53, Yuya Nishihara wrote: > > On Sun, 12 Mar 2017 14:12:03 -0400, Augie Fackler wrote: >> On Sun, Mar 12, 2017 at 01:34:53AM -0800, Jun Wu wrote: >>> # HG changeset patch >>> # User Jun Wu >>> # Date 1489311257 28800 >>> # Sun Mar 12

Re: [PATCH 7 of 7 V3] util: enable hardlink for copyfile

2017-03-12 Thread Augie Fackler
> On Mar 12, 2017, at 11:48, Mads Kiilerich wrote: > > That might of course be because most users of repos on CIFS are Windows > users. The problem is serious when it happens, but considering the > non-Windows uncertainty, the small amount of non-Windows users using CIFS

Re: [PATCH] debugfsinfo: print fstype information

2017-03-12 Thread Yuya Nishihara
On Sun, 12 Mar 2017 14:12:03 -0400, Augie Fackler wrote: > On Sun, Mar 12, 2017 at 01:34:53AM -0800, Jun Wu wrote: > > # HG changeset patch > > # User Jun Wu > > # Date 1489311257 28800 > > # Sun Mar 12 01:34:17 2017 -0800 > > # Node ID ff9af50d033388f74cbaf1eeac1509b3e75da07b

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

2017-03-12 Thread Yuya Nishihara
On Sun, 12 Mar 2017 10:34:33 -0700, Martijn Pieters wrote: > # HG changeset patch > # User Martijn Pieters > # Date 1489340031 25200 > # Sun Mar 12 10:33:51 2017 -0700 > # Node ID 55a2a84cb75e7bbfb9dcd510b686de417fb9dfab > # Parent abf029200e198878a4576a87e095bd8d77d9cea9

Re: [PATCH 7 of 7 V3] util: enable hardlink for copyfile

2017-03-12 Thread Mads Kiilerich
On 03/12/2017 11:03 AM, Augie Fackler wrote: On Sun, Mar 12, 2017 at 11:00:05AM -0700, Mads Kiilerich wrote: On 03/12/2017 01:23 AM, Jun Wu wrote: # HG changeset patch # User Jun Wu # Date 1489309403 28800 # Sun Mar 12 01:03:23 2017 -0800 # Node ID

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

2017-03-12 Thread Augie Fackler
> On Mar 12, 2017, at 11:36, Augie Fackler wrote: > > On Sun, Mar 12, 2017 at 10:34:33AM -0700, Martijn Pieters wrote: >> # HG changeset patch >> # User Martijn Pieters >> # Date 1489340031 25200 >> # Sun Mar 12 10:33:51 2017 -0700 >> # Node ID

Re: [PATCH 3 of 9 py3 v3] context: work around `long` not existing on Python 3

2017-03-12 Thread Yuya Nishihara
On Sun, 12 Mar 2017 11:15:59 -0700, Martin von Zweigbergk via Mercurial-devel wrote: > On Sun, Mar 12, 2017 at 11:02 AM, Martin von Zweigbergk > wrote: > > On Sun, Mar 12, 2017 at 10:59 AM, Augie Fackler wrote: > >> # HG changeset patch > >> # User Augie

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

2017-03-12 Thread Augie Fackler
On Sun, Mar 12, 2017 at 10:34:33AM -0700, Martijn Pieters wrote: > # HG changeset patch > # User Martijn Pieters > # Date 1489340031 25200 > # Sun Mar 12 10:33:51 2017 -0700 > # Node ID 55a2a84cb75e7bbfb9dcd510b686de417fb9dfab > # Parent

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

2017-03-12 Thread Jun Wu
Excerpts from Yuya Nishihara's message of 2017-03-12 08:08:55 -0700: > On Sat, 11 Mar 2017 23:28:25 -0800, Jun Wu wrote: > > 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

Re: [PATCH 7 of 7 V3] util: enable hardlink for copyfile

2017-03-12 Thread Augie Fackler
> On Mar 12, 2017, at 11:27, Jun Wu wrote: > > Modern filesystems will have new features outside POSIX. For example, if > btrfs becomes more popular, we may have fancy transaction support. APFS (Apple's new shiny) has interesting cheap COW directory copy support that we might

Re: [PATCH 7 of 7 V3] util: enable hardlink for copyfile

2017-03-12 Thread Jun Wu
Excerpts from Augie Fackler's message of 2017-03-12 14:03:44 -0400: > It's actually believed the problem is in the Windows CIFS *server*, if > you read the bug attached to the previous change. > > I'm hesitant to turn on hardlinks at all because of the way problems > manifest (unrecoverable data

Re: [PATCH 1 of 9 py3 v3] ui: check for --debugger in sys.argv using r-string to avoid bytes on py3

2017-03-12 Thread Yuya Nishihara
On Sun, 12 Mar 2017 13:59:09 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1489283469 18000 > # Sat Mar 11 20:51:09 2017 -0500 > # Node ID b2106f4f2502bc94defa43e33c7b9b18fe726f95 > # Parent 1c3352d7eaf24533ad52d4b8a024211e9189fb0b >

mercurial@31318: 10 new changesets

2017-03-12 Thread Mercurial Commits
10 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/8908f985570c changeset: 31309:8908f985570c user:Mads Kiilerich date:Wed Jan 14 01:15:26 2015 +0100 summary: vfs: use repo.wvfs.unlinkpath

Re: [PATCH 3 of 9 py3 v3] context: work around `long` not existing on Python 3

2017-03-12 Thread Martin von Zweigbergk via Mercurial-devel
On Sun, Mar 12, 2017 at 11:02 AM, Martin von Zweigbergk wrote: > On Sun, Mar 12, 2017 at 10:59 AM, Augie Fackler wrote: >> # HG changeset patch >> # User Augie Fackler >> # Date 1489283824 18000 >> # Sat Mar 11 20:57:04 2017 -0500

Re: [PATCH] debugfsinfo: print fstype information

2017-03-12 Thread Augie Fackler
On Sun, Mar 12, 2017 at 01:34:53AM -0800, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1489311257 28800 > # Sun Mar 12 01:34:17 2017 -0800 > # Node ID ff9af50d033388f74cbaf1eeac1509b3e75da07b > # Parent 9da40a9e54c419490a2ff23b9dda7acc109f81cd > # Available At

Re: [PATCH 01 of 20] localrepo: directly use repo.vfs.join

2017-03-12 Thread Augie Fackler
On Sun, Mar 12, 2017 at 07:45:35AM -0700, Pierre-Yves David wrote: > # HG changeset patch > # User Pierre-Yves David > # Date 1470400162 -7200 > # Fri Aug 05 14:29:22 2016 +0200 > # Node ID 680edfb3b6a2ebc14368bb69f8fa6605d689cd9e > # Parent

Re: [PATCH 7 of 7 V3] util: enable hardlink for copyfile

2017-03-12 Thread Augie Fackler
On Sun, Mar 12, 2017 at 11:00:05AM -0700, Mads Kiilerich wrote: > On 03/12/2017 01:23 AM, Jun Wu wrote: > > # HG changeset patch > > # User Jun Wu > > # Date 1489309403 28800 > > # Sun Mar 12 01:03:23 2017 -0800 > > # Node ID 9da40a9e54c419490a2ff23b9dda7acc109f81cd > > #

Re: [PATCH 3 of 9 py3 v3] context: work around `long` not existing on Python 3

2017-03-12 Thread Martin von Zweigbergk via Mercurial-devel
On Sun, Mar 12, 2017 at 10:59 AM, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1489283824 18000 > # Sat Mar 11 20:57:04 2017 -0500 > # Node ID c4a50c84504fe6eaae95915f401e9d6826e4d19f > # Parent

Re: [PATCH 7 of 7 V3] util: enable hardlink for copyfile

2017-03-12 Thread Mads Kiilerich
On 03/12/2017 01:23 AM, Jun Wu wrote: # HG changeset patch # User Jun Wu # Date 1489309403 28800 # Sun Mar 12 01:03:23 2017 -0800 # Node ID 9da40a9e54c419490a2ff23b9dda7acc109f81cd # Parent de28b62236a7d47a896bc4aba2bd95dcd8defc87 # Available At

[PATCH 9 of 9 py3 v3] scmutil: fix key generation to portably bytestringify integer

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489297659 18000 # Sun Mar 12 00:47:39 2017 -0500 # Node ID c245d472dcbee3f874c94e16d8544ada93964351 # Parent fb7154195406381920737671ff2402d910bb5546 scmutil: fix key generation to portably bytestringify integer diff --git

[PATCH 7 of 9 py3 v3] branchmap: don't use buffer() on Python 3

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489297759 18000 # Sun Mar 12 00:49:19 2017 -0500 # Node ID 46eb1834c644e675bd246bbae254cada40c2f21b # Parent 85be2e7b95aac78211a83d71e14ff8a6901ebbd5 branchmap: don't use buffer() on Python 3 This is certainly slower than

[PATCH 8 of 9 py3 v3] branchmap: stringify int in a portable way

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489297366 18000 # Sun Mar 12 00:42:46 2017 -0500 # Node ID fb7154195406381920737671ff2402d910bb5546 # Parent 46eb1834c644e675bd246bbae254cada40c2f21b branchmap: stringify int in a portable way We actually need a bytes in

[PATCH 3 of 9 py3 v3] context: work around `long` not existing on Python 3

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489283824 18000 # Sat Mar 11 20:57:04 2017 -0500 # Node ID c4a50c84504fe6eaae95915f401e9d6826e4d19f # Parent d656211a72279aa55428121be114b4059e7117ab context: work around `long` not existing on Python 3 I can't figure out

[PATCH 2 of 9 py3 v3] phases: explicitly evaluate list returned by map

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489283600 18000 # Sat Mar 11 20:53:20 2017 -0500 # Node ID d656211a72279aa55428121be114b4059e7117ab # Parent b2106f4f2502bc94defa43e33c7b9b18fe726f95 phases: explicitly evaluate list returned by map On Python 3 map()

[PATCH 6 of 9 py3 v3] py3: use bytearray() instead of array('c', ...) constructions

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489303941 14400 # Sun Mar 12 03:32:21 2017 -0400 # Node ID 85be2e7b95aac78211a83d71e14ff8a6901ebbd5 # Parent da5cbc23291d979eeb8838fe8c2227a3434c66ca py3: use bytearray() instead of array('c', ...) constructions Portable

[PATCH 5 of 9 py3 v3] summary: don't explicitly str() something we're about to %s

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489283906 18000 # Sat Mar 11 20:58:26 2017 -0500 # Node ID da5cbc23291d979eeb8838fe8c2227a3434c66ca # Parent beead9d5be6f5fe44de55d277462e52284584819 summary: don't explicitly str() something we're about to %s str() is

[PATCH 4 of 9 py3 v3] context: implement both __bytes__ and __str__ for Python 3

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489283860 18000 # Sat Mar 11 20:57:40 2017 -0500 # Node ID beead9d5be6f5fe44de55d277462e52284584819 # Parent c4a50c84504fe6eaae95915f401e9d6826e4d19f context: implement both __bytes__ and __str__ for Python 3 They're very

[PATCH 1 of 9 py3 v3] ui: check for --debugger in sys.argv using r-string to avoid bytes on py3

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489283469 18000 # Sat Mar 11 20:51:09 2017 -0500 # Node ID b2106f4f2502bc94defa43e33c7b9b18fe726f95 # Parent 1c3352d7eaf24533ad52d4b8a024211e9189fb0b ui: check for --debugger in sys.argv using r-string to avoid bytes on py3

Re: [PATCH 2 of 9 py3 v2] phases: explicitly evaluate list returned by map

2017-03-12 Thread Augie Fackler
> On Mar 12, 2017, at 10:50, Martin von Zweigbergk > wrote: > > On Sun, Mar 12, 2017 at 10:38 AM, Augie Fackler wrote: >> # HG changeset patch >> # User Augie Fackler >> # Date 1489283600 18000 >> # Sat Mar 11 20:53:20 2017

Re: [PATCH 2 of 9 py3 v2] phases: explicitly evaluate list returned by map

2017-03-12 Thread Martin von Zweigbergk via Mercurial-devel
On Sun, Mar 12, 2017 at 10:38 AM, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1489283600 18000 > # Sat Mar 11 20:53:20 2017 -0500 > # Node ID 3366d024d1d7284d49609f6ce4e3e8a329fc8808 > # Parent

Re: [PATCH 1 of 9 py3] ui: check for --debugger in sys.argv using r-string to avoid bytes on py3

2017-03-12 Thread Yuya Nishihara
On Sun, 12 Mar 2017 13:22:10 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1489283469 18000 > # Sat Mar 11 20:51:09 2017 -0500 > # Node ID 66618e51771e519582cbe0fe7cd5e116d9cd87ad > # Parent 1c3352d7eaf24533ad52d4b8a024211e9189fb0b >

[PATCH 8 of 9 py3 v2] branchmap: stringify int in a portable way

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489297366 18000 # Sun Mar 12 00:42:46 2017 -0500 # Node ID 91aa8772d4445d6dbb771b6e31a78529eb8a4f6c # Parent 5295e63c3fa2fd37c4736c69e6caeb573ccaced5 branchmap: stringify int in a portable way We actually need a bytes in

[PATCH 5 of 9 py3 v2] summary: don't explicitly str() something we're about to %s

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489283906 18000 # Sat Mar 11 20:58:26 2017 -0500 # Node ID 6a8d884aa9d76d72cace577c20ad42b7d208551c # Parent 3863a163a20c34a52ff5d391d4391b01bc029de1 summary: don't explicitly str() something we're about to %s str() is

[PATCH 6 of 9 py3 v2] py3: use bytearray() instead of array('c', ...) constructions

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489303941 14400 # Sun Mar 12 03:32:21 2017 -0400 # Node ID b9d20b6e86e011db2a11abccc26250c7a83e8aac # Parent 6a8d884aa9d76d72cace577c20ad42b7d208551c py3: use bytearray() instead of array('c', ...) constructions Portable

[PATCH 3 of 9 py3 v2] context: work around `long` not existing on Python 3

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489283824 18000 # Sat Mar 11 20:57:04 2017 -0500 # Node ID 406938c2ae5042166b7a22cad39210cb08c80a37 # Parent 3366d024d1d7284d49609f6ce4e3e8a329fc8808 context: work around `long` not existing on Python 3 I can't figure out

[PATCH 7 of 9 py3 v2] branchmap: don't use buffer() on Python 3

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489297759 18000 # Sun Mar 12 00:49:19 2017 -0500 # Node ID 5295e63c3fa2fd37c4736c69e6caeb573ccaced5 # Parent b9d20b6e86e011db2a11abccc26250c7a83e8aac branchmap: don't use buffer() on Python 3 This is certainly slower than

[PATCH 2 of 9 py3 v2] phases: explicitly evaluate list returned by map

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489283600 18000 # Sat Mar 11 20:53:20 2017 -0500 # Node ID 3366d024d1d7284d49609f6ce4e3e8a329fc8808 # Parent 66618e51771e519582cbe0fe7cd5e116d9cd87ad phases: explicitly evaluate list returned by map On Python 3 map()

[PATCH 1 of 9 py3 v2] ui: check for --debugger in sys.argv using r-string to avoid bytes on py3

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489283469 18000 # Sat Mar 11 20:51:09 2017 -0500 # Node ID 66618e51771e519582cbe0fe7cd5e116d9cd87ad # Parent 1c3352d7eaf24533ad52d4b8a024211e9189fb0b ui: check for --debugger in sys.argv using r-string to avoid bytes on py3

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

2017-03-12 Thread Martijn Pieters
# HG changeset patch # User Martijn Pieters # Date 1489340031 25200 # Sun Mar 12 10:33:51 2017 -0700 # Node ID 55a2a84cb75e7bbfb9dcd510b686de417fb9dfab # Parent abf029200e198878a4576a87e095bd8d77d9cea9 config: honour the trusted flag in ui.configint diff --git

Re: [PATCH 3 of 4 py3] help: use pycompat.sysstr() to make `a in b` work

2017-03-12 Thread Yuya Nishihara
On Sun, 12 Mar 2017 22:49:50 +0530, Pulkit Goyal wrote: > # HG changeset patch > # User Pulkit Goyal <7895pul...@gmail.com> > # Date 1489338223 -19800 > # Sun Mar 12 22:33:43 2017 +0530 > # Node ID 6cccbcf562c29d073d9cdf775fb07e40e32fad0b > # Parent 782455a21077bef9c13532ad8dfa69fde1e5ebfc >

Re: [PATCH 7 of 9 py3] branchmap: don't use buffer() on Python 3

2017-03-12 Thread Pulkit Goyal
On Sun, Mar 12, 2017 at 10:52 PM, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1489297759 18000 > # Sun Mar 12 00:49:19 2017 -0500 > # Node ID 062d30be868aad888f8d2e51d65999cb8c94b81a > # Parent

[PATCH 2 of 9 py3] phases: explicitly evaluate list returned by map

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489283600 18000 # Sat Mar 11 20:53:20 2017 -0500 # Node ID 3366d024d1d7284d49609f6ce4e3e8a329fc8808 # Parent 66618e51771e519582cbe0fe7cd5e116d9cd87ad phases: explicitly evaluate list returned by map On Python 3 map()

[PATCH 3 of 9 py3] context: work around `long` not existing on Python 3

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489283824 18000 # Sat Mar 11 20:57:04 2017 -0500 # Node ID 406938c2ae5042166b7a22cad39210cb08c80a37 # Parent 3366d024d1d7284d49609f6ce4e3e8a329fc8808 context: work around `long` not existing on Python 3 I can't figure out

[PATCH 1 of 9 py3] ui: check for --debugger in sys.argv using r-string to avoid bytes on py3

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489283469 18000 # Sat Mar 11 20:51:09 2017 -0500 # Node ID 66618e51771e519582cbe0fe7cd5e116d9cd87ad # Parent 1c3352d7eaf24533ad52d4b8a024211e9189fb0b ui: check for --debugger in sys.argv using r-string to avoid bytes on py3

[PATCH 7 of 9 py3] branchmap: don't use buffer() on Python 3

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489297759 18000 # Sun Mar 12 00:49:19 2017 -0500 # Node ID 062d30be868aad888f8d2e51d65999cb8c94b81a # Parent b9d20b6e86e011db2a11abccc26250c7a83e8aac branchmap: don't use buffer() on Python 3 This is certainly slower than

[PATCH 8 of 9 py3] branchmap: stringify int in a portable way

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489297366 18000 # Sun Mar 12 00:42:46 2017 -0500 # Node ID 12fa9b8994f4fa746f11d97dd0bc697c5a1f860a # Parent 062d30be868aad888f8d2e51d65999cb8c94b81a branchmap: stringify int in a portable way We actually need a bytes in

[PATCH 6 of 9 py3] py3: use bytearray() instead of array('c', ...) constructions

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489303941 14400 # Sun Mar 12 03:32:21 2017 -0400 # Node ID b9d20b6e86e011db2a11abccc26250c7a83e8aac # Parent 6a8d884aa9d76d72cace577c20ad42b7d208551c py3: use bytearray() instead of array('c', ...) constructions Portable

[PATCH 5 of 9 py3] summary: don't explicitly str() something we're about to %s

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489283906 18000 # Sat Mar 11 20:58:26 2017 -0500 # Node ID 6a8d884aa9d76d72cace577c20ad42b7d208551c # Parent 3863a163a20c34a52ff5d391d4391b01bc029de1 summary: don't explicitly str() something we're about to %s str() is

[PATCH 4 of 9 py3] context: implement both __bytes__ and __str__ for Python 3

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489283860 18000 # Sat Mar 11 20:57:40 2017 -0500 # Node ID 3863a163a20c34a52ff5d391d4391b01bc029de1 # Parent 406938c2ae5042166b7a22cad39210cb08c80a37 context: implement both __bytes__ and __str__ for Python 3 They're very

[PATCH 1 of 4 py3] util: pass encoding.[encoding|encodingmode] as unicodes

2017-03-12 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1489284313 -19800 # Sun Mar 12 07:35:13 2017 +0530 # Node ID 0d6acdc8385488a3dfd18cb413af4f9a2ba71512 # Parent 5ffb1db4197ad77c7ea9449b7e4f40c7cfa9cebc util: pass encoding.[encoding|encodingmode] as unicodes We need to

[PATCH 3 of 4 py3] help: use pycompat.sysstr() to make `a in b` work

2017-03-12 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1489338223 -19800 # Sun Mar 12 22:33:43 2017 +0530 # Node ID 6cccbcf562c29d073d9cdf775fb07e40e32fad0b # Parent 782455a21077bef9c13532ad8dfa69fde1e5ebfc help: use pycompat.sysstr() to make `a in b` work doc is unicode

[PATCH 4 of 4 py3] minirst: use bytes.strip instead of str.strip

2017-03-12 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1489339017 -19800 # Sun Mar 12 22:46:57 2017 +0530 # Node ID a780f27bd455458749eff3e757daa4e39eb719ad # Parent 6cccbcf562c29d073d9cdf775fb07e40e32fad0b minirst: use bytes.strip instead of str.strip bytes.strip exists in

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

2017-03-12 Thread FUJIWARA Katsunori
At Sun, 12 Mar 2017 08:49:12 -0700, Yuya Nishihara wrote: > > On Sun, 12 Mar 2017 15:47:58 +0900, FUJIWARA Katsunori wrote: > > # HG changeset patch > > # User FUJIWARA Katsunori > > # Date 1489300798 -32400 > > # Sun Mar 12 15:39:58 2017 +0900 > > # Node ID

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

2017-03-12 Thread Yuya Nishihara
On Sun, 12 Mar 2017 15:47:58 +0900, FUJIWARA Katsunori wrote: > # HG changeset patch > # User FUJIWARA Katsunori > # Date 1489300798 -32400 > # Sun Mar 12 15:39:58 2017 +0900 > # Node ID 0f3cdc6061dc630d154c3fa45dfc8257d8ed9d09 > # Parent

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

2017-03-12 Thread Yuya Nishihara
On Sun, 12 Mar 2017 07:10:36 +0530, Pulkit Goyal wrote: > # 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 >

Re: [PATCH V2] setup: convert setupversion to unicode

2017-03-12 Thread Yuya Nishihara
On Sat, 11 Mar 2017 17:14:14 -0800, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1489281242 28800 > # Sat Mar 11 17:14:02 2017 -0800 > # Node ID 7aed668a0af18397d6d413b625d019fd5333d081 > # Parent

Re: [PATCH 7 of 7 V3] util: enable hardlink for copyfile

2017-03-12 Thread Mads Kiilerich
On 03/12/2017 01:23 AM, Jun Wu wrote: # HG changeset patch # User Jun Wu # Date 1489309403 28800 # Sun Mar 12 01:03:23 2017 -0800 # Node ID 9da40a9e54c419490a2ff23b9dda7acc109f81cd # Parent de28b62236a7d47a896bc4aba2bd95dcd8defc87 # Available At

[PATCH 20 of 20] win32text: directly use repo.vfs.join

2017-03-12 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1489020777 28800 # Wed Mar 08 16:52:57 2017 -0800 # Node ID 813d1adef5103b3d7b9f66949325da235d41a756 # Parent e861b60800fc9be5d4bc33250e030c8801d87d95 # EXP-Topic vfs.cleanup # Available At

[PATCH 19 of 20] transplant: directly use repo.vfs.join

2017-03-12 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1489020769 28800 # Wed Mar 08 16:52:49 2017 -0800 # Node ID e861b60800fc9be5d4bc33250e030c8801d87d95 # Parent 601f0e651365ed906bd9e59ab139e908f50adf8c # EXP-Topic vfs.cleanup # Available At

[PATCH 18 of 20] shelve: directly use repo.vfs.join

2017-03-12 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1489020762 28800 # Wed Mar 08 16:52:42 2017 -0800 # Node ID 601f0e651365ed906bd9e59ab139e908f50adf8c # Parent 99130f7619bff6da9ee1b569c0fa3bd172478ece # EXP-Topic vfs.cleanup # Available At

[PATCH 04 of 20] hg-mod: directly use repo.vfs.join

2017-03-12 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1489020804 28800 # Wed Mar 08 16:53:24 2017 -0800 # Node ID aefb162f77e6434c3286cde061f7aa9d39f06a84 # Parent 8ddcc8a2f6047565c2029c8f9fb6d3eac993c0ab # EXP-Topic vfs.cleanup # Available At

[PATCH 11 of 20] histedit: directly use repo.vfs.join

2017-03-12 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1489020703 28800 # Wed Mar 08 16:51:43 2017 -0800 # Node ID d2ac8dae3e90a2971062288b7db78103a81ecf0a # Parent d59fed8faa12306ec821b3191ff36a6a313fdaf6 # EXP-Topic vfs.cleanup # Available At

[PATCH 16 of 20] rebase: directly use repo.vfs.join

2017-03-12 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1489020743 28800 # Wed Mar 08 16:52:23 2017 -0800 # Node ID e54bacb4b99787c7f11150e91025b7c2e8f199d6 # Parent 70f3c8089b655f927ecae985e1633835c83bcdb8 # EXP-Topic vfs.cleanup # Available At

[PATCH 06 of 20] repair: directly use repo.vfs.join

2017-03-12 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1489020819 28800 # Wed Mar 08 16:53:39 2017 -0800 # Node ID 59fbf352777b40ac00fb8185f1cf900544fc769c # Parent d383436e0a8b7db98feb13235aac7e09d6d43595 # EXP-Topic vfs.cleanup # Available At

[PATCH 15 of 20] mq: directly use repo.vfs.join

2017-03-12 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1489020736 28800 # Wed Mar 08 16:52:16 2017 -0800 # Node ID 70f3c8089b655f927ecae985e1633835c83bcdb8 # Parent e8bd0e7c33ae6744f72c0c8fdf5788275355194d # EXP-Topic vfs.cleanup # Available At

[PATCH 17 of 20] share: directly use repo.vfs.join

2017-03-12 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1489020750 28800 # Wed Mar 08 16:52:30 2017 -0800 # Node ID 99130f7619bff6da9ee1b569c0fa3bd172478ece # Parent e54bacb4b99787c7f11150e91025b7c2e8f199d6 # EXP-Topic vfs.cleanup # Available At

[PATCH 10 of 20] eol: directly use repo.vfs.join

2017-03-12 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1489020696 28800 # Wed Mar 08 16:51:36 2017 -0800 # Node ID d59fed8faa12306ec821b3191ff36a6a313fdaf6 # Parent 4bf8c226e796484a748e60f7f6c9c95e17b3b3df # EXP-Topic vfs.cleanup # Available At

[PATCH 14 of 20] largefiles: directly use repo.vfs.join

2017-03-12 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1489020726 28800 # Wed Mar 08 16:52:06 2017 -0800 # Node ID e8bd0e7c33ae6744f72c0c8fdf5788275355194d # Parent f10819fb07a767b661249c82f5204972b710dd71 # EXP-Topic vfs.cleanup # Available At

[PATCH 13 of 20] keyword: directly use repo.vfs.join

2017-03-12 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1489020717 28800 # Wed Mar 08 16:51:57 2017 -0800 # Node ID f10819fb07a767b661249c82f5204972b710dd71 # Parent dd60e7685c86beee4e87bc4cc1529da4bfc94eab # EXP-Topic vfs.cleanup # Available At

[PATCH 12 of 20] journal: directly use repo.vfs.join

2017-03-12 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1489020709 28800 # Wed Mar 08 16:51:49 2017 -0800 # Node ID dd60e7685c86beee4e87bc4cc1529da4bfc94eab # Parent d2ac8dae3e90a2971062288b7db78103a81ecf0a # EXP-Topic vfs.cleanup # Available At

[PATCH 02 of 20] cmdutil: directly use repo.vfs.join

2017-03-12 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1489020789 28800 # Wed Mar 08 16:53:09 2017 -0800 # Node ID 931e9e6b03b74c942163e66212c43e4ad1b30394 # Parent 680edfb3b6a2ebc14368bb69f8fa6605d689cd9e # EXP-Topic vfs.cleanup # Available At

[PATCH 01 of 20] localrepo: directly use repo.vfs.join

2017-03-12 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1470400162 -7200 # Fri Aug 05 14:29:22 2016 +0200 # Node ID 680edfb3b6a2ebc14368bb69f8fa6605d689cd9e # Parent 62939e0148f170b67ca8c7374f36c413b67fd387 # EXP-Topic vfs.cleanup # Available At

[PATCH 09 of 20] convert: directly use repo.vfs.join

2017-03-12 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1489020685 28800 # Wed Mar 08 16:51:25 2017 -0800 # Node ID 4bf8c226e796484a748e60f7f6c9c95e17b3b3df # Parent 0e277a15c4e81ef8081a8b344c7df54a99ca61d9 # EXP-Topic vfs.cleanup # Available At

[PATCH 03 of 20] commands: directly use repo.vfs.join

2017-03-12 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1489020797 28800 # Wed Mar 08 16:53:17 2017 -0800 # Node ID 8ddcc8a2f6047565c2029c8f9fb6d3eac993c0ab # Parent 931e9e6b03b74c942163e66212c43e4ad1b30394 # EXP-Topic vfs.cleanup # Available At

[PATCH 05 of 20] merge: directly use repo.vfs.join

2017-03-12 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1489020812 28800 # Wed Mar 08 16:53:32 2017 -0800 # Node ID d383436e0a8b7db98feb13235aac7e09d6d43595 # Parent aefb162f77e6434c3286cde061f7aa9d39f06a84 # EXP-Topic vfs.cleanup # Available At

[PATCH 07 of 20] subrepo: directly use repo.vfs.join

2017-03-12 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1489020827 28800 # Wed Mar 08 16:53:47 2017 -0800 # Node ID 81eb72c8ba72c9c0f57dc8e090b5bd9d2bff7cf1 # Parent 59fbf352777b40ac00fb8185f1cf900544fc769c # EXP-Topic vfs.cleanup # Available At

[PATCH] debugfsinfo: print fstype information

2017-03-12 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1489311257 28800 # Sun Mar 12 01:34:17 2017 -0800 # Node ID ff9af50d033388f74cbaf1eeac1509b3e75da07b # Parent 9da40a9e54c419490a2ff23b9dda7acc109f81cd # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 2 of 7 V3] posix: add a getfstype method

2017-03-12 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1489305410 28800 # Sat Mar 11 23:56:50 2017 -0800 # Node ID 9c4d023de5832618e06d9434968ef9af35d70986 # Parent 3fbaae1fa75a54a527d4f56963227561b65a8c28 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 1 of 7 V3] posix: implement a method to get filesystem type for Linux

2017-03-12 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1489302836 28800 # Sat Mar 11 23:13:56 2017 -0800 # Node ID 3fbaae1fa75a54a527d4f56963227561b65a8c28 # Parent 78ac7061f84000a0b1e6dae1c3f363324d8e1aba # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 6 of 7 V3] hghave: add a check about whitelisted filesystem that supports hardlink

2017-03-12 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1489307180 28800 # Sun Mar 12 00:26:20 2017 -0800 # Node ID de28b62236a7d47a896bc4aba2bd95dcd8defc87 # Parent 10ec43758c6b4034a0eeecf24a54752784c82a2c # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 3 of 7 V3] windows: add a getfstype method

2017-03-12 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1489305423 28800 # Sat Mar 11 23:57:03 2017 -0800 # Node ID ecd7fb0f1919e28472e6d41ea282c82d10c33675 # Parent 9c4d023de5832618e06d9434968ef9af35d70986 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 5 of 7 V3] util: disable hardlink for copyfile if fstype is outside a whitelist

2017-03-12 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1489306987 28800 # Sun Mar 12 00:23:07 2017 -0800 # Node ID 10ec43758c6b4034a0eeecf24a54752784c82a2c # Parent cd3743a4b74ef409de34ec002a469201cd39b30e # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 4 of 7 V3] util: add a getfstype method

2017-03-12 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1489305432 28800 # Sat Mar 11 23:57:12 2017 -0800 # Node ID cd3743a4b74ef409de34ec002a469201cd39b30e # Parent ecd7fb0f1919e28472e6d41ea282c82d10c33675 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

<    1   2