[PATCH V4] posix: update os.popen with subprocess (issue4746)

2017-03-03 Thread Rishabh Madan
# HG changeset patch # User Rishabh Madan # Date 1488611777 -19800 # Sat Mar 04 12:46:17 2017 +0530 # Node ID 99a468ebed64e08a157fdad1333e44103886130d # Parent 71f692f1f678d86ffb4f95a3621aacfdaeb96b05 posix: update os.popen with subprocess (issue4746) While importing a patch, we use a patch

Re: [PATCH V3] posix: update os.popen with subprocess (issue4746)

2017-03-03 Thread Rishabh Madan
> > Oops, I noticed this wasn't that simple. The issue 4746 says the exit code > is wrongly interpreted, which is a return value of fp.close(), where fp > would > be closed by pclose(). However, a file created by subprocess isn't > special, so > its close() would return no value. So is there any

Re: [PATCH 8 of 8] fileset: add a 'status(...)' predicate to control evaluation context

2017-03-03 Thread Matt Harbison
On Fri, 03 Mar 2017 08:40:45 -0500, Pierre-Yves David wrote: # HG changeset patch # User Pierre-Yves David # Date 1488546500 -3600 # Fri Mar 03 14:08:20 2017 +0100 # Node ID 3e95bf7ed38189f6f56de89571fffc667280bb56 # Parent 9d6e733046b9aa7e2ded8c4207625fedcc2a8c04 # EXP-Topic filesetre

Re: [PATCH V3] posix: update os.popen with subprocess (issue4746)

2017-03-03 Thread Yuya Nishihara
On Sat, 04 Mar 2017 03:02:37 +0530, Rishabh Madan wrote: > # HG changeset patch > # User Rishabh Madan > # Date 1488572534 -19800 > # Sat Mar 04 01:52:14 2017 +0530 > # Node ID 96bd01e81f0c8402392daa9f41cac72e31cbdc32 > # Parent 71f692f1f678d86ffb4f95a3621aacfdaeb96b05 > posix: update os.pop

Re: stable ordering of test output

2017-03-03 Thread Jun Wu
Excerpts from Danek Duvall's message of 2017-03-03 14:45:56 -0800: > I frequently get failures like this: > > --- .../mercurial.hg/tests/test-bundle2-exchange.t > +++ .../mercurial.hg/tests/test-bundle2-exchange.t.err > @@ -1042,11 +1042,11 @@ >$ hg --config devel.legacy.exchan

stable ordering of test output

2017-03-03 Thread Danek Duvall
I frequently get failures like this: --- .../mercurial.hg/tests/test-bundle2-exchange.t +++ .../mercurial.hg/tests/test-bundle2-exchange.t.err @@ -1042,11 +1042,11 @@ $ hg --config devel.legacy.exchange=bundle1 clone ssh://user@dummy/bundle2onlyserver not-bundle2-ssh req

[Bug 5496] New: Unable to clone repo published by ISAPI_WSGI module over HTTPS with client cert auth on Windwows server with local differ from en_US

2017-03-03 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5496 Bug ID: 5496 Summary: Unable to clone repo published by ISAPI_WSGI module over HTTPS with client cert auth on Windwows server with local differ from en_US Product: Mercurial

Re: [PATCH 1 of 5] localrepo: add some comment about role of various vfs object

2017-03-03 Thread Ryan McElroy
On 3/3/17 5:49 AM, Yuya Nishihara wrote: I slightly prefer the new one, but I hesitated to update them in flight. Can you send a follow up? Will do. Since I haven't sent anything to the list in a while it will be good practice! ___ Mercurial-devel ma

[PATCH V3] posix: update os.popen with subprocess (issue4746)

2017-03-03 Thread Rishabh Madan
# HG changeset patch # User Rishabh Madan # Date 1488572534 -19800 # Sat Mar 04 01:52:14 2017 +0530 # Node ID 96bd01e81f0c8402392daa9f41cac72e31cbdc32 # Parent 71f692f1f678d86ffb4f95a3621aacfdaeb96b05 posix: update os.popen with subprocess (issue4746) While importing a patch, we use a patch

[PATCH 4 of 6] status: handle more node indicators in buildstatus

2017-03-03 Thread Durham Goode
# HG changeset patch # User Durham Goode # Date 1488566235 28800 # Fri Mar 03 10:37:15 2017 -0800 # Node ID 78e0fb2bd1bc972444ae08e7b7165da66cbf53a3 # Parent 883bb49a3b40609074d56257aab7619f0c306efc status: handle more node indicators in buildstatus There are several different node markers

