D2110: py3: replace file() with open() in test-clone.t

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY While I was here, I made sure we write things correctly in bytes mode. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2110 AFFECTED

D2111: py3: replace file() with open() in test-convert-mtn.t

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY While I was here, I added b'' prefixes to make sure we write things correctly in bytes mode on Python 3. REPOSITORY rHG Mercurial REVISION DETAIL

D2109: py3: make sure we return str from __repr__

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY 1. skip-blame because we are just adding r'' prefixes REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2109 AFFECTED FILES

D2113: py3: replace file() with open() in test-win32text.t

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This patch also adds b'' prefix to make sure we write bytes on Python 3. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2113

D2112: py3: replace file() with open() in test-convert-p4-filetypes.t

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY file() is not present in Python 3. While I was here, I added b'' prefix to make sure we write things correctly in Python 3. REPOSITORY rHG Mercurial REVISION

D2133: py3: replace file() with open() in test-convert-git.t

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY file() is not present in Python 3. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2133 AFFECTED FILES tests/test-convert-git.t

D2135: py3: use "%d" instead of "%s" for integers

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2135 AFFECTED FILES hgext/mq.py CHANGE DETAILS diff --git a/hgext/mq.py b/hgext/mq.py ---

Re: [PATCH 6 of 6] log: pack filematcher and hunksfilter into changesetdiffer object

2018-02-11 Thread Augie Fackler
On Wed, Feb 07, 2018 at 10:25:07PM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1516517658 -32400 > # Sun Jan 21 15:54:18 2018 +0900 > # Node ID 5f9dcb5d72da427abbfa2c304bdbe4dd555e0c7d > # Parent

Re: [PATCH 2 of 2] merge: cut import cycle at merge -> extensions

2018-02-11 Thread Augie Fackler
On Thu, Feb 08, 2018 at 09:52:36PM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1517925302 -32400 > # Tue Feb 06 22:55:02 2018 +0900 > # Node ID eff74664c80ae0795a209c2f8264bf073ab912fd > # Parent

Re: [PATCH] diff: remove fp.write() wrapper which drops label argument

2018-02-11 Thread Augie Fackler
On Thu, Feb 08, 2018 at 09:51:35PM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1518013373 -32400 > # Wed Feb 07 23:22:53 2018 +0900 > # Node ID 3e64e5f4d038708b258cec15c17a78d9d49adad3 > # Parent

Re: [PATCH] dirstate: drop explicitly-specified files that shouldn't match (BC)

2018-02-11 Thread Augie Fackler
On Sun, Feb 11, 2018 at 01:09:50PM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1516963719 -32400 > # Fri Jan 26 19:48:39 2018 +0900 > # Node ID ba8846546795996af10fe93db4317b855018d749 > # Parent

D2129: py3: replace file() with open() in test-eol.t

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY file() is not present in Python 3. This patch also adds a b'' prefix to make sure we write bytes in Python 3. REPOSITORY rHG Mercurial REVISION DETAIL

D2131: py3: replace file() with open() in test-encoding-align.t

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY file() is not present in Python 3. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2131 AFFECTED FILES tests/test-encoding-align.t

D2134: py3: replace file() with open() in test-contrib.t

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY file() is not present in Python 3. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2134 AFFECTED FILES tests/test-contrib.t CHANGE

D2123: py3: replace file() with open() in test-import.t

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY file() is not present in Python 3. This patch also adds a b'' prefix to make sure we write bytes in Python 3. REPOSITORY rHG Mercurial REVISION DETAIL

D2126: py3: replace file() with open() in test-import-bypass.t

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY file() is not present in Python 3. This patch also adds a b'' prefix to make sure we write bytes in Python 3. REPOSITORY rHG Mercurial REVISION DETAIL

D2125: py3: replace file() with open() in test-import-eol.t

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY file() is not present in Python 3. This patch also adds b'' prefixes to make sure we write bytes in Python 3. REPOSITORY rHG Mercurial REVISION DETAIL

D2130: py3: replace file() with open() in test-encoding.t

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY file() is not present in Python 3. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2130 AFFECTED FILES tests/test-encoding.t

