Re: [PATCH 1 of 8 V2] context: don't use mutable default argument value

2017-03-12 Thread Gregory Szorc
On Sun, Mar 12, 2017 at 9:57 PM, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1489380642 25200 > # Sun Mar 12 21:50:42 2017 -0700 > # Node ID 265102f455de6451e493024fb8a9f24d816ce1c2 > # Parent

[PATCH 7 of 8 V2] mq: don't use mutable default argument value

2017-03-12 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1489380946 25200 # Sun Mar 12 21:55:46 2017 -0700 # Node ID c9cfed31ea6d38b60f50c4af5efe850e3d7f4be7 # Parent e379f89d119b7b1cd40c313693912b5fdc4a3360 mq: don't use mutable default argument value diff --git

[PATCH 8 of 8 V2] rebase: don't use mutable default argument value

2017-03-12 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1489380999 25200 # Sun Mar 12 21:56:39 2017 -0700 # Node ID 080024492aa477ad75df0cb585d8040e7ab81aa6 # Parent c9cfed31ea6d38b60f50c4af5efe850e3d7f4be7 rebase: don't use mutable default argument value diff --git

[PATCH 6 of 8 V2] util: don't use mutable default argument value

2017-03-12 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1489380872 25200 # Sun Mar 12 21:54:32 2017 -0700 # Node ID e379f89d119b7b1cd40c313693912b5fdc4a3360 # Parent f72bef9154d773c05fa8b2ae30d7db55861fa639 util: don't use mutable default argument value I don't think this

[PATCH 5 of 8 V2] match: don't use mutable default argument value

2017-03-12 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1489380783 25200 # Sun Mar 12 21:53:03 2017 -0700 # Node ID f72bef9154d773c05fa8b2ae30d7db55861fa639 # Parent 14122c7b97163496df5ac6b98f7c2459259673b9 match: don't use mutable default argument value There shouldn't

[PATCH 4 of 8 V2] hgweb: don't use mutable default argument value

2017-03-12 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1489380737 25200 # Sun Mar 12 21:52:17 2017 -0700 # Node ID 14122c7b97163496df5ac6b98f7c2459259673b9 # Parent 735405d42d45801c7b75448e0263088327cac4af hgweb: don't use mutable default argument value diff --git

[PATCH 2 of 8 V2] filemerge: don't use mutable default argument value

2017-03-12 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1482796473 25200 # Mon Dec 26 16:54:33 2016 -0700 # Node ID f3927785d168824ac04c4eb44361337775286e01 # Parent 265102f455de6451e493024fb8a9f24d816ce1c2 filemerge: don't use mutable default argument value diff --git

[PATCH 1 of 8 V2] context: don't use mutable default argument value

2017-03-12 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1489380642 25200 # Sun Mar 12 21:50:42 2017 -0700 # Node ID 265102f455de6451e493024fb8a9f24d816ce1c2 # Parent 1c48a8278b2f015fca607dfc652823560a5ac580 context: don't use mutable default argument value Mutable default

[PATCH 3 of 8 V2] hgweb: don't use mutable default argument value

2017-03-12 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1482796547 25200 # Mon Dec 26 16:55:47 2016 -0700 # Node ID 735405d42d45801c7b75448e0263088327cac4af # Parent f3927785d168824ac04c4eb44361337775286e01 hgweb: don't use mutable default argument value diff --git

[PATCH] show: new extension for displaying various repository data

2017-03-12 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1489378362 25200 # Sun Mar 12 21:12:42 2017 -0700 # Node ID d30057d358076cbe7d632cd573095af97543f932 # Parent 1c3352d7eaf24533ad52d4b8a024211e9189fb0b show: new extension for displaying various repository data

Re: stdio handling is broken

2017-03-12 Thread Gregory Szorc
On Sun, Mar 12, 2017 at 7:59 PM, Bryan O'Sullivan wrote: > For complicated historical reasons, Mercurial doesn't handle errors upon > writes to stdout or stderr correctly. > > You can test this on a Linux box very easily. Correct behaviour involves > trying to print an error

Re: stdio handling is broken

2017-03-12 Thread Augie Fackler
Add a check to hghave for dev/full existing, then use a #if guard in a test. (On phone from biergarten, sorry for top post) On Mar 12, 2017 19:59, "Bryan O'Sullivan" wrote: > For complicated historical reasons, Mercurial doesn't handle errors upon > writes to stdout or

stdio handling is broken

2017-03-12 Thread Bryan O'Sullivan
For complicated historical reasons, Mercurial doesn't handle errors upon writes to stdout or stderr correctly. You can test this on a Linux box very easily. Correct behaviour involves trying to print an error message, followed by an error exit: $ /bin/echo a > /dev/full /bin/echo: write error:

Re: [PATCH] extensions: formalize concept of experimental extensions

2017-03-12 Thread Jun Wu
Excerpts from Gregory Szorc's message of 2017-03-12 19:48:35 -0700: > > > On Mar 12, 2017, at 19:28, Jun Wu wrote: > > > > If I read it correctly, this means an "experimental" extension will end up > > with: > > > > | ext=| ext=!beta > >