[PATCH 1 of 6] manifest: add match argument to diff and filesnotin

2017-03-03 Thread Durham Goode
# HG changeset patch # User Durham Goode # Date 1488519802 28800 # Thu Mar 02 21:43:22 2017 -0800 # Node ID e2ec7a1c68da7209233489a5c05efc5728463632 # Parent b4cd912d7704cd976e1bee3a3c927e0e578ec88f manifest: add match argument to diff and filesnotin As part of removing manifest.matches (si

[PATCH 2 of 6] copies: remove use of manifest.matches

2017-03-03 Thread Durham Goode
# HG changeset patch # User Durham Goode # Date 1488519862 28800 # Thu Mar 02 21:44:22 2017 -0800 # Node ID 4cebdd029399cf7c3b0fff73faf1f41af0e895d1 # Parent e2ec7a1c68da7209233489a5c05efc5728463632 copies: remove use of manifest.matches Convert the existing use of manifest.matches to use t

[PATCH 5 of 6] context: remove uses of manifest.matches

2017-03-03 Thread Durham Goode
# HG changeset patch # User Durham Goode # Date 1488569391 28800 # Fri Mar 03 11:29:51 2017 -0800 # Node ID 207763e895c7d24885df22f5b9c0df5494d77daf # Parent 78e0fb2bd1bc972444ae08e7b7165da66cbf53a3 context: remove uses of manifest.matches This removes the uses of manifest.matches in contex

[PATCH 6 of 6] manifest: rename matches to _matches

2017-03-03 Thread Durham Goode
# HG changeset patch # User Durham Goode # Date 1488517595 28800 # Thu Mar 02 21:06:35 2017 -0800 # Node ID 1bed8ee65389133923b9076909e04f66ef26f1b8 # Parent 207763e895c7d24885df22f5b9c0df5494d77daf manifest: rename matches to _matches Now that there are no external consumers of manifest.ma

[PATCH 3 of 6] merge: remove uses of manifest.matches

2017-03-03 Thread Durham Goode
# HG changeset patch # User Durham Goode # Date 1488519936 28800 # Thu Mar 02 21:45:36 2017 -0800 # Node ID 883bb49a3b40609074d56257aab7619f0c306efc # Parent 4cebdd029399cf7c3b0fff73faf1f41af0e895d1 merge: remove uses of manifest.matches This gets rid of the manifest.matches calls in merge.

[PATCH 6 of 6 py3] ui: fix configlist on Python 3

2017-03-03 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1488568206 18000 # Fri Mar 03 14:10:06 2017 -0500 # Node ID bcec46d842ea6b75a899427d53a4ed585b7a7058 # Parent 168a2acc512f0dbcc9d1469ae97ea4226fc18243 ui: fix configlist on Python 3 Since we're working on bytestrings, we have to use [offset:o

[PATCH 2 of 6 py3] config: add sanity assert that files are opened as binary

2017-03-03 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1488563711 18000 # Fri Mar 03 12:55:11 2017 -0500 # Node ID 0034a661fbdc1e29e51fe8e2877467204282f669 # Parent 2a02a4ec5147f8bd6685a609ce9499b1266cc6db config: add sanity assert that files are opened as binary This helps with some debugging in

[PATCH 5 of 6 py3] ui: fix ui.traceback on Python 3

2017-03-03 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1488568154 18000 # Fri Mar 03 14:09:14 2017 -0500 # Node ID 168a2acc512f0dbcc9d1469ae97ea4226fc18243 # Parent 224bce12f19ec6fb7ab1563797d81e902121dcb6 ui: fix ui.traceback on Python 3 diff --git a/mercurial/ui.py b/mercurial/ui.py --- a/mercu

[PATCH 3 of 6 py3] config: pass some optional args as keywords

2017-03-03 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1488563749 18000 # Fri Mar 03 12:55:49 2017 -0500 # Node ID 2ab40e1c47207da01974913a46796967e19242bd # Parent 0034a661fbdc1e29e51fe8e2877467204282f669 config: pass some optional args as keywords This makes it a little more obvious that self.r

[PATCH 4 of 6 py3] ui: fix opts labeling on ui.warn et al for Python 3

2017-03-03 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1488568104 18000 # Fri Mar 03 14:08:24 2017 -0500 # Node ID 224bce12f19ec6fb7ab1563797d81e902121dcb6 # Parent 2ab40e1c47207da01974913a46796967e19242bd ui: fix opts labeling on ui.warn et al for Python 3 This is a step towards fixing extension