D2128: py3: replace file() with open() in test-extdiff.t

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY file() is not present in Python 3. This patch also adds a b'' prefix to make sure we write bytes in Python 3. REPOSITORY rHG Mercurial REVISION DETAIL

D2132: py3: replace file() with open() in test-convert-hg-source.t

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY file() is not present in Python 3. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2132 AFFECTED FILES

D2127: py3: replace file() with open() in test-fileset.t

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY file() is not present in Python 3. This patch also adds a b'' prefix to make sure we write bytes in Python 3. REPOSITORY rHG Mercurial REVISION DETAIL

D2124: py3: replace file() with open() in test-import-git.t

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY file() is not present in Python 3. This patch also adds a b'' prefix to make sure we write bytes in Python 3. REPOSITORY rHG Mercurial REVISION DETAIL

D2131: py3: replace file() with open() in test-encoding-align.t

2018-02-11 Thread yuja (Yuya Nishihara)
yuja requested changes to this revision. yuja added a comment. This revision now requires changes to proceed. Perhaps these open()s need 'b' because we're testing non-ascii strings. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2131 To: pulkit, #hg-reviewers,

D2130: py3: replace file() with open() in test-encoding.t

2018-02-11 Thread yuja (Yuya Nishihara)
yuja requested changes to this revision. yuja added a comment. This revision now requires changes to proceed. Perhaps these open()s need 'b' because we're testing an encoding issue. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2130 To: pulkit, #hg-reviewers,

D2109: py3: make sure we return str from __repr__

2018-02-11 Thread yuja (Yuya Nishihara)
yuja requested changes to this revision. yuja added inline comments. This revision now requires changes to proceed. INLINE COMMENTS > match.py:456 > def __repr__(self): > -return ('' % self._files) > +return (r'' % self._files) > Maybe you know, `'%r' % [bytes, ...]` is

D2126: py3: replace file() with open() in test-import-bypass.t

2018-02-11 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd667302b6ee1: py3: replace file() with open() in test-import-bypass.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2128: py3: replace file() with open() in test-extdiff.t

2018-02-11 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd83fc41dabf3: py3: replace file() with open() in test-extdiff.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2127: py3: replace file() with open() in test-fileset.t

2018-02-11 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGf6a8a81f4f7b: py3: replace file() with open() in test-fileset.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2115: py3: replace file() with open() in test-transplant.t

2018-02-11 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGca62987f3f7d: py3: replace file() with open() in test-transplant.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2124: py3: replace file() with open() in test-import-git.t

2018-02-11 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG32695e525586: py3: replace file() with open() in test-import-git.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2122: py3: replace file() with open() in test-mactext.t

2018-02-11 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGadec6374a0b2: py3: replace file() with open() in test-mactext.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2116: py3: replace file() with open() in test-tag.t

2018-02-11 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGeed40f0f4c6f: py3: replace file() with open() in test-tag.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2116?vs=5379=5405

D2111: py3: replace file() with open() in test-convert-mtn.t

2018-02-11 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG233fb0b91a35: py3: replace file() with open() in test-convert-mtn.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2112: py3: replace file() with open() in test-convert-p4-filetypes.t

2018-02-11 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG42542adb8944: py3: replace file() with open() in test-convert-p4-filetypes.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2113: py3: replace file() with open() in test-win32text.t

2018-02-11 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd7238d125aa2: py3: replace file() with open() in test-win32text.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2121: py3: replace file() with open() in test-mq-missingfiles.t

2018-02-11 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGb911995040f9: py3: replace file() with open() in test-mq-missingfiles.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2119: py3: replace file() with open() in test-patch-offset.t

2018-02-11 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGbfc9ab6c1bec: py3: replace file() with open() in test-patch-offset.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2120: py3: replace file() with open() in test-mq-qimport.t

2018-02-11 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG85c94c9d342b: py3: replace file() with open() in test-mq-qimport.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2114: py3: replace file() with open() in test-walk.t

2018-02-11 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG3790d735ff68: py3: replace file() with open() in test-walk.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2117: py3: replace file() with open() in test-subrepo-missing.t

2018-02-11 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG1c322658f43e: py3: replace file() with open() in test-subrepo-missing.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2123: py3: replace file() with open() in test-import.t