Re: [PATCH] extensions: formalize concept of experimental extensions

2017-03-12 Thread Gregory Szorc
> On Mar 12, 2017, at 19:28, Jun Wu wrote: > > If I read it correctly, this means an "experimental" extension will end up > with: > > | ext=| ext=!beta > > old client | load| do not load > new client | do

Re: [PATCH] extensions: formalize concept of experimental extensions

2017-03-12 Thread Jun Wu
If I read it correctly, this means an "experimental" extension will end up with: | ext=| ext=!beta old client | load| do not load new client | do not load | load I think that's confusing. I think we can have an

Re: [PATCH 4 of 4] py3: fix slicing of bytes in revset.formatspec()

2017-03-12 Thread Augie Fackler
On Sun, Mar 12, 2017 at 05:41:56PM -0700, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1489364203 25200 > # Sun Mar 12 17:16:43 2017 -0700 > # Node ID 3594ddbad77badd70e96afaab32b6a9010406cc3 > # Parent 99d5a74ec8d5fb6396ca940708e4b9922d96edf6

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

2017-03-12 Thread Gregory Szorc
On Sun, Mar 12, 2017 at 12:06 PM, Augie Fackler wrote: > 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

[PATCH 1 of 4] pycompat: add helper to iterate each char in bytes

2017-03-12 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1489363485 25200 # Sun Mar 12 17:04:45 2017 -0700 # Node ID 75c128696f8dbc4aaa56f0e2200ebd7f560a36d5 # Parent 7359157b9e46908645cc9cef62a5cf46224dba71 pycompat: add helper to iterate each char in bytes diff --git

[PATCH 3 of 4] py3: make set of revset operators and quotes in bytes

2017-03-12 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1489364034 25200 # Sun Mar 12 17:13:54 2017 -0700 # Node ID 99d5a74ec8d5fb6396ca940708e4b9922d96edf6 # Parent 06527fc4ae45e3950b098a2509a6a55b4a275a2f py3: make set of revset operators and quotes in bytes diff --git

[PATCH 4 of 4] py3: fix slicing of bytes in revset.formatspec()

2017-03-12 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1489364203 25200 # Sun Mar 12 17:16:43 2017 -0700 # Node ID 3594ddbad77badd70e96afaab32b6a9010406cc3 # Parent 99d5a74ec8d5fb6396ca940708e4b9922d96edf6 py3: fix slicing of bytes in revset.formatspec() diff --git

[PATCH 2 of 4] py3: convert set of revset initial symbols back to bytes

2017-03-12 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1489363814 25200 # Sun Mar 12 17:10:14 2017 -0700 # Node ID 06527fc4ae45e3950b098a2509a6a55b4a275a2f # Parent 75c128696f8dbc4aaa56f0e2200ebd7f560a36d5 py3: convert set of revset initial symbols back to bytes Otherwise

[PATCH] extensions: formalize concept of experimental extensions

2017-03-12 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1489364702 25200 # Sun Mar 12 17:25:02 2017 -0700 # Node ID 6a85d5031daf1ab3a5cb3c6705a46367d5e0de29 # Parent 1c3352d7eaf24533ad52d4b8a024211e9189fb0b extensions: formalize concept of experimental extensions Per

Re: [PATCH py26-fix] branchmap: fix python 2.6 by using util.buffer() instead of passing bytearray

2017-03-12 Thread Yuya Nishihara
On Sun, 12 Mar 2017 20:15:13 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1489362471 14400 > # Sun Mar 12 19:47:51 2017 -0400 > # Node ID df3fd1d493739948ba39c85072a09c5fee06480b > # Parent 52ee1b5ac277bd5569a8d3e3ae3e11dff0543323 >

Re: [PATCH] exewrapper: add an ability to always load python from hg-python subdir

2017-03-12 Thread Mads Kiilerich
On 03/12/2017 04:02 PM, Kostia Balytskyi wrote: # HG changeset patch # User Kostia Balytskyi # Date 1489359573 25200 # Sun Mar 12 15:59:33 2017 -0700 # Node ID bdd61a3470df08b09bd18bbb40e33a8f7cabe188 # Parent 7548522742b5f4f9f5c0881ae4a2783ecda2f969 exewrapper: add an

[PATCH py26-fix] branchmap: fix python 2.6 by using util.buffer() instead of passing bytearray

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489362471 14400 # Sun Mar 12 19:47:51 2017 -0400 # Node ID df3fd1d493739948ba39c85072a09c5fee06480b # Parent 52ee1b5ac277bd5569a8d3e3ae3e11dff0543323 branchmap: fix python 2.6 by using util.buffer() instead of passing

Re: [PATCH 2 of 2] rebase: allow rebasing children of wd to wd if a new branch has been set

2017-03-12 Thread Augie Fackler
On Sun, Mar 12, 2017 at 04:44:06PM -0700, Mads Kiilerich wrote: > # HG changeset patch > # User Mads Kiilerich > # Date 1489362241 25200 > # Sun Mar 12 16:44:01 2017 -0700 > # Node ID e3ac848788e45a0530abfa8705740824db6f3444 > # Parent

