D2043: py3: use pycompat.strkwargs() to convert kwargs' key to str

2018-02-05 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/D2043 AFFECTED FILES hgext/rebase.py CHANGE DETAILS diff --git a/hgext/rebase.py b/hgext/rebase.py ---

D2046: py3: add b'' to literals in check-config.py

2018-02-05 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 b'' REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2046 AFFECTED FILES

D2045: check-config: specify the mode 'rb' to open the file

2018-02-05 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/D2045 AFFECTED FILES contrib/check-config.py CHANGE DETAILS diff --git a/contrib/check-config.py

D2041: py3: use "%d" to convert integer to bytes

2018-02-05 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/D2041 AFFECTED FILES hgext/rebase.py CHANGE DETAILS diff --git a/hgext/rebase.py b/hgext/rebase.py ---

D2042: py3: add __bytes__() for mq.patchheader and make sure __str__ returns str

2018-02-05 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Before this patch, __str__() function for mq.patchheader class return bytes which is not str on Python 3. So let's move that logic to __bytes__() and for

D2044: py3: use open() instead of file()

2018-02-05 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/D2044 AFFECTED FILES hgext/mq.py CHANGE DETAILS

D2037: py3: add b'' to tweakdefualts config string

2018-02-05 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The tweakdefaults config string is enclosed inside triple quotes and the transformer does not adds b'' there. 1. skip-blame because we are just adding b''

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

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

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

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

D2109: py3: make sure we return str from __repr__