[PATCH 1 of 6 py3] config: load included config files in binary mode

2017-03-03 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1488565704 18000 # Fri Mar 03 13:28:24 2017 -0500 # Node ID 2a02a4ec5147f8bd6685a609ce9499b1266cc6db # Parent b4cd912d7704cd976e1bee3a3c927e0e578ec88f config: load included config files in binary mode I guess we've been getting lucky that thi

Re: [PATCH] util: add a getfstype method

2017-03-03 Thread Jun Wu
Excerpts from Yuya Nishihara's message of 2017-03-03 22:07:53 +0900: > On Thu, 2 Mar 2017 16:58:30 -0800, Jun Wu wrote: > > Excerpts from Augie Fackler's message of 2017-03-02 19:58:14 -0500: > > > On Thu, Mar 02, 2017 at 11:22:16AM -0800, Jun Wu wrote: > > > > # HG changeset patch > > > > # User J

[Bug 5495] New: No way to ask hg to update to a bookmark?

2017-03-03 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5495 Bug ID: 5495 Summary: No way to ask hg to update to a bookmark? Product: Mercurial Version: 3.8.2 Hardware: PC OS: Linux Status: UNCONFIRMED Severity: feat

Re: [PATCH] revert: move code dealing with deletions closer together

2017-03-03 Thread Durham Goode
On 3/3/17 9:27 AM, Martin von Zweigbergk via Mercurial-devel wrote: # HG changeset patch # User Martin von Zweigbergk # Date 1456353854 28800 # Wed Feb 24 14:44:14 2016 -0800 # Node ID bf26c605e2e0772f5f49a185f4d73429e4303ca7 # Parent c22253c4c1b8bdd414f227232499ae323bd2173f revert: move

Re: [PATCH 2 of 2 V3] treemanifest: make node reuse match flat manifest behavior

2017-03-03 Thread Martin von Zweigbergk via Mercurial-devel
For now, I'm just adding back mercurial-devel that I accidentally dropped in my reply (sorry, the default is different between Gmail and Inbox, and I use both). On Fri, Mar 3, 2017 at 10:05 AM, Durham Goode wrote: > > > On 3/3/17 9:25 AM, Martin von Zweigbergk wrote: >> >> On Wed, Mar 1, 2017 at

Re: [PATCH 1 of 2 V3] manifest: allow specifying the revlog filename

2017-03-03 Thread Martin von Zweigbergk via Mercurial-devel
On Wed, Mar 1, 2017 at 4:37 PM, Durham Goode wrote: > # HG changeset patch > # User Durham Goode > # Date 1488414957 28800 > # Wed Mar 01 16:35:57 2017 -0800 > # Node ID 9c89185b63f574cad1d4009f6c9dd511a2cba986 > # Parent 0bb3089fe73527c64f1afc40b86ecb8dfe7fd7aa > manifest: allow specifying

[PATCH] revert: move code dealing with deletions closer together

2017-03-03 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1456353854 28800 # Wed Feb 24 14:44:14 2016 -0800 # Node ID bf26c605e2e0772f5f49a185f4d73429e4303ca7 # Parent c22253c4c1b8bdd414f227232499ae323bd2173f revert: move code dealing with deletions closer together diff -r c22253c4c1b8 -r bf

Re: [PATCH 5 of 5] localrepo: deprecated 'repo.opener' (API)

2017-03-03 Thread Pierre-Yves David
On 03/03/2017 02:50 PM, Yuya Nishihara wrote: On Thu, 02 Mar 2017 03:58:45 +0100, Pierre-Yves David wrote: # HG changeset patch # User Pierre-Yves David # Date 1470398170 -7200 # Fri Aug 05 13:56:10 2016 +0200 # Node ID aacf8b01b81483b4815a974f17d0ff5d214c4d3d # Parent 437a39859c33901ea

Re: [PATCH V2] posix: update os.popen with subprocess (issue4746)

2017-03-03 Thread Yuya Nishihara
On Fri, 03 Mar 2017 13:20:53 +0530, Rishabh Madan wrote: > # HG changeset patch > # User Rishabh Madan > # Date 1488526994 -19800 > # Fri Mar 03 13:13:14 2017 +0530 > # Node ID a134680eec2421b86d7f240b0b06947c1d777502 > # Parent 71f692f1f678d86ffb4f95a3621aacfdaeb96b05 > posix: update os.pop

