D2501: py3: make sure we write in mergestate in bytes mode

2018-03-01 Thread yuja (Yuya Nishihara)
yuja added a comment. This is actually noop since vfs adds 'b' automatically, but an explicit 'b' looks better. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2501 To: pulkit, #hg-reviewers Cc: yuja, mercurial-devel

[Bug 5807] New: Convert throws "ValueError: I/O operation on closed file"

2018-03-01 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5807 Bug ID: 5807 Summary: Convert throws "ValueError: I/O operation on closed file" Product: Mercurial Version: 4.2 Hardware: PC OS: Linux Status:

D2496: py3: slice over bytes or use startswith() to prevent getting ascii values

2018-03-01 Thread yuja (Yuya Nishihara)
yuja added inline comments. INLINE COMMENTS > commands.py:4485 > continue > -flags = ''.join(['-%s ' % o[0] for o in flaglist > +flags = ''.join(['-%s ' % o[0:1] for o in flaglist >

D2503: py3: add a missing b'' in tests/bruterebase.py

2018-03-01 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG1b76940c1a43: py3: add a missing b in tests/bruterebase.py (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2503?vs=6203=6235

D2500: py3: add b'' prefixes in tests/test-rebase-scenario-global.t

2018-03-01 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG23fce34de96e: py3: add b prefixes in tests/test-rebase-scenario-global.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2504: py3: backout changeset 56635c506608 which wrongly added couple of b''

2018-03-01 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG45e443342934: py3: backout changeset 56635c506608 which wrongly added couple of b (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2497: py3: convert error messages to bytes using util.forcebytestr()

2018-03-01 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGb0267387ce9e: py3: convert error messages to bytes using util.forcebytestr() (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2499: py3: replace str() calls with their preferred bytes equivalent

2018-03-01 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG7d9ed7fb760f: py3: replace str() calls with their preferred bytes equivalent (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2509: py3: add b'' prefix in tests/test-revlog-v2.t

2018-03-01 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG3003666bf9ad: py3: add b prefix in tests/test-revlog-v2.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2509?vs=6209=6242

D2508: py3: add b'' prefixes in tests/test-revlog.t

2018-03-01 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG800a626714d4: py3: add b prefixes in tests/test-revlog.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2508?vs=6208=6240

D2507: py3: make sure we open the file in bytes mode

2018-03-01 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGe21713991260: py3: make sure we open the file in bytes mode (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2507?vs=6207=6239

D2502: py3: use '%d' for integers instead of b'%s'

2018-03-01 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd10f62d348a3: py3: use %d for integers instead of b%s (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2502?vs=6202=6234

D2506: py3: add b'' prefixes in tests/test-revlog-ancestry.py

2018-03-01 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG3342d9f8275c: py3: add b prefixes in tests/test-revlog-ancestry.py (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2505: py3: port the markdirver extension in tests/test-resolve.t

2018-03-01 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGef3955ca072c: py3: port the markdirver extension in tests/test-resolve.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2501: py3: make sure we write in mergestate in bytes mode

2018-03-01 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG4af56aaccba4: py3: make sure we write in mergestate in bytes mode (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2496: py3: slice over bytes or use startswith() to prevent getting ascii values

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

D2510: py3: add b'' prefixes in tests/test-rollback.t

2018-03-01 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGb8c2209d7380: py3: add b prefixes in tests/test-rollback.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2510?vs=6210=6241

[PATCH] fileset: drop bad "elif:" trying to check invalid size expression

2018-03-01 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1519897822 18000 # Thu Mar 01 04:50:22 2018 -0500 # Node ID a6867dc78e35bc2a988f62668e59bc3610087821 # Parent b8c2209d738009dcbbf1f7d9352ce0ad21448c04 fileset: drop bad "elif:" trying to check invalid size expression Since

D2495: narrow: drop safehasattr() checks for always-present repo.narrowmatch

2018-03-01 Thread yuja (Yuya Nishihara)
yuja added inline comments. INLINE COMMENTS > narrowmerge.py:71 > +narrowmatch = repo.narrowmatch() > +if not narrowmatch.always(): > return u1, u2 s/not// ? REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2495 To: martinvonz,

D2498: py3: use pycompat.bytestr to convert str to bytes

2018-03-01 Thread yuja (Yuya Nishihara)
yuja requested changes to this revision. yuja added a comment. This revision now requires changes to proceed. Perhaps util.forcebytestr() is better because URLError is a subclass of IOError. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2498 To: pulkit,

D2498: py3: use util.forcebytestr to convert str to bytes

2018-03-01 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG724ddf2444a7: py3: use util.forcebytestr to convert str to bytes (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2511: py3: add 14 new passing tests to whitelist

2018-03-01 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG4b9e9e3f450c: py3: add 14 new passing tests to whitelist (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2511?vs=6211=6246

[PATCH 6 of 8] py3: use bytes.endswith('\n') to strip off '\n' from debug color output

2018-03-01 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1519911519 18000 # Thu Mar 01 08:38:39 2018 -0500 # Node ID 5644cfd9717dd1417505a3ee0e0ae492f0da799f # Parent 89d47c8b3dc9a4dcc207319b8177440fd5d99d2b py3: use bytes.endswith('\n') to strip off '\n' from debug color output

[PATCH 7 of 8] py3: use bytestr() to coerce position carried by ParseError to string

2018-03-01 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1519911934 18000 # Thu Mar 01 08:45:34 2018 -0500 # Node ID ebde1b7aba4b59b417369b550989dfd7c7e449c2 # Parent 5644cfd9717dd1417505a3ee0e0ae492f0da799f py3: use bytestr() to coerce position carried by ParseError to string The

[PATCH 2 of 8] py3: make regexp literal bytes in templatefilters.py

2018-03-01 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1519904409 18000 # Thu Mar 01 06:40:09 2018 -0500 # Node ID 4c40aaa3fe1cdee62898dcd43840a070b76eb79b # Parent 905fd8fbfd54838f8e079719e5ada074d975b824 py3: make regexp literal bytes in templatefilters.py # skip-blame because

[PATCH 4 of 8] py3: move between bytes and unicode when re-raising IOError

2018-03-01 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1519904826 18000 # Thu Mar 01 06:47:06 2018 -0500 # Node ID 63188d7c6282a68518421ef7f60c85b312ffec3b # Parent 7002f11e42c57d80e3e001b48e956d0f9a94b758 py3: move between bytes and unicode when re-raising IOError IOError is a

[PATCH 8 of 8] py3: fix test-command-template.t to write files in binary mode

2018-03-01 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1519912539 18000 # Thu Mar 01 08:55:39 2018 -0500 # Node ID 717456ce5b08656f1c724de8d82a835ce9ba4d48 # Parent ebde1b7aba4b59b417369b550989dfd7c7e449c2 py3: fix test-command-template.t to write files in binary mode diff --git

[PATCH 1 of 8] templatefilters: use encoding.unifromlocal/unitolocal() for py3 compatibility

2018-03-01 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1519904317 18000 # Thu Mar 01 06:38:37 2018 -0500 # Node ID 905fd8fbfd54838f8e079719e5ada074d975b824 # Parent 4b9e9e3f450c7c8a8717e0a2ed9573a067903ce6 templatefilters: use encoding.unifromlocal/unitolocal() for py3

[PATCH 3 of 8] py3: use '%d' to format diffstat sum

2018-03-01 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1519904593 18000 # Thu Mar 01 06:43:13 2018 -0500 # Node ID 7002f11e42c57d80e3e001b48e956d0f9a94b758 # Parent 4c40aaa3fe1cdee62898dcd43840a070b76eb79b py3: use '%d' to format diffstat sum diff --git a/mercurial/templatekw.py

[PATCH] Fix for Bug #5807

2018-03-01 Thread Sascha Nemecek
# HG changeset patch # User Sascha Nemecek # Date 1519831479 -3600 # Wed Feb 28 16:24:39 2018 +0100 # Node ID 42ddf4ee4f91d76f19ca0c3efc4c8e4c1c6fa96c # Parent 1bd132a021dd00f96604e33a8fb5306d37e56007 Don't close 'fp' (= 'ui.fout') stream to prevent 'ValueError: I/O

Re: [PATCH] fileset: drop bad "elif:" trying to check invalid size expression

2018-03-01 Thread Pulkit Goyal
Looks good to me. On Thu, Mar 1, 2018 at 3:45 PM, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1519897822 18000 > # Thu Mar 01 04:50:22 2018 -0500 > # Node ID a6867dc78e35bc2a988f62668e59bc3610087821 > # Parent

D2392: debugcommands: add debugwireproto command

2018-03-01 Thread yuja (Yuya Nishihara)
yuja requested changes to this revision. yuja added a comment. This revision now requires changes to proceed. This is OT, but I couldn't find a way to phabread this long series. `:D2462` (the topmost patch in yadda) appeared to lack many changes, and `:D2392` missed some dependency

D2391: sshpeer: factor out code for creating peers from pipes

2018-03-01 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGcaf423782b3a: sshpeer: factor out code for creating peers from pipes (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2498: py3: use util.forcebytestr to convert str to bytes

2018-03-01 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 6244. pulkit retitled this revision from "py3: use pycompat.bytestr to convert str to bytes" to "py3: use util.forcebytestr to convert str to bytes". REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2498?vs=6198=6244

D2495: narrow: drop safehasattr() checks for always-present repo.narrowmatch

2018-03-01 Thread martinvonz (Martin von Zweigbergk)
martinvonz added inline comments. INLINE COMMENTS > yuja wrote in narrowmerge.py:71 > s/not// ? Yep, it definitely looks like it should be. Fixed in "committed" REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2495 To: martinvonz, durin42, #hg-reviewers, indygreg

D2407: tests: add low-level SSH protocol tests for listkeys

2018-03-01 Thread indygreg (Gregory Szorc)
indygreg abandoned this revision. indygreg added a comment. This got superseded by https://phab.mercurial-scm.org/D2466. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2407 To: indygreg, #hg-reviewers Cc: mercurial-devel

D2392: debugcommands: add debugwireproto command

2018-03-01 Thread indygreg (Gregory Szorc)
indygreg added a comment. In https://phab.mercurial-scm.org/D2392#40790, @yuja wrote: > This is OT, but I couldn't find a way to phabread this long series. `:D2462` (the topmost patch > in yadda) appeared to lack many changes, and `:D2392` missed some dependency patches. > And I

D2408: debugcommands: support for sending "batch" requests

2018-03-01 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 6253. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2408?vs=6142=6253 REVISION DETAIL https://phab.mercurial-scm.org/D2408 AFFECTED FILES mercurial/debugcommands.py tests/test-ssh-proto.t CHANGE DETAILS

D2467: sshpeer: support not reading and forwarding stderr

2018-03-01 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 6255. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2467?vs=6149=6255 REVISION DETAIL https://phab.mercurial-scm.org/D2467 AFFECTED FILES mercurial/sshpeer.py CHANGE DETAILS diff --git a/mercurial/sshpeer.py

D2392: debugcommands: add debugwireproto command

2018-03-01 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 6250. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2392?vs=6139=6250 REVISION DETAIL https://phab.mercurial-scm.org/D2392 AFFECTED FILES mercurial/debugcommands.py tests/test-completion.t tests/test-help.t

D2466: tests: add wire protocol tests for pushkey

2018-03-01 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 6254. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2466?vs=6144=6254 REVISION DETAIL https://phab.mercurial-scm.org/D2466 AFFECTED FILES tests/test-ssh-proto.t CHANGE DETAILS diff --git

D2463: wireprotoserver: support logging SSH server I/O to a file descriptor

2018-03-01 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 6248. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2463?vs=6137=6248 REVISION DETAIL https://phab.mercurial-scm.org/D2463 AFFECTED FILES mercurial/wireprotoserver.py CHANGE DETAILS diff --git

D2405: wireproto: sort response to listkeys

2018-03-01 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 6251. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2405?vs=6140=6251 REVISION DETAIL https://phab.mercurial-scm.org/D2405 AFFECTED FILES mercurial/wireproto.py CHANGE DETAILS diff --git

D2404: util: enable observing of util.bufferedinputpipe

2018-03-01 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 6247. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2404?vs=6136=6247 REVISION DETAIL https://phab.mercurial-scm.org/D2404 AFFECTED FILES mercurial/util.py CHANGE DETAILS diff --git a/mercurial/util.py

D2464: debugcommands: add debugserve command

2018-03-01 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 6249. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2464?vs=6179=6249 REVISION DETAIL https://phab.mercurial-scm.org/D2464 AFFECTED FILES mercurial/debugcommands.py tests/test-completion.t tests/test-help.t

D2512: wireproto: add transport specific capabilities in the transport

2018-03-01 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY We add a method to the protocol handler interface that allows specific implementations to add their own capabilities. The SSH implementation is a no-op.

D2513: wireproto: only expose "between" to version 1 of wire protocols

2018-03-01 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY We recently marked other legacy commands as only available to version 1 of the wire protocols. We held off marking "between" because it is used as part of the

[PATCH 1 of 7 V2] revbranchcache: add a public function to update the data

2018-03-01 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1516281665 -3600 # Thu Jan 18 14:21:05 2018 +0100 # Node ID 9072a7903a7890cc61a6b7d0c7fa95e6d6db5b27 # Parent 4b9e9e3f450c7c8a8717e0a2ed9573a067903ce6 # EXP-Topic wire-rbc # Available At

[PATCH 7 of 7 V2] revbranchcache: advertise and use 'rbc' exchange capability

2018-03-01 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1516284622 -3600 # Thu Jan 18 15:10:22 2018 +0100 # Node ID ae2bd3eea086fab9d55c1a85bab49de2272f4f90 # Parent 2811d9ca31137ca7a9cc7c8a37862cdbff87bbec # EXP-Topic wire-rbc # Available At

D2521: tests: fix run-tests environment cleanup on Python 3

2018-03-01 Thread durin42 (Augie Fackler)
durin42 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/D2521 AFFECTED FILES tests/run-tests.py CHANGE DETAILS diff --git a/tests/run-tests.py

D2462: util: add a file object proxy that can notify observers

2018-03-01 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG72c27b55928c: util: add a file object proxy that can notify observers (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2464: debugcommands: add debugserve command

2018-03-01 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG33403069f376: debugcommands: add debugserve command (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2464?vs=6249=6282

D2404: util: enable observing of util.bufferedinputpipe

2018-03-01 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGcafa60632281: util: enable observing of util.bufferedinputpipe (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2463: wireprotoserver: support logging SSH server I/O to a file descriptor

2018-03-01 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG64efadb62026: wireprotoserver: support logging SSH server I/O to a file descriptor (authored by indygreg, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D2463?vs=6248=6281#toc

D2461: wireprotoserver: ability to run an SSH server until an event is set

2018-03-01 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGe7411fb7ba7f: wireprotoserver: ability to run an SSH server until an event is set (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

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

2018-03-01 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This fixed reading of mergestate files and fixes 14 tests on Python 3. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2522 AFFECTED

D2523: py3: whitelist 14 new tests passing

2018-03-01 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG81d4a11549ec: py3: whitelist 14 new tests passing (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2523?vs=6293=6295 REVISION

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

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

[PATCH 4 of 7 V2] bundle: include advisory rev branch cache part in bundle2 bundle

2018-03-01 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1519230780 -3600 # Wed Feb 21 17:33:00 2018 +0100 # Node ID d0012d0077b4cb19cbd32b3f1b1741b3d53edc6f # Parent 73e85c62e2927df8a905430436ec95686c28afd6 # EXP-Topic wire-rbc # Available At

[PATCH 6 of 7 V2] revbranchcache: disable the new part for narrow hg bundle

2018-03-01 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1519237601 -3600 # Wed Feb 21 19:26:41 2018 +0100 # Node ID 2811d9ca31137ca7a9cc7c8a37862cdbff87bbec # Parent 56f869a852230bdbcff6ae3c366cb0d83f6cf757 # EXP-Topic wire-rbc # Available At

[PATCH 5 of 7 V2] revbranchcache: add the necessary bit to send 'rbc' data over bundle2

2018-03-01 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1516283882 -3600 # Thu Jan 18 14:58:02 2018 +0100 # Node ID 56f869a852230bdbcff6ae3c366cb0d83f6cf757 # Parent d0012d0077b4cb19cbd32b3f1b1741b3d53edc6f # EXP-Topic wire-rbc # Available At

D2406: debugcommands: allow sending of simple commands with debugwireproto

2018-03-01 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG2aeacc6b479d: debugcommands: allow sending of simple commands with debugwireproto (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2482: wireprotoserver: move SSHV1 and SSHV2 constants to wireprototypes

2018-03-01 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG049c038f56f8: wireprotoserver: move SSHV1 and SSHV2 constants to wireprototypes (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2392: debugcommands: add debugwireproto command

2018-03-01 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG36f21b975efb: debugcommands: add debugwireproto command (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2392?vs=6250=6283

D2408: debugcommands: support for sending "batch" requests

2018-03-01 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG8c3e67747c4e: debugcommands: support for sending batch requests (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2467: sshpeer: support not reading and forwarding stderr

2018-03-01 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG9dfedb47d000: sshpeer: support not reading and forwarding stderr (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2481: wireproto: use named arguments for commandentry

2018-03-01 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG91247ab87fb5: wireproto: use named arguments for commandentry (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

mercurial@36489: 47 new changesets

2018-03-01 Thread Mercurial Commits
47 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/8dbd97aef915 changeset: 36443:8dbd97aef915 user:Yuya Nishihara date:Sun Feb 25 12:47:53 2018 +0900 summary: templater: move specialized exception types to top

Re: [PATCH 2 of 2 V2] revset: skip old style lookup if external whitespace are detected

2018-03-01 Thread Feld Boris
On 26/02/2018 08:11, Yuya Nishihara wrote: On Mon, 26 Feb 2018 11:45:03 +0100, Feld Boris wrote: On 13/02/2018 12:47, Yuya Nishihara wrote: On Mon, 12 Feb 2018 18:00:52 +0100, Boris Feld wrote: # HG changeset patch # User Boris Feld # Date 1518448909 -3600 # Mon

D2471: debugcommands: support for triggering push protocol

2018-03-01 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG638216a91996: debugcommands: support for triggering push protocol (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2439: py3: whitelist another nine passing tests

2018-03-01 Thread durin42 (Augie Fackler)
durin42 updated this revision to Diff 6297. durin42 edited the summary of this revision. durin42 retitled this revision from "py3: whitelist another seven passing tests" to "py3: whitelist another nine passing tests". REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2438: util: use pycompat.bytestr() on repr() in date parse abort

2018-03-01 Thread durin42 (Augie Fackler)
durin42 updated this revision to Diff 6296. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2438?vs=6267=6296 REVISION DETAIL https://phab.mercurial-scm.org/D2438 AFFECTED FILES mercurial/util.py CHANGE DETAILS diff --git a/mercurial/util.py

mercurial@36505: 16 new changesets

2018-03-01 Thread Mercurial Commits
16 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/1c4247b0040a changeset: 36490:1c4247b0040a user:Pulkit Goyal <7895pul...@gmail.com> date:Thu Mar 01 23:51:32 2018 +0530 summary: py3: use '%d' instead of '%s' for ints

D2438: util: use pycompat.bytestr() on repr() in date parse abort

2018-03-01 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG8346c0e2af92: util: use pycompat.bytestr() on repr() in date parse abort (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2518: py3: add b'' prefixes in tests/test-obsolete.t

2018-03-01 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGf1e05fe1a78f: py3: add b prefixes in tests/test-obsolete.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2518?vs=6264=6273

D2519: py3: make sure we write bytes in a file open in bytes mode

2018-03-01 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGeafd380fe1b8: py3: make sure we write bytes in a file open in bytes mode (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2516: py3: use pycompat.bytestr() to convert error instances to bytes

2018-03-01 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG6e90c59b6da1: py3: use pycompat.bytestr() to convert error instances to bytes (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

[Bug 5809] New: Performance regression on pulling + incoming in 5cfdf6137af8 (from 10s to 40s)

2018-03-01 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5809 Bug ID: 5809 Summary: Performance regression on pulling + incoming in 5cfdf6137af8 (from 10s to 40s) Product: Mercurial Version: default branch Hardware: PC

D2438: util: use pycompat.bytestr() on repr() in date parse abort

2018-03-01 Thread pulkit (Pulkit Goyal)
pulkit accepted this revision. pulkit added a comment. Looks good to me and Yuya's feedback is also addressed. Queued thanks. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2438 To: durin42, #hg-reviewers, pulkit Cc: pulkit, yuja, mercurial-devel

D2439: py3: whitelist another nine passing tests

2018-03-01 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG761065ed3a18: py3: whitelist another nine passing tests (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2439?vs=6297=6299

D2405: wireproto: sort response to listkeys

2018-03-01 Thread durin42 (Augie Fackler)
durin42 added a comment. I'm a little bummed about this because namespaces could be *enormous*, like bookmarks. We might want to find another way to handle this... REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2405 To: indygreg, #hg-reviewers Cc: durin42,

D2483: wireproto: allow wire protocol commands to declare transport support

2018-03-01 Thread durin42 (Augie Fackler)
durin42 added inline comments. INLINE COMMENTS > wireproto.py:669-673 > +POLICY_ALL = 'all' > +POLICY_SSH_ONLY = 'ssh-only' > +POLICY_HTTP_ONLY = 'http-only' > +POLICY_V1_ONLY = 'v1-only' > +POLICY_V2_ONLY = 'v2-only' These feel vaguely orthogonal? Some are proto versions (that only apply to

D2523: py3: whitelist 14 new tests passing

2018-03-01 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY 12 new tests passed because of parent changeset and 2 were passing before that too. REPOSITORY rHG Mercurial REVISION DETAIL

D2531: templatefilters: stop using str as a variable name

2018-03-01 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY str() is an inbuilt function. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2531 AFFECTED FILES mercurial/templatefilters.py

D2521: tests: fix run-tests environment cleanup on Python 3

2018-03-01 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGc3df20906689: tests: fix run-tests environment cleanup on Python 3 (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2466: tests: add wire protocol tests for pushkey

2018-03-01 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG67915cd305a2: tests: add wire protocol tests for pushkey (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2466?vs=6254=6287

D2405: wireproto: sort response to listkeys

2018-03-01 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGf195db4d0b34: wireproto: sort response to listkeys (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2405?vs=6251=6284

D2530: py3: whitelist three more passing tests

2018-03-01 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a reviewer: pulkit. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2530 AFFECTED FILES contrib/python3-whitelist CHANGE DETAILS diff

D2524: pycompat: add support for encoding argument to our wrapper

2018-03-01 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This only works on Python 3, but I'm about to need it for a regrettable hack in the convert code. REPOSITORY rHG Mercurial REVISION DETAIL

D2525: convert: add some utility code for working with shlex on Python 3

2018-03-01 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This could have gone in pycompat, but it's only needed in convert, so I figured it made more sense here. It's got py3 in the name and checks pycompat.ispy3, so

D2529: convert: fix two %r output formats with pycompat.bytestr() wrapping

2018-03-01 Thread durin42 (Augie Fackler)
durin42 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/D2529 AFFECTED FILES hgext/convert/filemap.py CHANGE DETAILS diff --git a/hgext/convert/filemap.py

D2527: convert: use our shlex wrapper in filemap to avoid Python 3 tracebacks

2018-03-01 Thread durin42 (Augie Fackler)
durin42 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/D2527 AFFECTED FILES hgext/convert/filemap.py CHANGE DETAILS diff --git a/hgext/convert/filemap.py

D2528: error: fix isinstnace check to use bytes instead of str

2018-03-01 Thread durin42 (Augie Fackler)
durin42 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/D2528 AFFECTED FILES mercurial/error.py CHANGE DETAILS diff --git a/mercurial/error.py

D2526: convcmd: use our shlex wrapper to avoid Python 3 tracebacks

2018-03-01 Thread durin42 (Augie Fackler)
durin42 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/D2526 AFFECTED FILES hgext/convert/convcmd.py CHANGE DETAILS diff --git a/hgext/convert/convcmd.py

Re: [PATCH 1 of 8] templatefilters: use encoding.unifromlocal/unitolocal() for py3 compatibility

2018-03-01 Thread Pulkit Goyal
Using my new super powers, I queued the series. Thanks On Thu, Mar 1, 2018 at 7:47 PM, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1519904317 18000 > # Thu Mar 01 06:38:37 2018 -0500 > # Node ID

D2517: py3: add a b'' prefix in tests/test-fncache.t

2018-03-01 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 it's just b'' prefix REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2517 AFFECTED FILES tests/test-fncache.t

D2516: py3: use pycompat.bytestr() to convert error instances to bytes

2018-03-01 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/D2516 AFFECTED FILES mercurial/commands.py mercurial/debugcommands.py CHANGE DETAILS diff --git

D2518: py3: add b'' prefixes in tests/test-obsolete.t

2018-03-01 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 it's just b'' prefixes REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2518 AFFECTED FILES

D2519: py3: make sure we write bytes in a file open in bytes mode

2018-03-01 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 just b'' prefix REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2519 AFFECTED FILES tests/test-grep.t CHANGE DETAILS

D2514: py3: use '%d' instead of '%s' for ints

2018-03-01 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/D2514 AFFECTED FILES hgext/hgk.py CHANGE DETAILS diff --git a/hgext/hgk.py b/hgext/hgk.py ---

  1   2   >