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
mercurial/
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
AFFECTED
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 D
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 F
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
https://pha
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
https:/
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
https:/
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 DETA
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
https:/
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
https:/
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
CHAN
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
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
https:/
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
CH
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
https:/
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
https:/
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
https:/
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
https:/
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
CHANGE
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
https:/
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
tests/test-convert-hg-source.
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
https:/
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
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
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
https:/
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
CHA
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
--- a/hgext/mq.p
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 9ba1d0c724e21a17204224963bf1fa771a37a354
> diff: remove
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 f95d0d1e012a512550de945350e08f3dc7db090f
> log: pack fi
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 64230c22a92152b70f41dfa429184cad84ac8eac
> merge: cut i
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 91aac8e6604d1aa08b2683c1d4c7d1936f226e48
> dirstate: dr
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
https://phab.mercurial-scm.org/D2111?vs=53
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
https://phab.mercurial-scm.org/D2
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
https://phab.mercurial-scm.org/D2110?vs=5373&id=
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
https://phab.mercurial-scm.org/D2115?vs=537
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
https://phab.mercurial-scm.org/D2124?vs=538
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
https://phab.mercurial-scm.org/D2122?vs=5385&i
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&id=54
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
https://phab.mercurial-scm.org/D2113?vs=5376
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
https://phab.mercurial-scm.org/D2121?v
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
https://phab.mercurial-scm.org/D2119?vs=5
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
https://phab.mercurial-scm.org/D2120?vs=538
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
https://phab.mercurial-scm.org/D2114?vs=5377&id=5
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
https://phab.mercurial-scm.org/D2117?v
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
https://phab.mercurial-scm.org/D2118?vs=5381&id
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
https://phab.mercurial-scm.org/D2126?vs=
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
https://phab.mercurial-scm.org/D2128?vs=5391&i
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
https://phab.mercurial-scm.org/D2127?vs=5390&i
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
https://phab.mercurial-scm.org/D2123?vs=5386&id
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
https://phab.mercurial-scm.org/D2134?vs=5397&i
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
https://phab.mercurial-scm.org/D2125?vs=538
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&id=5420
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&id=54
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 in
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, y
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, y
yuja requested changes to this revision.
yuja added inline comments.
This revision now requires changes to proceed.
INLINE COMMENTS
> test-convert-git.t:423
>$ git init-db >/dev/null 2>/dev/null
> - $ $PYTHON -c 'file("b", "wb").write("".join([chr(i) for i in
> range(256)])*16)'
> + $ $PYT
yuja requested changes to this revision.
yuja added a comment.
This revision now requires changes to proceed.
Needs b''.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2132
To: pulkit, #hg-reviewers, yuja
Cc: yuja, mercurial-devel
___
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 ba8846546795996af10fe93db4317b855018d74
# 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 options work together
Pa
# 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 test-log-linerange.t
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 --line-range and --graph
# 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 options work together
Th
# 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 test-log-linerange.t
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
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 Mercuria
# 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 (API)
Yuya suggested a li
# 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 a/hgext/lfs/__init__.py b/hg
# 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 --git a/mercurial/archival.py
# 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 updates
This moves the file lis
# HG changeset patch
# User Matt Harbison
# Date 1518327627 18000
# Sun Feb 11 00:40:27 2018 -0500
# Node ID f479bfd4a1d8c4eb0ae67f6f5cda8afe9c5da7dc
# Parent 10a1e5ef22e820e5b64da9010cb54b597e68d400
revert: drop the remnant of the prefetchfiles hook
diff --git a/mercurial/cmdutil.py b/merc
# 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 a/mercurial/cmdutil.py b/mer
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
> # Fri Jan 26 19:48:39 2018 +0900
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
https://phab.mercurial-scm.o
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
rH
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
https://phab.mercurial-scm.org/D21
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 Mercurial
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 b/mercurial/util
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
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
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 r
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
--
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
--- a/hg
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
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
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 b/merc
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
https://phab.mercurial-scm.org/D2
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:
ui.debug
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 by
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
# 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 key is nice in theory but
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
> # EXP-Topic log/liner
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 f91b7f26c68ac87961aa6ef883ba96e5a2822ad3
> gpg: print
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 f479bfd4a1d8c4eb0ae67f6f5cda8afe9c5da7dc
> merge: invoke cmdutil
# HG changeset patch
# User Yuya Nishihara
# Date 1516518299 -32400
# Sun Jan 21 16:04:59 2018 +0900
# Node ID cd8ada5bfb23a9143a022ee0002a8fdba5fb9f0d
# Parent 4ac232e6bbda8ab3c219c9cf9e647e18db11bb35
graphlog: unblock --line-range option
It should work now.
diff --git a/mercurial/command
# 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 a/mercurial/commands.py b
# HG changeset patch
# User Yuya Nishihara
# Date 1516518920 -32400
# Sun Jan 21 16:15:20 2018 +0900
# Node ID e5ba72e0361bb859b1688ab1bc620c6ca870d951
# Parent cd8ada5bfb23a9143a022ee0002a8fdba5fb9f0d
log: factor out function to feed revisions to displayer
diff --git a/mercurial/commands.p
# 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 a/mercurial/commands.py b/m
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
https://phab.mercurial-scm.org/D2138?vs=542
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&id=5444
REVISION D
1 - 100 of 158 matches
Mail list logo