Re: [PATCH] lock: do not encode result of gethostname on Python 2

2017-03-12 Thread Augie Fackler
On Sun, Mar 12, 2017 at 04:35:42PM -0700, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1489361194 25200 > # Sun Mar 12 16:26:34 2017 -0700 > # Node ID 197708ab23f80bec7fd9cf70beb96eb759f2e59d > # Parent 52ee1b5ac277bd5569a8d3e3ae3e11dff0543323

[PATCH 2 of 2] rebase: allow rebasing children of wd to wd if a new branch has been set

2017-03-12 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1489362241 25200 # Sun Mar 12 16:44:01 2017 -0700 # Node ID e3ac848788e45a0530abfa8705740824db6f3444 # Parent 42083ac9c3ed1b3be205e0f3a621787071587ae5 rebase: allow rebasing children of wd to wd if a new branch has been

[PATCH] lock: do not encode result of gethostname on Python 2

2017-03-12 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1489361194 25200 # Sun Mar 12 16:26:34 2017 -0700 # Node ID 197708ab23f80bec7fd9cf70beb96eb759f2e59d # Parent 52ee1b5ac277bd5569a8d3e3ae3e11dff0543323 lock: do not encode result of gethostname on Python 2 If a hostname

Re: [PATCH 1 of 4 py3 v2] encoding: make encoding.encoding be a native str and add encodingb

2017-03-12 Thread Yuya Nishihara
On Sun, 12 Mar 2017 15:42:06 -0700, Augie Fackler wrote: > > On Mar 12, 2017, at 15:10, Augie Fackler wrote: > >> On Mar 12, 2017, at 15:08, Yuya Nishihara wrote: > >> On Sun, 12 Mar 2017 17:51:15 -0400, Augie Fackler wrote: > >>> # HG changeset patch > >>> #

[PATCH] exewrapper: add an ability to always load python from hg-python subdir

2017-03-12 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1489359573 25200 # Sun Mar 12 15:59:33 2017 -0700 # Node ID bdd61a3470df08b09bd18bbb40e33a8f7cabe188 # Parent 7548522742b5f4f9f5c0881ae4a2783ecda2f969 exewrapper: add an ability to always load python from hg-python subdir

Re: [PATCH 1 of 3 py3 v3] lock: encode result of gethostname into a bytestring

2017-03-12 Thread Yuya Nishihara
On Sun, 12 Mar 2017 18:42:24 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1489303730 14400 > # Sun Mar 12 03:28:50 2017 -0400 > # Node ID a8f3bbc6259aebdeeef9f58309800f4070081214 > # Parent 7548522742b5f4f9f5c0881ae4a2783ecda2f969 >

Re: config: avoid using a mutable default

2017-03-12 Thread Augie Fackler
On Sun, Mar 12, 2017 at 12:56:20PM -0700, Martijn Pieters wrote: > # HG changeset patch > # User Martijn Pieters > # Date 1489348572 25200 > # Sun Mar 12 12:56:12 2017 -0700 > # Node ID 22c38e571b5ccf3bb6d9f075526170954843f37a > # Parent

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

2017-03-12 Thread Yuya Nishihara
On Sat, 11 Mar 2017 17:21:41 -0800, Jun Wu wrote: > 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: > > > Unlike the current "start new server for new extensions" behavior. The new > > > design allows us to serve the

[PATCH 2 of 3 py3 v3] tests: make a variable for hg binary location in test-check-py3-commands

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489304265 14400 # Sun Mar 12 03:37:45 2017 -0400 # Node ID 2cd4d7ea0b19c4d5c55ccf8026ff1d7aa493a8cb # Parent a8f3bbc6259aebdeeef9f58309800f4070081214 tests: make a variable for hg binary location in test-check-py3-commands

[PATCH 1 of 3 py3 v3] lock: encode result of gethostname into a bytestring

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489303730 14400 # Sun Mar 12 03:28:50 2017 -0400 # Node ID a8f3bbc6259aebdeeef9f58309800f4070081214 # Parent 7548522742b5f4f9f5c0881ae4a2783ecda2f969 lock: encode result of gethostname into a bytestring diff --git

[PATCH 3 of 3 py3 v3] py3: prove `hg files --rev` works

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489304018 14400 # Sun Mar 12 03:33:38 2017 -0400 # Node ID 0469a0ef78c613b1dcb533db0cff288f0871e7a8 # Parent 2cd4d7ea0b19c4d5c55ccf8026ff1d7aa493a8cb py3: prove `hg files --rev` works diff --git

[PATCH 10 of 10 RFC v2] compat: add ui.interface=curses to latest

2017-03-12 Thread David Soria Parra
# HG changeset patch # User David Soria Parra # Date 1489358250 25200 # Sun Mar 12 15:37:30 2017 -0700 # Node ID 4ae47aa5224bbca0f9bc35b2b0aef0ab01059ccc # Parent b114907de6ce0f3d07c7be37e6570cc0a9456df6 compat: add ui.interface=curses to latest diff --git