Re: [PATCH 1 of 2] py3: add pycompat.open and replace open() calls

2017-03-03 Thread Yuya Nishihara
On Fri, 03 Mar 2017 15:34:11 +0530, Pulkit Goyal wrote: > # HG changeset patch > # User Pulkit Goyal <7895pul...@gmail.com> > # Date 1488526472 -19800 > # Fri Mar 03 13:04:32 2017 +0530 > # Node ID e815f7c4026f7e714b6e9bb59dce90020d9c56f2 > # Parent b4cd912d7704cd976e1bee3a3c927e0e578ec88f >

Re: [PATCH 1 of 5] localrepo: add some comment about role of various vfs object

2017-03-03 Thread Yuya Nishihara
On Thu, 2 Mar 2017 08:20:17 -0800, Ryan McElroy wrote: > I'm a big +1 on adding documentation -- thanks for doing this! > > > On 3/1/17 6:58 PM, Pierre-Yves David wrote: > > # HG changeset patch > > # User Pierre-Yves David > > # Date 1470397745 -7200 > > # Fri Aug 05 13:49:05 2016 +0200 >

Re: [PATCH 5 of 5] localrepo: deprecated 'repo.opener' (API)

2017-03-03 Thread Yuya Nishihara
On Thu, 02 Mar 2017 03:58:45 +0100, Pierre-Yves David wrote: > # HG changeset patch > # User Pierre-Yves David > # Date 1470398170 -7200 > # Fri Aug 05 13:56:10 2016 +0200 > # Node ID aacf8b01b81483b4815a974f17d0ff5d214c4d3d > # Parent 437a39859c33901ea29cd22341d93be752e4acc0 > # EXP-Topic v

Re: [PATCH 5 of 5] localrepo: deprecated 'repo.opener' (API)

2017-03-03 Thread Yuya Nishihara
On Thu, 2 Mar 2017 08:23:09 -0800, Ryan McElroy wrote: > This series looks good to me. I'd suggest changing the past-tense > "deprecated" to the present-tense "deprecate" in the titles in-flight. Yeah, queued these, thanks. ___ Mercurial-devel mailing l

Re: [PATCH] tests: un-nest the `order` repo in test-rebase-scenario-global

2017-03-03 Thread Yuya Nishihara
On Mon, 27 Feb 2017 18:15:28 -0500, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1484861228 18000 > # Thu Jan 19 16:27:08 2017 -0500 > # Node ID 9458a27320261aa23db959f8f84193fa4a316aee > # Parent 3f8f53190d6afed0aca6c6527236edad28ce785c > tests: un-nest the `o

Re: [PATCH] osx: install bash and zsh completions by default

2017-03-03 Thread Yuya Nishihara
On Mon, 27 Feb 2017 18:12:44 -0500, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1486412372 18000 > # Mon Feb 06 15:19:32 2017 -0500 > # Node ID 514fb53d0a35229162cf58b9e6631e881e959177 > # Parent 3f8f53190d6afed0aca6c6527236edad28ce785c > osx: install bash and

[PATCH 8 of 8] fileset: add a 'status(...)' predicate to control evaluation context

2017-03-03 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1488546500 -3600 # Fri Mar 03 14:08:20 2017 +0100 # Node ID 3e95bf7ed38189f6f56de89571fffc667280bb56 # Parent 9d6e733046b9aa7e2ded8c4207625fedcc2a8c04 # EXP-Topic filesetrev-func # Available At https://www.mercurial-scm.org/repo/users/marm

[PATCH 2 of 8] fileset: extract function that builds initial subset from ctx or status

2017-03-03 Thread Pierre-Yves David
# HG changeset patch # User Yuya Nishihara # Date 1427206249 -32400 # Tue Mar 24 23:10:49 2015 +0900 # Node ID 54b8e49c33610b648cff5cbee2c0b306c63a1ebd # Parent cb222708f46971248a687dbdc6a55db11949d9ef # EXP-Topic filesetrev-func # Available At https://www.mercurial-scm.org/repo/users/marmou

[PATCH 7 of 8] fileset: allow to specify a basectx for status

2017-03-03 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1488546486 -3600 # Fri Mar 03 14:08:06 2017 +0100 # Node ID 9d6e733046b9aa7e2ded8c4207625fedcc2a8c04 # Parent 2d0e9bb0f121ebbd041abf2ad121a18f200f6206 # EXP-Topic filesetrev-func # Available At https://www.mercurial-scm.org/repo/users/marm