2018-02-12 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGc4fa47f880d3: py3: make sure we return str from __repr__ (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2109?vs=5478=5482

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

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

D1755: logexchange: introduce helper function to get remote path name

2018-02-12 Thread pulkit (Pulkit Goyal)
pulkit added a comment. I will like to get this series review and iterated upon early in cycle so that we can ship remotenames in the next release. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1755 To: pulkit, #hg-reviewers, durin42 Cc: durin42,

D1756: remotenames: introduce class to encapsulate remotenames info in an extension

2018-02-12 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGcabe8ef5c71e: remotenames: introduce class to encapsulate remotenames info in an extension (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D1755: logexchange: introduce helper function to get remote path name

2018-02-12 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG62a428bf6359: logexchange: introduce helper function to get remote path name (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D1759: remotenames: introduce new template keywords for remotenames

2018-02-12 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG5a53af7d09aa: remotenames: introduce new template keywords for remotenames (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D1758: remotenames: add new namespaces for remotebookmarks and remotebranches

2018-02-12 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG382aefea8faf: remotenames: add new namespaces for remotebookmarks and remotebranches (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D1757: remotenames: introduce a class to lazily resolve remotnames

2018-02-12 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGbe72f6420f3c: remotenames: introduce a class to lazily resolve remotnames (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

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

2018-02-12 Thread pulkit (Pulkit Goyal)
pulkit added inline comments. INLINE COMMENTS > yuja wrote in test-convert-git.t:423 > We'll need b"' and make `chr()` return bytes. To make chr() return bytes, I did chr().encode('latin-1') but there is `UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 0: ordinal not in

D2109: py3: make sure we return str from __repr__

2018-02-12 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 5478. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2109?vs=5372=5478 REVISION DETAIL https://phab.mercurial-scm.org/D2109 AFFECTED FILES mercurial/match.py CHANGE DETAILS diff --git a/mercurial/match.py

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

2018-02-12 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 5479. pulkit edited the summary of this revision. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2130?vs=5393=5479 REVISION DETAIL https://phab.mercurial-scm.org/D2130 AFFECTED FILES tests/test-encoding.t CHANGE

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

2018-02-12 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 5480. pulkit edited the summary of this revision. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2131?vs=5394=5480 REVISION DETAIL https://phab.mercurial-scm.org/D2131 AFFECTED FILES tests/test-encoding-align.t

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

2018-02-12 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 5481. pulkit edited the summary of this revision. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2132?vs=5395=5481 REVISION DETAIL https://phab.mercurial-scm.org/D2132 AFFECTED FILES tests/test-convert-hg-source.t

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 ---

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

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

D2155: py3: use bytes literals for test extension

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit added a comment. #skip-blame as we are just adding b''. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2155 To: indygreg, #hg-reviewers, pulkit Cc: mercurial-devel ___ Mercurial-devel mailing list

D2160: py3: use b'' in inline extension

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit accepted this revision. pulkit added a comment. This should be # skip-blame. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2160 To: indygreg, #hg-reviewers, pulkit Cc: pulkit, mercurial-devel ___

D2163: py3: use raw string for key in **kwargs

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit accepted this revision. pulkit added a comment. This should be # skip-blame. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2163 To: indygreg, #hg-reviewers, pulkit Cc: pulkit, mercurial-devel ___

D2157: py3: use string for "close" value in commit extras

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit accepted this revision. pulkit added a comment. Maybe # skip-blame? REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2157 To: indygreg, #hg-reviewers, pulkit Cc: pulkit, mercurial-devel ___ Mercurial-devel

D2158: py3: use raw string for open() mode

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit added a comment. Looks like a better approach will be to revert this change: https://www.mercurial-scm.org/repo/hg/rev/7c54917b31f6. I did that in favor of pycompat.open() and now I think it's better to revert that change. REPOSITORY rHG Mercurial REVISION DETAIL

D2161: py3: use b'' for changegroup version literals

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit accepted this revision. pulkit added a comment. This should be # skip-blame. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2161 To: indygreg, #hg-reviewers, pulkit Cc: pulkit, mercurial-devel ___

D2165: githelp: cast commands to bytes

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit added inline comments. INLINE COMMENTS > githelp.py:126 > > +__str__ = __bytes__ > + This should be `__str__ = encoding.strmethod(__bytes__)` otherwise we will get an error like __str__ returned a non-string value. REPOSITORY rHG Mercurial REVISION DETAIL

D2173: py3: add missing b'' literal to sshprotoext.py

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit accepted this revision. pulkit added a comment. This needs # skip-blame in commit message. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2173 To: indygreg, #hg-reviewers, pulkit Cc: pulkit, mercurial-devel ___

D2175: py3: use b'' in mockblackbox.py

2018-02-11 Thread pulkit (Pulkit Goyal)
pulkit accepted this revision. pulkit added a comment. This one needs # skip-blame in commit message. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2175 To: indygreg, #hg-reviewers, pulkit Cc: pulkit, mercurial-devel

D2200: hg: move share._getsrcrepo into core

2018-02-13 Thread pulkit (Pulkit Goyal)
pulkit added a comment. Fb's hg-experimental also uses a utility module just for this function, so I am +1 on moving this to core. https://bitbucket.org/facebook/hg-experimental/src/f27f094e91553d3cae5167c0b1c42ae940f888d5/hgext3rd/shareutil.py REPOSITORY rHG Mercurial REVISION DETAIL

D2271: py3: slice over bytes to prevent getting ascii values

2018-02-14 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGeb91ffdaaece: py3: slice over bytes to prevent getting ascii values (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2256: py3: slice over bytes to prevent getting ascii values

2018-02-14 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG34e850440271: py3: slice over bytes to prevent getting ascii values (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2267: py3: replace file() with open() in transplant.py

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

D2263: py3: use "%d" to convert integers to bytes

2018-02-14 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGacc8e6e52af6: py3: use %d to convert integers to bytes (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2263?vs=5703=5717

D2265: py3: open files in bytes mode in transplant.py

2018-02-14 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGa9d1ac7b91a8: py3: open files in bytes mode in transplant.py (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2268: py3: use pycompat.{bytes|str}kwargs in transplant.py

2018-02-14 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG7fda2a8ed24e: py3: use pycompat.{bytes|str}kwargs in transplant.py (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2266: py3: use "%d" for converting int to bytes in transplant.py

2018-02-14 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG4e33aa8639d0: py3: use %d for converting int to bytes in transplant.py (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2270: py3: converts bytes to pycompat.bytestr to get bytechrs while enumerating

2018-02-14 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG80301c90a2dc: py3: converts bytes to pycompat.bytestr to get bytechrs while enumerating (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2258: py3: add b'' prefixes in test-worker.t

2018-02-14 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG4f0439981a8a: py3: add b prefixes in test-worker.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2258?vs=5698=5714

D2256: py3: slice over bytes to prevent getting ascii values

2018-02-14 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/D2256 AFFECTED FILES mercurial/graphmod.py mercurial/hgweb/webutil.py CHANGE DETAILS diff --git

D2264: py3: use pycompat.bytestr instead of str

2018-02-14 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/D2264 AFFECTED FILES mercurial/commands.py CHANGE DETAILS diff --git a/mercurial/commands.py

D2266: py3: use "%d" for converting int to bytes in transplant.py

2018-02-14 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/D2266 AFFECTED FILES hgext/transplant.py CHANGE DETAILS diff --git a/hgext/transplant.py

D2263: py3: use "%d" to convert integers to bytes

2018-02-14 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/D2263 AFFECTED FILES hgext/rebase.py hgext/shelve.py mercurial/verify.py CHANGE DETAILS diff --git

D2265: py3: open files in bytes mode in transplant.py

2018-02-14 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/D2265 AFFECTED FILES hgext/transplant.py CHANGE DETAILS diff --git a/hgext/transplant.py

D2267: py3: replace file() with open() in transplant.py

2018-02-14 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/D2267 AFFECTED FILES hgext/transplant.py CHANGE DETAILS diff --git a/hgext/transplant.py

D2268: py3: use pycompat.{bytes|str}kwargs in transplant.py

2018-02-14 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/D2268 AFFECTED FILES hgext/transplant.py CHANGE DETAILS diff --git a/hgext/transplant.py

D2262: py3: add couple of missing b'' in fakemergerecord.py

2018-02-14 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG56635c506608: py3: add couple of missing b in fakemergerecord.py (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2257: py3: add b'' prefixes to make printrevset.py work in test-glog.t

2018-02-14 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGf1addba385e5: py3: add b prefixes to make printrevset.py work in test-glog.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2260: py3: add b'' to make sure regex pattern are bytes in hgweb/webutil.py

2018-02-14 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG44a519ec5077: py3: add b to make sure regex pattern are bytes in hgweb/webutil.py (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

<    5   6   7   8   9   10   11   12   13   14   >