[PATCH 05 of 10 RFC v2] help: document compat mode

2017-03-12 Thread David Soria Parra
# HG changeset patch # User David Soria Parra # Date 1489349206 25200 # Sun Mar 12 13:06:46 2017 -0700 # Node ID d402acdf7c439dc369b6ab3a6888078a2895978a # Parent 0986fb7be0f584f5169f93377f9d013f87381ea7 help: document compat mode diff --git a/mercurial/help/config.txt

[PATCH 08 of 10 RFC v2] compat: add diff.showfunc=True to latest

2017-03-12 Thread David Soria Parra
# HG changeset patch # User David Soria Parra # Date 1489358226 25200 # Sun Mar 12 15:37:06 2017 -0700 # Node ID 8d4b79f7c6012aa1595fa3fbe184bc6849e3d81c # Parent 7256c598a7f493bcc999259a4cbd88d86077746d compat: add diff.showfunc=True to latest diff --git

[PATCH 01 of 10 RFC v2] ui: refactoring handling of trusted, user and overlay

2017-03-12 Thread David Soria Parra
# HG changeset patch # User David Soria Parra # Date 1489349204 25200 # Sun Mar 12 13:06:44 2017 -0700 # Node ID 99514a82d5b23c75bd6da38e522acfd14a618c14 # Parent 1c3352d7eaf24533ad52d4b8a024211e9189fb0b ui: refactoring handling of trusted, user and overlay We are using

[PATCH 06 of 10 RFC v2] dispatch: modernize the ui after finalizing config loading

2017-03-12 Thread David Soria Parra
# HG changeset patch # User David Soria Parra # Date 1489349206 25200 # Sun Mar 12 13:06:46 2017 -0700 # Node ID 63065d4cb13dc3acb9177473896fc3c9c9c7993b # Parent d402acdf7c439dc369b6ab3a6888078a2895978a dispatch: modernize the ui after finalizing config loading We have to

[PATCH 09 of 10 RFC v2] compat: add ui.color=auto to latest

2017-03-12 Thread David Soria Parra
# HG changeset patch # User David Soria Parra # Date 1489358241 25200 # Sun Mar 12 15:37:21 2017 -0700 # Node ID b114907de6ce0f3d07c7be37e6570cc0a9456df6 # Parent 8d4b79f7c6012aa1595fa3fbe184bc6849e3d81c compat: add ui.color=auto to latest diff --git a/mercurial/compat.py

[PATCH 04 of 10 RFC v2] compat: module to handle different ui.compat settings

2017-03-12 Thread David Soria Parra
# HG changeset patch # User David Soria Parra # Date 1489349206 25200 # Sun Mar 12 13:06:46 2017 -0700 # Node ID 0986fb7be0f584f5169f93377f9d013f87381ea7 # Parent ef5ce5325596fe5fef014a320abae0f0d5980f3d compat: module to handle different ui.compat settings We are

[PATCH] py3: initial type hinting stubs

2017-03-12 Thread Martijn Pieters
# HG changeset patch # User Martijn Pieters # Date 1489356745 25200 # Sun Mar 12 15:12:25 2017 -0700 # Node ID c363e933a66bb85ddbfe8301bbfd246ecaad95d6 # Parent 719e64bf9ec2d7b8e86b6550a5d193b3c67944d1 py3: initial type hinting stubs These are stub files to be used by

Re: [PATCH 1 of 4 py3 v2] encoding: make encoding.encoding be a native str and add encodingb

2017-03-12 Thread Augie Fackler
> On Mar 12, 2017, at 15:08, Yuya Nishihara wrote: > > On Sun, 12 Mar 2017 17:51:15 -0400, Augie Fackler wrote: >> # HG changeset patch >> # User Augie Fackler >> # Date 1489303712 14400 >> # Sun Mar 12 03:28:32 2017 -0400 >> # Node ID

Re: [PATCH 1 of 4 py3 v2] encoding: make encoding.encoding be a native str and add encodingb

2017-03-12 Thread Yuya Nishihara
On Sun, 12 Mar 2017 17:51:15 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1489303712 14400 > # Sun Mar 12 03:28:32 2017 -0400 > # Node ID 4455c6cdbf1e9cd524b43c69ecefef819e0b4e30 > # Parent 7dd2f51f38ac224cec522d093ff6f805beb0dd3e >

Re: [PATCH] localrepo: deprecate 'repo.join' in favor of 'repo.vfs.join'

2017-03-12 Thread Augie Fackler
On Sun, Mar 12, 2017 at 01:17:34PM -0700, Pierre-Yves David wrote: > # HG changeset patch > # User Pierre-Yves David > # Date 1470398944 -7200 > # Fri Aug 05 14:09:04 2016 +0200 > # Node ID 1e79d966aa2bdc9e13c62b94b0e12cfc469b5eb5 > # Parent

Re: [PATCH] pycompat: move imports of cStringIO/io to where they are used