[PATCH 6 of 8] fileset: add revs(revs, fileset) to evaluate set in working directory

2017-03-03 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1488541496 -3600 # Fri Mar 03 12:44:56 2017 +0100 # Node ID 2d0e9bb0f121ebbd041abf2ad121a18f200f6206 # Parent a9e4ff8cb089e0c761c2cf2f87367fd5759306bd # EXP-Topic filesetrev-func # Available At https://www.mercurial-scm.org/repo/users/marm

[PATCH 4 of 8] fileset: extract function that builds status tuple only if necessary

2017-03-03 Thread Pierre-Yves David
# HG changeset patch # User Yuya Nishihara # Date 1422094419 -32400 # Sat Jan 24 19:13:39 2015 +0900 # Node ID 70a6ca02bb2d6b41202518bb1d761f7bef785f7e # Parent dcafd00afeb38478ea65a978b9ada91b4a6ac46b # EXP-Topic filesetrev-func # Available At https://www.mercurial-scm.org/repo/users/marmou

[PATCH 5 of 8] fileset: add function to switch revision where fileset will be evaluated

2017-03-03 Thread Pierre-Yves David
# HG changeset patch # User Yuya Nishihara # Date 1422096116 -32400 # Sat Jan 24 19:41:56 2015 +0900 # Node ID a9e4ff8cb089e0c761c2cf2f87367fd5759306bd # Parent 70a6ca02bb2d6b41202518bb1d761f7bef785f7e # EXP-Topic filesetrev-func # Available At https://www.mercurial-scm.org/repo/users/marmou

[PATCH 3 of 8] fileset: build initial subset in fullmatchctx class

2017-03-03 Thread Pierre-Yves David
# HG changeset patch # User Yuya Nishihara # Date 1422093362 -32400 # Sat Jan 24 18:56:02 2015 +0900 # Node ID dcafd00afeb38478ea65a978b9ada91b4a6ac46b # Parent 54b8e49c33610b648cff5cbee2c0b306c63a1ebd # EXP-Topic filesetrev-func # Available At https://www.mercurial-scm.org/repo/users/marmou

[PATCH 1 of 8] fileset: add class to host special handling of initial subset

2017-03-03 Thread Pierre-Yves David
# HG changeset patch # User Yuya Nishihara # Date 1422096914 -32400 # Sat Jan 24 19:55:14 2015 +0900 # Node ID cb222708f46971248a687dbdc6a55db11949d9ef # Parent 3f8f53190d6afed0aca6c6527236edad28ce785c # EXP-Topic filesetrev-func # Available At https://www.mercurial-scm.org/repo/users/marmou

mercurial@31141: 7 new changesets (5 on stable)

2017-03-03 Thread Mercurial Commits
7 new changesets (5 on stable) in mercurial: https://www.mercurial-scm.org/repo/hg/rev/a416d0f1c628 changeset: 31135:a416d0f1c628 branch: stable parent: 31065:7074589cf22a user:FUJIWARA Katsunori date:Wed Mar 01 16:43:22 2017 +0900 summary: i18n-ja: synchronized wi

Re: [PATCH] util: add a getfstype method

2017-03-03 Thread Yuya Nishihara
On Thu, 2 Mar 2017 16:58:30 -0800, Jun Wu wrote: > Excerpts from Augie Fackler's message of 2017-03-02 19:58:14 -0500: > > On Thu, Mar 02, 2017 at 11:22:16AM -0800, Jun Wu wrote: > > > # HG changeset patch > > > # User Jun Wu > > > # Date 1488482129 28800 > > > # Thu Mar 02 11:15:29 2017 -080

[PATCH 2 of 2] py3: drop unrequired code from __init__.py

2017-03-03 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1488535248 -19800 # Fri Mar 03 15:30:48 2017 +0530 # Node ID 98bce3791615aef68f939a14ed82eae64793693c # Parent e815f7c4026f7e714b6e9bb59dce90020d9c56f2 py3: drop unrequired code from __init__.py Once we are using pycompat

[PATCH 1 of 2] py3: add pycompat.open and replace open() calls

2017-03-03 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1488526472 -19800 # Fri Mar 03 13:04:32 2017 +0530 # Node ID e815f7c4026f7e714b6e9bb59dce90020d9c56f2 # Parent b4cd912d7704cd976e1bee3a3c927e0e578ec88f py3: add pycompat.open and replace open() calls open() requires mode