2018-02-11 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG2a81ed6c3bb9: py3: replace file() with open() in test-import.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2134: py3: replace file() with open() in test-contrib.t

2018-02-11 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGacda1977210c: py3: replace file() with open() in test-contrib.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2125: py3: replace file() with open() in test-import-eol.t

2018-02-11 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGa4d7e51709e5: py3: replace file() with open() in test-import-eol.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2118: py3: replace file() with open() in test-relink.t

2018-02-11 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG2ea0e89bca1e: py3: replace file() with open() in test-relink.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2135: py3: use "%d" instead of "%s" for integers

2018-02-11 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGf91b7f26c68a: py3: use %d instead of %s for integers (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2135?vs=5398=5420

D2129: py3: replace file() with open() in test-eol.t

2018-02-11 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGb85b0bbed6de: py3: replace file() with open() in test-eol.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2129?vs=5392=5418

D2110: py3: replace file() with open() in test-clone.t

2018-02-11 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGc02200b11c39: py3: replace file() with open() in test-clone.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2114: py3: replace file() with open() in test-walk.t

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY file() is not present in Python 3. This patch also adds a b'' prefix to make sure we write bytes in Python 3. REPOSITORY rHG Mercurial REVISION DETAIL

D2117: py3: replace file() with open() in test-subrepo-missing.t

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY file() is not present in Python 3. This patch also adds a b'' prefix to make sure we write bytes in Python 3. REPOSITORY rHG Mercurial REVISION DETAIL

D2120: py3: replace file() with open() in test-mq-qimport.t

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY file() is not present in Python 3. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2120 AFFECTED FILES tests/test-mq-qimport.t

D2121: py3: replace file() with open() in test-mq-missingfiles.t

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY file() is not present in Python 3. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2121 AFFECTED FILES tests/test-mq-missingfiles.t

D2122: py3: replace file() with open() in test-mactext.t

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY file() is not present in Python 3. This patch also adds a b'' prefix to make sure we write bytes in Python 3. REPOSITORY rHG Mercurial REVISION DETAIL

D2115: py3: replace file() with open() in test-transplant.t

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY file() is not present in Python 3. This patch also adds a b'' prefix to make sure we write bytes in Python 3. REPOSITORY rHG Mercurial REVISION DETAIL

D2116: py3: replace file() with open() in test-tag.t

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY file() is not present in Python 3. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2116 AFFECTED FILES tests/test-tag.t CHANGE

D2119: py3: replace file() with open() in test-patch-offset.t

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY file() is not present in Python 3. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2119 AFFECTED FILES tests/test-patch-offset.t

D2118: py3: replace file() with open() in test-relink.t

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY file() is not present in Python 3. This patch also adds a b'' prefix to make sure we write bytes in Python 3. REPOSITORY rHG Mercurial REVISION DETAIL

[PATCH 2 of 2 v2] log: make --line-range and --graph options work together

2018-02-11 Thread Denis Laxalde
# HG changeset patch # User Denis Laxalde # Date 1518369441 -3600 # Sun Feb 11 18:17:21 2018 +0100 # Node ID ceacb9e94803aafae2f1a677ccaa63068c3c4ed7 # Parent f994010b9f093a1645875b4e905fcf9d21a5eaa9 # EXP-Topic log/linerange-graph log: make --line-range and --graph

[PATCH 1 of 2 v2] tests: fix check for --graph option in test-log-linerange.t

2018-02-11 Thread Denis Laxalde
# HG changeset patch # User Denis Laxalde # Date 1518356135 -3600 # Sun Feb 11 14:35:35 2018 +0100 # Node ID f994010b9f093a1645875b4e905fcf9d21a5eaa9 # Parent f91b7f26c68ac87961aa6ef883ba96e5a2822ad3 # EXP-Topic log/linerange-graph tests: fix check for --graph option in

[PATCH 2 of 2] log: make --line-range and --graph options work together

2018-02-11 Thread Denis Laxalde
# HG changeset patch # User Denis Laxalde # Date 1518356534 -3600 # Sun Feb 11 14:42:14 2018 +0100 # Node ID 72ad5a53d41102d5e67a925cabc1aa9635d1fda8 # Parent 50e9309bc899d5366811e8da9fe4dcc303aa4796 # EXP-Topic log/linerange-graph log: make --line-range and --graph

[PATCH 1 of 2] tests: fix check for --graph option in test-log-linerange.t

2018-02-11 Thread Denis Laxalde
# HG changeset patch # User Denis Laxalde # Date 1518356135 -3600 # Sun Feb 11 14:35:35 2018 +0100 # Node ID 50e9309bc899d5366811e8da9fe4dcc303aa4796 # Parent de0666564bde7c67c4d40a44dcf50515fef2f367 # EXP-Topic log/linerange-graph tests: fix check for --graph option in

Re: [PATCH] dirstate: drop explicitly-specified files that shouldn't match (BC)

2018-02-11 Thread Yuya Nishihara
On Sun, 11 Feb 2018 08:58:48 -0500, Augie Fackler wrote: > On Sun, Feb 11, 2018 at 01:09:50PM +0900, Yuya Nishihara wrote: > > # HG changeset patch > > # User Yuya Nishihara > > # Date 1516963719 -32400 > > # Fri Jan 26 19:48:39 2018 +0900 > > # Node ID

Re: [PATCH 2 of 2] log: make --line-range and --graph options work together

2018-02-11 Thread Denis Laxalde
Denis Laxalde a écrit : # HG changeset patch # User Denis Laxalde # Date 1518356534 -3600 # Sun Feb 11 14:42:14 2018 +0100 # Node ID 72ad5a53d41102d5e67a925cabc1aa9635d1fda8 # Parent 50e9309bc899d5366811e8da9fe4dcc303aa4796 # EXP-Topic log/linerange-graph log: make

D2095: clone: updates the help text for hg clone -r (issue5654) [bugzilla] and hg clone -b

2018-02-11 Thread dlax (Denis Laxalde)
dlax added a comment. sangeet259 (Sangeet Kumar Mishra) wrote: > @dlax https://phab.mercurial-scm.org/p/dlax/ Yes, but the short > summary didn't say what it does! It just says "include the specified > changeset". I agree it's not super-clear. Perhaps we could say "clone only

D2095: clone: updates the help text for hg clone -r (issue5654) [bugzilla] and hg clone -b

2018-02-11 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger added a comment. There was a longish discussion on IRC about this. The problem is that the flags by themselves do not document the interaction of -r and -b or multiple instances of either at all. The change was a compromise trying to address that. REPOSITORY rHG

[PATCH 2 of 6] lfs: migrate to the fileprefetch callback mechanism

2018-02-11 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518327015 18000 # Sun Feb 11 00:30:15 2018 -0500 # Node ID 878c64ac2f7631e6cbf03c7e2a500d52211e2293 # Parent 6185d42dfd88845eaaee2d4c6dd1a80c7bed5acc lfs: migrate to the fileprefetch callback mechanism diff --git

[PATCH 3 of 6] archive: migrate to the fileprefetch callback mechanism

2018-02-11 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518328183 18000 # Sun Feb 11 00:49:43 2018 -0500 # Node ID e4d461d1b9d71253a4563cc6ed7401b6bad32764 # Parent 878c64ac2f7631e6cbf03c7e2a500d52211e2293 archive: migrate to the fileprefetch callback mechanism diff

[PATCH 1 of 6] cmdutil: convert the prefetchfiles() hook to a callback mechanism (API)

2018-02-11 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518326637 18000 # Sun Feb 11 00:23:57 2018 -0500 # Node ID 6185d42dfd88845eaaee2d4c6dd1a80c7bed5acc # Parent 91aac8e6604d1aa08b2683c1d4c7d1936f226e48 cmdutil: convert the prefetchfiles() hook to a callback mechanism

Re: [PATCH] dirstate: drop explicitly-specified files that shouldn't match (BC)

2018-02-11 Thread Matt Harbison
On Sun, 11 Feb 2018 09:17:42 -0500, Yuya Nishihara wrote: On Sun, 11 Feb 2018 08:58:48 -0500, Augie Fackler wrote: On Sun, Feb 11, 2018 at 01:09:50PM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1516963719 -32400 > #

[PATCH 6 of 6] merge: invoke cmdutil.fileprefetchhooks() prior to applying updates

2018-02-11 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518373556 18000 # Sun Feb 11 13:25:56 2018 -0500 # Node ID d3d1e171fbfcb45de0e29516db2a72b616dd7fcd # Parent f479bfd4a1d8c4eb0ae67f6f5cda8afe9c5da7dc merge: invoke cmdutil.fileprefetchhooks() prior to applying

[PATCH 4 of 6] cat: migrate to the fileprefetch callback mechanism

2018-02-11 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518328282 18000 # Sun Feb 11 00:51:22 2018 -0500 # Node ID 10a1e5ef22e820e5b64da9010cb54b597e68d400 # Parent e4d461d1b9d71253a4563cc6ed7401b6bad32764 cat: migrate to the fileprefetch callback mechanism diff --git

[Bug 5788] New: Error while cloning repository with cp1251 characters in file names on Mac OS

2018-02-11 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5788 Bug ID: 5788 Summary: Error while cloning repository with cp1251 characters in file names on Mac OS Product: Mercurial Version: stable branch Hardware: Macintosh

[PATCH] gpg: print unknown key IDs in their entirety

2018-02-11 Thread Josef 'Jeff' Sipek
# HG changeset patch # User Josef 'Jeff' Sipek # Date 1518391957 18000 # Sun Feb 11 18:32:37 2018 -0500 # Node ID 0c3e67adde02590c1d8882ba7050d19ff41ba7ff # Parent f91b7f26c68ac87961aa6ef883ba96e5a2822ad3 gpg: print unknown key IDs in their entirety Shortening the

Re: [PATCH 1 of 2 v2] tests: fix check for --graph option in test-log-linerange.t

2018-02-11 Thread Yuya Nishihara
On Sun, 11 Feb 2018 19:05:25 +0100, Denis Laxalde wrote: > # HG changeset patch > # User Denis Laxalde > # Date 1518356135 -3600 > # Sun Feb 11 14:35:35 2018 +0100 > # Node ID f994010b9f093a1645875b4e905fcf9d21a5eaa9 > # Parent f91b7f26c68ac87961aa6ef883ba96e5a2822ad3 > #

Re: [PATCH] gpg: print unknown key IDs in their entirety

2018-02-11 Thread Yuya Nishihara
On Sun, 11 Feb 2018 18:59:00 -0500, Josef 'Jeff' Sipek wrote: > # HG changeset patch > # User Josef 'Jeff' Sipek > # Date 1518391957 18000 > # Sun Feb 11 18:32:37 2018 -0500 > # Node ID 0c3e67adde02590c1d8882ba7050d19ff41ba7ff > # Parent

D2138: run-tests: report tests that exception occurred in

2018-02-11 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG8de90e006c78: run-tests: report tests that exception occurred in (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2142: py3: convert __doc__ to bytes

2018-02-11 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGe3674c2a585c: py3: convert __doc__ to bytes (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2142?vs=5427=5444 REVISION

D2144: py3: more robustly cast UUID to bytes

2018-02-11 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG223ed0b53f08: py3: more robustly cast UUID to bytes (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2144?vs=5429=5445

D2140: py3: fix file i/o in test-status.t

2018-02-11 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGc1e01b1d5543: py3: fix file i/o in test-status.t (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2140?vs=5425=5441

D2149: py3: pass system string to email.message.Message.set_type()

2018-02-11 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG1407c42b302c: py3: pass system string to email.message.Message.set_type() (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2145: py3: port ext-phase-report.py extension

2018-02-11 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG3b4d14beac3d: py3: port ext-phase-report.py extension (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2145?vs=5430=5446

Re: [PATCH 6 of 6] merge: invoke cmdutil.fileprefetchhooks() prior to applying updates

2018-02-11 Thread Yuya Nishihara
On Sun, 11 Feb 2018 15:30:19 -0500, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1518373556 18000 > # Sun Feb 11 13:25:56 2018 -0500 > # Node ID d3d1e171fbfcb45de0e29516db2a72b616dd7fcd > # Parent

D2146: py3: port string formatting

2018-02-11 Thread yuja (Yuya Nishihara)
yuja requested changes to this revision. yuja added a comment. This revision now requires changes to proceed. `r` looks like an integer, and `bytes(int)` is `'\0' * int`. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2146 To: indygreg, #hg-reviewers, yuja Cc:

D2137: py3: use raw string for file open mode

2018-02-11 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Otherwise the module importer rewrites it to bytes on Python 3, which angers Python 3. REPOSITORY rHG Mercurial REVISION DETAIL

D2139: py3: pass system string to socket.getservbyname

2018-02-11 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2139 AFFECTED FILES mercurial/util.py CHANGE DETAILS diff --git a/mercurial/util.py

D2138: run-tests: report tests that exception occurred in

2018-02-11 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY We now record the test that an exception occurred in. We put this information to use by aggregating the count of failures in each test. For each exception, the

D2143: py3: use bytes() to cast context instances

2018-02-11 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY __str__ and __bytes__ are both implemented on context types. However, __str__ behaves differently on Python 2 and 3. REPOSITORY rHG Mercurial REVISION DETAIL

D2136: py3: convert content-type to bytes

2018-02-11 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This fixes the exception: TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'str' On the line:

D2147: py3: use email parser that operates on bytes

2018-02-11 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY email.parser.Parser() operates on str in both Python 2 and 3. Python 3.2 introduced the email.parser.BytesParser(), which works like Parser except it accepts

D2145: py3: port ext-phase-report.py extension

2018-02-11 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The custom module importer doesn't run on Python files in the tests directory. So we need the source to be compatible with both Python 2 and 3. REPOSITORY

D2140: py3: fix file i/o in test-status.t

2018-02-11 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Use raw string literal for open() mode and pass the proper data type to write(). REPOSITORY rHG Mercurial REVISION DETAIL

D2146: py3: port string formatting

2018-02-11 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY bytes() should be used over str() when the output is bytes. None doesn't cast to an empty string on Python 3. So use '' explicitly. REPOSITORY rHG

D2144: py3: more robustly cast UUID to bytes

2018-02-11 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The UUID type only has __str__ implemented. So we need to cast to bytes on Python 3. We need an actual bytes instance here (bytestr won't do) because the

D2151: py3: check for bytes instead of str in hg.share()

2018-02-11 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2151 AFFECTED FILES mercurial/hg.py CHANGE DETAILS diff --git a/mercurial/hg.py b/mercurial/hg.py

D2142: py3: convert __doc__ to bytes

2018-02-11 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2142 AFFECTED FILES hgext/show.py CHANGE DETAILS diff --git a/hgext/show.py b/hgext/show.py ---

D2149: py3: pass system string to email.message.Message.set_type()

2018-02-11 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Python 3 insists the type is a str. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2149 AFFECTED FILES mercurial/mail.py CHANGE

D2148: py3: open temporary file in binary mode

2018-02-11 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Otherwise things fail later when we write bytes to the handle. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2148 AFFECTED FILES

D2141: py3: cast repr() result to bytes

2018-02-11 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2141 AFFECTED FILES mercurial/formatter.py CHANGE DETAILS diff --git a/mercurial/formatter.py

D2150: py3: port metaedit extension to Python 3

2018-02-11 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Without these changes, this extension is responsible for a test of test failures. REPOSITORY rHG Mercurial REVISION DETAIL

[PATCH 4 of 4] log: add TODO comments about --line-range processing

2018-02-11 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1516521882 -32400 # Sun Jan 21 17:04:42 2018 +0900 # Node ID 3dd9becb635b9e077b53f140c65f349cb0776991 # Parent e5ba72e0361bb859b1688ab1bc620c6ca870d951 log: add TODO comments about --line-range processing diff --git

[PATCH 1 of 4] graphlog: deduplicate preprocessing of log command

2018-02-11 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1516518194 -32400 # Sun Jan 21 16:03:14 2018 +0900 # Node ID 4ac232e6bbda8ab3c219c9cf9e647e18db11bb35 # Parent f3d8f61c425d8213103910da5e4a4bb414461768 graphlog: deduplicate preprocessing of log command diff --git

  1   2   >