2017-03-12 Thread Augie Fackler
On Sun, Mar 12, 2017 at 01:16:43PM -0700, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1489348451 25200 > # Sun Mar 12 12:54:11 2017 -0700 > # Node ID 442615c97b9787fd864d8a59b4076eca3a15a0b0 > # Parent 8a17c541177f32348e248608b6a9dfd7fefdf517

Re: [PATCH] debugfsinfo: print fstype information

2017-03-12 Thread Augie Fackler
> On Mar 12, 2017, at 12:26, Jun Wu wrote: > > Sorry. It's meant to be PATCH 8 of 8. Next time I'll use "--in-reply-to" to > attach it to an existing thread. It's better to either resend the whole series or wait until the first batch lands, otherwise you'll confuse people that

[PATCH 3 of 4 py3 v2] tests: make a variable for hg binary location in test-check-py3-commands

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489304265 14400 # Sun Mar 12 03:37:45 2017 -0400 # Node ID d1352bf3a81a39261a29ffc461ff8d25f28e713e # Parent 81927dc713bc65e5f449fbdf4f9e2e966d068e56 tests: make a variable for hg binary location in test-check-py3-commands

[PATCH 4 of 4 py3 v2] py3: prove `hg files --rev` works

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489304018 14400 # Sun Mar 12 03:33:38 2017 -0400 # Node ID bf857f481983d067419eb48b524db6e906a0147d # Parent d1352bf3a81a39261a29ffc461ff8d25f28e713e py3: prove `hg files --rev` works diff --git

[PATCH 1 of 4 py3 v2] encoding: make encoding.encoding be a native str and add encodingb

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489303712 14400 # Sun Mar 12 03:28:32 2017 -0400 # Node ID 4455c6cdbf1e9cd524b43c69ecefef819e0b4e30 # Parent 7dd2f51f38ac224cec522d093ff6f805beb0dd3e encoding: make encoding.encoding be a native str and add encodingb It

[PATCH 2 of 4 py3 v2] lock: encode result of gethostname into a bytestring

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489303730 14400 # Sun Mar 12 03:28:50 2017 -0400 # Node ID 81927dc713bc65e5f449fbdf4f9e2e966d068e56 # Parent 4455c6cdbf1e9cd524b43c69ecefef819e0b4e30 lock: encode result of gethostname into a bytestring diff --git

Re: [PATCH 01 of 12 py3] store: fix many single-byte ops to use slicing in _auxencode

2017-03-12 Thread Yuya Nishihara
On Sun, 12 Mar 2017 13:17:54 -0700, Gregory Szorc wrote: > On Sun, Mar 12, 2017 at 12:49 PM, Augie Fackler wrote: > > > # HG changeset patch > > # User Augie Fackler > > # Date 1489297844 18000 > > # Sun Mar 12 00:50:44 2017 -0500 > > # Node ID

[PATCH] localrepo: deprecate 'repo.join' in favor of 'repo.vfs.join'

2017-03-12 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1470398944 -7200 # Fri Aug 05 14:09:04 2016 +0200 # Node ID 1e79d966aa2bdc9e13c62b94b0e12cfc469b5eb5 # Parent 8a17c541177f32348e248608b6a9dfd7fefdf517 # EXP-Topic vfs.cleanup # Available At

Re: [PATCH 01 of 12 py3] store: fix many single-byte ops to use slicing in _auxencode

2017-03-12 Thread Gregory Szorc
On Sun, Mar 12, 2017 at 12:49 PM, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1489297844 18000 > # Sun Mar 12 00:50:44 2017 -0500 > # Node ID 90b52b8ab62de4417fe13b06e52e9ff312bb30f9 > # Parent

Re: [PATCH 2 of 2] rbc: empty (and invalid) rbc-names file should give an empty name list

2017-03-12 Thread Augie Fackler
On Sun, Mar 12, 2017 at 12:33:56PM -0700, Mads Kiilerich wrote: > # HG changeset patch > # User Mads Kiilerich > # Date 1489346250 25200 > # Sun Mar 12 12:17:30 2017 -0700 > # Node ID 1b5144a87e936fc8071463956816a89041478126 > # Parent

[PATCH] pycompat: move imports of cStringIO/io to where they are used

2017-03-12 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1489348451 25200 # Sun Mar 12 12:54:11 2017 -0700 # Node ID 442615c97b9787fd864d8a59b4076eca3a15a0b0 # Parent 8a17c541177f32348e248608b6a9dfd7fefdf517 pycompat: move imports of cStringIO/io to where they are used There's no

Re: [PATCH 08 of 12 py3] encoding: make encoding.encoding be a native str and add encodingb

2017-03-12 Thread Yuya Nishihara
On Sun, 12 Mar 2017 15:49:57 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1489303712 14400 > # Sun Mar 12 03:28:32 2017 -0400 > # Node ID 19f6f41baa5ef326d3cc953093c5d7ff5dcc4427 > # Parent 84996257b560fa41535e4d0360cb33436662581c >

[PATCH 6 of 6 RFC] dispatch: modernize the ui after finalizing config loading

2017-03-12 Thread David Soria Parra
# HG changeset patch # User David Soria Parra # Date 1489349206 25200 # Sun Mar 12 13:06:46 2017 -0700 # Node ID 9eca95dec659b3ff37608fd257d888520599124d # Parent 2dfa752cf0751010867944aa707bd7a722d3ea87 dispatch: modernize the ui after finalizing config loading We have to

[PATCH 4 of 6 RFC] compat: module to handle different ui.compat settings

2017-03-12 Thread David Soria Parra
# HG changeset patch # User David Soria Parra # Date 1489349206 25200 # Sun Mar 12 13:06:46 2017 -0700 # Node ID 8efd04667ba8d2939a937f549e803bc3b56f70a7 # Parent ef5ce5325596fe5fef014a320abae0f0d5980f3d compat: module to handle different ui.compat settings We are

[PATCH 3 of 6 RFC] ui: don't return certain layers when they are supposed to be displayed

2017-03-12 Thread David Soria Parra
# HG changeset patch # User David Soria Parra # Date 1489349206 25200 # Sun Mar 12 13:06:46 2017 -0700 # Node ID ef5ce5325596fe5fef014a320abae0f0d5980f3d # Parent 084a30b54810d05c8b44d22fcab2ef6f783a9f7c ui: don't return certain layers when they are supposed to be displayed

[PATCH 5 of 6 RFC] help: document compat mode

2017-03-12 Thread David Soria Parra
# HG changeset patch # User David Soria Parra # Date 1489349206 25200 # Sun Mar 12 13:06:46 2017 -0700 # Node ID 2dfa752cf0751010867944aa707bd7a722d3ea87 # Parent 8efd04667ba8d2939a937f549e803bc3b56f70a7 help: document compat mode diff --git a/mercurial/help/config.txt

[PATCH 1 of 6 RFC] ui: refactoring handling of trusted, user and overlay

2017-03-12 Thread David Soria Parra
# HG changeset patch # User David Soria Parra # Date 1489349204 25200 # Sun Mar 12 13:06:44 2017 -0700 # Node ID 99514a82d5b23c75bd6da38e522acfd14a618c14 # Parent 1c3352d7eaf24533ad52d4b8a024211e9189fb0b ui: refactoring handling of trusted, user and overlay We are using

[PATCH 2 of 6 RFC] ui: add a defaults layer to the config

2017-03-12 Thread David Soria Parra
# HG changeset patch # User David Soria Parra # Date 1489349206 25200 # Sun Mar 12 13:06:46 2017 -0700 # Node ID 084a30b54810d05c8b44d22fcab2ef6f783a9f7c # Parent 99514a82d5b23c75bd6da38e522acfd14a618c14 ui: add a defaults layer to the config Add a defaults layer to the

Re: [PATCH] rebase: move state serialization to use unfiltered repo

2017-03-12 Thread Augie Fackler
On Sun, Mar 12, 2017 at 12:41:25PM -0700, Durham Goode wrote: > # HG changeset patch > # User Durham Goode > # Date 1489347215 25200 > # Sun Mar 12 12:33:35 2017 -0700 > # Node ID ec3731bcacca0a6c65da08e20f7784bdd210161d > # Parent 718a57e95a897f4ac407ae3733a7d41e87354acb >

[PATCH] config: avoid using a mutable default

2017-03-12 Thread Martijn Pieters
# HG changeset patch # User Martijn Pieters # Date 1489348572 25200 # Sun Mar 12 12:56:12 2017 -0700 # Node ID 22c38e571b5ccf3bb6d9f075526170954843f37a # Parent 719e64bf9ec2d7b8e86b6550a5d193b3c67944d1 config: avoid using a mutable default Nothing *currently* mutates this

[PATCH 02 of 12 py3] files: use native string type to load rev opt from dict

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489297860 18000 # Sun Mar 12 00:51:00 2017 -0500 # Node ID 82cbf9cd26c318c4f3efa2e01d32f226c492cd11 # Parent 90b52b8ab62de4417fe13b06e52e9ff312bb30f9 files: use native string type to load rev opt from dict diff --git

[PATCH 11 of 12 py3] py3: prove `hg files --rev` works

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489304018 14400 # Sun Mar 12 03:33:38 2017 -0400 # Node ID a7ce480c925f8f904bdbf590a4e94529956cc48f # Parent 1791e8b68cec47943ca97fc58c45fb69f2fa895c py3: prove `hg files --rev` works diff --git

[PATCH 04 of 12 py3] manifest: use node.bin instead of .decode('hex')

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489303788 14400 # Sun Mar 12 03:29:48 2017 -0400 # Node ID 65576cf9d641ace0f86c3b359cf9baa07c8a100d # Parent 90450bdc25b4adba9e4941b62f3b77c264636842 manifest: use node.bin instead of .decode('hex') The latter doesn't work

[PATCH 05 of 12 py3] manifest: now that node.bin is available, use it directly

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489303815 14400 # Sun Mar 12 03:30:15 2017 -0400 # Node ID 9b0c4bba327a1c1809fc5e7da184c695561e272c # Parent 65576cf9d641ace0f86c3b359cf9baa07c8a100d manifest: now that node.bin is available, use it directly Previously we

[PATCH 10 of 12 py3] tests: make a variable for hg binary location in test-check-py3-commands

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489304265 14400 # Sun Mar 12 03:37:45 2017 -0400 # Node ID 1791e8b68cec47943ca97fc58c45fb69f2fa895c # Parent 600b4b0de4f01e4cdafb538805cb46e933b8c2a9 tests: make a variable for hg binary location in test-check-py3-commands

[PATCH 06 of 12 py3] manifest: ensure paths are bytes (not str) in pure parser

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489303914 14400 # Sun Mar 12 03:31:54 2017 -0400 # Node ID 5a0a53d127726a34013a34156d47ab873f6dc8df # Parent 9b0c4bba327a1c1809fc5e7da184c695561e272c manifest: ensure paths are bytes (not str) in pure parser diff --git

[PATCH 03 of 12 py3] manifest: add __next__ methods for Python 3

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489297400 18000 # Sun Mar 12 00:43:20 2017 -0500 # Node ID 90450bdc25b4adba9e4941b62f3b77c264636842 # Parent 82cbf9cd26c318c4f3efa2e01d32f226c492cd11 manifest: add __next__ methods for Python 3 Python 3 renamed .next() in

[PATCH 12 of 12 py3] revlog: use bytes() instead of str() to get data from memoryview

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489346822 14400 # Sun Mar 12 15:27:02 2017 -0400 # Node ID 6c5c0c483a25af9a1a2ebdbc6acadfdd072354d6 # Parent a7ce480c925f8f904bdbf590a4e94529956cc48f revlog: use bytes() instead of str() to get data from memoryview Fixes

[PATCH 01 of 12 py3] store: fix many single-byte ops to use slicing in _auxencode

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489297844 18000 # Sun Mar 12 00:50:44 2017 -0500 # Node ID 90b52b8ab62de4417fe13b06e52e9ff312bb30f9 # Parent 8a17c541177f32348e248608b6a9dfd7fefdf517 store: fix many single-byte ops to use slicing in _auxencode diff --git

[PATCH 08 of 12 py3] encoding: make encoding.encoding be a native str and add encodingb

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489303712 14400 # Sun Mar 12 03:28:32 2017 -0400 # Node ID 19f6f41baa5ef326d3cc953093c5d7ff5dcc4427 # Parent 84996257b560fa41535e4d0360cb33436662581c encoding: make encoding.encoding be a native str and add encodingb It

[PATCH 09 of 12 py3] lock: encode result of gethostname into a bytestring

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489303730 14400 # Sun Mar 12 03:28:50 2017 -0400 # Node ID 600b4b0de4f01e4cdafb538805cb46e933b8c2a9 # Parent 19f6f41baa5ef326d3cc953093c5d7ff5dcc4427 lock: encode result of gethostname into a bytestring diff --git

[PATCH 07 of 12 py3] util: teach url object about __bytes__

2017-03-12 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1489304002 14400 # Sun Mar 12 03:33:22 2017 -0400 # Node ID 84996257b560fa41535e4d0360cb33436662581c # Parent 5a0a53d127726a34013a34156d47ab873f6dc8df util: teach url object about __bytes__ __str__ tries to do something

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 12:26:57 -0700: > On Sun, 12 Mar 2017 12:06:32 -0700, Jun Wu wrote: > > 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

[PATCH] rebase: move state serialization to use unfiltered repo

2017-03-12 Thread Durham Goode
# HG changeset patch # User Durham Goode # Date 1489347215 25200 # Sun Mar 12 12:33:35 2017 -0700 # Node ID ec3731bcacca0a6c65da08e20f7784bdd210161d # Parent 718a57e95a897f4ac407ae3733a7d41e87354acb rebase: move state serialization to use unfiltered repo Now that rebasestate

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

2017-03-12 Thread Augie Fackler
On Mon, Mar 13, 2017 at 04:13:55AM +0900, FUJIWARA Katsunori wrote: > # HG changeset patch > # User FUJIWARA Katsunori > # Date 1489345596 -32400 > # Mon Mar 13 04:06:36 2017 +0900 > # Node ID 2526bffdc7f01acb4e0f77865fce0ffab675250f > # Parent

Re: [PATCH RFC] ui: introduce sysdefault section for pager and editor configuration

2017-03-12 Thread Jun Wu
What if instead of reading environments directly, introduce a new config layer which is converted from environment variables? Like: - (Top)layer: command line config flags - layer: user configs - layer: config converted from environment variables

Re: [PATCH] py3: drop unused aliases to array.array which are replaced with bytearray

2017-03-12 Thread Augie Fackler
On Sun, Mar 12, 2017 at 12:08:43PM -0700, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1489344422 25200 > # Sun Mar 12 11:47:02 2017 -0700 > # Node ID 78cce06ea6c3820626e57704eda821095677a23b > # Parent ff6dc91618236ef7a3d315921133b48bbc0d6f89

[PATCH 2 of 2] rbc: empty (and invalid) rbc-names file should give an empty name list

2017-03-12 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1489346250 25200 # Sun Mar 12 12:17:30 2017 -0700 # Node ID 1b5144a87e936fc8071463956816a89041478126 # Parent 023b6f7456b3622cc81332ae9d6e30b7ecc37415 rbc: empty (and invalid) rbc-names file should give an empty name list

Re: [PATCH py3] pycompat: default to BytesIO instead of StringIO

2017-03-12 Thread Augie Fackler
On Mon, Mar 13, 2017 at 12:57:06AM +0530, Pulkit Goyal wrote: > # HG changeset patch > # User Pulkit Goyal <7895pul...@gmail.com> > # Date 1489346714 -19800 > # Mon Mar 13 00:55:14 2017 +0530 > # Node ID 047e7ee79f6a30b295bf02fa23171212848546f6 > # Parent

[PATCH 1 of 2] rbc: use struct unpack_from and pack_into instead of unpack and pack

2017-03-12 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1476837995 -7200 # Wed Oct 19 02:46:35 2016 +0200 # Node ID 023b6f7456b3622cc81332ae9d6e30b7ecc37415 # Parent 1c3352d7eaf24533ad52d4b8a024211e9189fb0b rbc: use struct unpack_from and pack_into instead of unpack and pack

Re: [PATCH py3] pycompat: default to BytesIO instead of StringIO

2017-03-12 Thread Pulkit Goyal
On Mon, Mar 13, 2017 at 12:59 AM, Gregory Szorc wrote: > On Sun, Mar 12, 2017 at 12:27 PM, Pulkit Goyal <7895pul...@gmail.com> > wrote: > >> # HG changeset patch >> # User Pulkit Goyal <7895pul...@gmail.com> >> # Date 1489346714 -19800 >> # Mon Mar 13 00:55:14 2017

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

2017-03-12 Thread Yuya Nishihara
On Sun, 12 Mar 2017 12:06:32 -0700, Jun Wu wrote: > 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

[PATCH py3] pycompat: default to BytesIO instead of StringIO

2017-03-12 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1489346714 -19800 # Mon Mar 13 00:55:14 2017 +0530 # Node ID 047e7ee79f6a30b295bf02fa23171212848546f6 # Parent 719e64bf9ec2d7b8e86b6550a5d193b3c67944d1 pycompat: default to BytesIO instead of StringIO diff -r

Re: [PATCH] debugfsinfo: print fstype information

2017-03-12 Thread Jun Wu
Sorry. It's meant to be PATCH 8 of 8. Next time I'll use "--in-reply-to" to attach it to an existing thread. Excerpts from Augie Fackler's message of 2017-03-12 11:54:15 -0700: > > > On Mar 12, 2017, at 11:53, Yuya Nishihara wrote: > > > > On Sun, 12 Mar 2017 14:12:03 -0400,

[Bug 5499] New: on running command hg bzexport to create a patch

2017-03-12 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5499 Bug ID: 5499 Summary: on running command hg bzexport to create a patch Product: Mercurial Version: unspecified Hardware: PC OS: Windows Status: UNCONFIRMED

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

2017-03-12 Thread Jun Wu
Excerpts from Mads Kiilerich's message of 2017-03-12 11:48:35 -0700: > I only see mentioning of problems with Windows on the client side. > Matt's theory of the source of the cache coherency issue suggested that > it was interaction between client and server side caches. Non-windows > client

[PATCH RFC] configoptions: introduce registrar for config options

2017-03-12 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1489346234 25200 # Sun Mar 12 12:17:14 2017 -0700 # Node ID dd26bc2a3056879181851aaa3ff4accbfc42e1ad # Parent 62939e0148f170b67ca8c7374f36c413b67fd387 configoptions: introduce registrar for config options Various

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

2017-03-12 Thread Yuya Nishihara
On Sun, 12 Mar 2017 14:57:46 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1489297542 18000 > # Sun Mar 12 00:45:42 2017 -0500 > # Node ID 30c4b444e0beaea64ab35b594bb976bafba9aa34 > # Parent 666d6b8778093c73611aa728f92c688a75994ed6 >

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

2017-03-12 Thread Pulkit Goyal
This series don't include any rocket science, so must be pushed. LGTM On Mon, Mar 13, 2017 at 12:27 AM, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1489297686 18000 > # Sun Mar 12 00:48:06 2017 -0500 > # Node ID

[PATCH V2] py3: add "b" prefix to string literals related to module policy

2017-03-12 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1489345596 -32400 # Mon Mar 13 04:06:36 2017 +0900 # Node ID 2526bffdc7f01acb4e0f77865fce0ffab675250f # Parent 62939e0148f170b67ca8c7374f36c413b67fd387 py3: add "b" prefix to string literals related to module

[PATCH] py3: drop unused aliases to array.array which are replaced with bytearray

2017-03-12 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1489344422 25200 # Sun Mar 12 11:47:02 2017 -0700 # Node ID 78cce06ea6c3820626e57704eda821095677a23b # Parent ff6dc91618236ef7a3d315921133b48bbc0d6f89 py3: drop unused aliases to array.array which are replaced with bytearray

  1   2   >