D2222: convert: make hg sha1 regex consistently be a bytes

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG2a28bdb63f05: convert: make hg sha1 regex consistently be a bytes (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2220: convert: open all files in binary mode

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG42a393ea56d2: convert: open all files in binary mode (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2220?vs=5619=5623

D2223: py3: whitelist test-convert-clonebranches.t

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG8b33eb349e0b: py3: whitelist test-convert-clonebranches.t (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2223?vs=5622=5626

D2221: convcmd: pass encoding name as a sysstr

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG6df206ef4b10: convcmd: pass encoding name as a sysstr (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2221?vs=5620=5624

[PATCH] test-narrow: partially stabilize on Windows

2018-02-12 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518501276 18000 # Tue Feb 13 00:54:36 2018 -0500 # Node ID 06a3f7c52e76f980ed3e58b119dd88ee1c679530 # Parent 434f9de0dcc58f26cf3903e0b6464e8852e2386d test-narrow: partially stabilize on Windows test-narrow-strip.t

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

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

[PATCH 5 of 6 V3] revert: drop the remnant of the prefetchfiles hook

2018-02-12 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518327627 18000 # Sun Feb 11 00:40:27 2018 -0500 # Node ID b5f3a374445c80e0608566537e989c543b9c7046 # Parent c63a31b38a09c007b3e4e7f09de8c3b591b55d0b revert: drop the remnant of the prefetchfiles hook diff --git

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

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

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

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

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

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

D2223: py3: whitelist test-convert-clonebranches.t

2018-02-12 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/D2223 AFFECTED FILES contrib/python3-whitelist CHANGE DETAILS diff

D2220: convert: open all files in binary mode

2018-02-12 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/D2220 AFFECTED FILES hgext/convert/common.py hgext/convert/convcmd.py hgext/convert/cvs.py

D2222: convert: make hg sha1 regex consistently be a bytes

2018-02-12 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/D AFFECTED FILES hgext/convert/hg.py CHANGE DETAILS diff --git a/hgext/convert/hg.py

D2221: convcmd: pass encoding name as a sysstr

2018-02-12 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/D2221 AFFECTED FILES hgext/convert/convcmd.py CHANGE DETAILS diff --git a/hgext/convert/convcmd.py

D2215: httppeer: remove redundant code to fetch capabilities

2018-02-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY _fetchcaps() is called by httppeer.instance(), which is the only instantiator of httppeer. Since _fetchcaps() always sets self._caps and since

D2218: wireprotoserver: rename webproto to httpv1protocolhandler

2018-02-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This matches our naming convention for the SSH server's protocol handler. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2218

D2216: httppeer: remove httpspeer

2018-02-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY All it did was verify at construction time that Mercurial supports TLS. instance() is what's used to construct peer instances. So we can just inline this check

D2212: util: convert traceback-related sysstrs to sysbytes in getstackframes

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG7ec26f27ca83: util: convert traceback-related sysstrs to sysbytes in getstackframes (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2211: util: format line number of stack trace using %d

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG2874896a6e3b: util: format line number of stack trace using %d (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2219: wireprotoserver: add version to HTTP protocol name (API)

2018-02-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This matches what we did for the SSH protocol handler in https://phab.mercurial-scm.org/rHGac33dc94e1d53cf3fae22fd7e7c07805300ab42a. .. api:: HTTP

D2217: wireproto: improve docstring for "hello"

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

D2210: util: call warnings.warn() with a sysstr in nouideprecwarn

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG02ed94dd9fd6: util: call warnings.warn() with a sysstr in nouideprecwarn (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2209: ui: convert stack traces to sysbytes before logging

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGdf1760b58fda: ui: convert stack traces to sysbytes before logging (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2213: py3: whitelist another 11 passing tests

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGce9f1c32810b: py3: whitelist another 11 passing tests (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2213?vs=5605=5612

D2208: ui: use pycompat.bytestr() to get a bytes-repr of config default

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG8f5c7f906f9b: ui: use pycompat.bytestr() to get a bytes-repr of config default (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2207: tests: add tons of b prefixes in test-devel-warnings.t

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG0dde5f53b4ce: tests: add tons of b prefixes in test-devel-warnings.t (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2211: util: format line number of stack trace using %d

2018-02-12 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Required on Python 3, functional on Python 2. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2211 AFFECTED FILES

D2210: util: call warnings.warn() with a sysstr in nouideprecwarn

2018-02-12 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This preserves nouideprecwarn wanting a bytes, which is consistent with the rest of hg. REPOSITORY rHG Mercurial REVISION DETAIL

D2212: util: convert traceback-related sysstrs to sysbytes in getstackframes

2018-02-12 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY With this change, test-devel-warnings.t passes except for differences in how ProgrammingError is formatted and one mysterious traceback inside of

D2213: py3: whitelist another 11 passing tests

2018-02-12 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/D2213 AFFECTED FILES contrib/python3-whitelist CHANGE DETAILS diff

D2209: ui: convert stack traces to sysbytes before logging

2018-02-12 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY They're coming back as unicodes, so sysbytes seems like the best we can do. This is like https://phab.mercurial-scm.org/D2171 and

D2208: ui: use pycompat.bytestr() to get a bytes-repr of config default

2018-02-12 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY We don't know what type we'll get here, so we need something that'll behave like a repr without returning a unicode. REPOSITORY rHG Mercurial REVISION DETAIL

D2207: tests: add tons of b prefixes in test-devel-warnings.t

2018-02-12 Thread durin42 (Augie Fackler)
durin42 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/D2207 AFFECTED FILES

[PATCH] minifileset: allow 'path:' patterns to have an explicit trailing slash

2018-02-12 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1518488713 18000 # Mon Feb 12 21:25:13 2018 -0500 # Node ID e99e6917138593d2dddf7e0f5506dbd3f6c87743 # Parent 9b5df6e19a4f308e14703a8136cd0530c1e1d1a9 minifileset: allow 'path:' patterns to have an explicit trailing

Re: D2169: py3: explicitly cast bool to bytes

2018-02-12 Thread Augie Fackler
This appears to break histedit tests for me somehow, which is curious because I swear they passed once. I'll drop it for now and try to come back to it. > On Feb 12, 2018, at 21:48, indygreg (Gregory Szorc) > wrote: > > This revision was automatically updated to

Re: D2171: ui: use named attributes on FrameInfo instance

2018-02-12 Thread Augie Fackler
This one I'm going to have to discard, along with D2172. I'll mail my version instead. Sigh. > On Feb 12, 2018, at 21:48, indygreg (Gregory Szorc) > wrote: > > This revision was automatically updated to reflect the committed changes. > Closed by commit

D2176: py3: convert traceback representation to bytes when logging

2018-02-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG9446246e4d1a: py3: convert traceback representation to bytes when logging (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2170: py3: make dummyssh compatible with Python 3

2018-02-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG9996ec844c1e: py3: make dummyssh compatible with Python 3 (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2170?vs=5471=5593

D2172: py3: convert FrameInfo members to bytes

2018-02-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG20dbe0eee139: py3: convert FrameInfo members to bytes (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2172?vs=5473=5595

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

2018-02-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG2e1d3924fa5b: py3: add missing b literal to sshprotoext.py (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

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

2018-02-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGb44a47214122: py3: use string for close value in commit extras (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2174: py3: convert context to bytes instead of str

2018-02-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGdd905ea1ea60: py3: convert context to bytes instead of str (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2169: py3: explicitly cast bool to bytes

2018-02-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd78a51982262: py3: explicitly cast bool to bytes (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2169?vs=5470=5592

D2171: ui: use named attributes on FrameInfo instance

2018-02-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGffcc3b977e43: ui: use named attributes on FrameInfo instance (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2167: py3: cast character set to bytes

2018-02-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG6ea7f1c10c81: py3: cast character set to bytes (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2167?vs=5468=5590 REVISION

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

2018-02-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGb587a889b97e: py3: use raw string for key in **kwargs (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2163?vs=5464=5587

D2168: mail: import email.utils not email.Utils

2018-02-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG54dfb65e2f82: mail: import email.utils not email.Utils (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2168?vs=5469=5591

D2166: py3: cast decode() argument to system string

2018-02-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG9e47bfbeb723: py3: cast decode() argument to system string (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2154: py3: use system strings when calling __import__

2018-02-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGc4146cf4dd20: py3: use system strings when calling __import__ (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

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

2018-02-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG83246d6920f2: py3: use b for changegroup version literals (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2161?vs=5462=5585

D2160: py3: use b'' in inline extension

2018-02-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGa42817fede27: py3: use b in inline extension (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2160?vs=5461=5584 REVISION

D2156: py3: catch TypeError during template operations

2018-02-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG230489fc0b41: py3: catch TypeError during template operations (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2152: py3: compare against bytes instead of str

2018-02-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGc33a99506e13: py3: compare against bytes instead of str (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2152?vs=5453=5577

D2159: py3: use hex(hasher.digest())

2018-02-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG6426878f7f0f: py3: use hex(hasher.digest()) (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2159?vs=5460=5582 REVISION

D2155: py3: use bytes literals for test extension

2018-02-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG361276a36d49: py3: use bytes literals for test extension (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2155?vs=5456=5581

D2153: py3: open patches.queue in binary mode

2018-02-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGbff95b002e33: py3: open patches.queue in binary mode (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2153?vs=5454=5578

D2162: py3: preserve chunks as an iterable of bytes

2018-02-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGc1104fe76e69: py3: preserve chunks as an iterable of bytes (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2164: py3: avoid changing dictionary during iteration

2018-02-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGc02771617a70: py3: avoid changing dictionary during iteration (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

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

2018-02-12 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGf49c3ee5b02f: py3: use b in mockblackbox.py (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2175?vs=5476=5576 REVISION

D2205: sshpeer: log remote capabilities after protocol upgrade

2018-02-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This helps reduce variance with version 1 and will help prevent test output divergence as we start testing protocol version 2 more widely. REPOSITORY rHG

D2206: tests: test using both versions of SSH protocol

2018-02-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Now that the version 2 of the SSH protocol is usable in core, we can start actively testing it more widely outside of low-level protocol tests. We add

D2204: wireprotoserver: handle SSH protocol version 2 upgrade requests

2018-02-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This commit teaches the SSH server to recognize the "upgrade" request line that clients send when they wish to switch the channel to version 2 of the SSH

D2201: narrowspec: move module into core

2018-02-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Having support for parsing the narrow specification in core is necessary for moving many other parts of narrow to core. We do still want to harmonize the

D2200: hg: move share._getsrcrepo into core

2018-02-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The fact we were calling this from extensions was a sign that it should live in core. We were also able to remove some extra attribute aliases from the

D2202: tests: remove code to support Mercurial 4.3

2018-02-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Now that narrow lives in core, we don't need the legacy support. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2202 AFFECTED

mercurial@36000: 43 new changesets

2018-02-12 Thread Mercurial Commits
43 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/fd9f2a22ee83 changeset: 35958:fd9f2a22ee83 user:Augie Fackler date:Wed Feb 07 06:28:43 2018 -0500 summary: python3: whitelist an additional 11 tests

D2199: tests: glob over line number

2018-02-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2199 AFFECTED FILES tests/test-narrow-pull.t CHANGE DETAILS diff --git a/tests/test-narrow-pull.t

D2198: tests: remove references to bundle2-exp config option

2018-02-12 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This option was deleted a while ago. We don't even alias it in core. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2198

D2195: tests: use `hello` not `capabilities` over ssh

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG54e2abc73686: tests: use `hello` not `capabilities` over ssh (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2187: manifest: clean up dirlog() to take a d parameter to avoid shadowing dir()

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG59adb3051718: manifest: clean up dirlog() to take a d parameter to avoid shadowing dir() (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2007: narrowrepo: make repo requirement include the string 'experimental'

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGe14821b290eb: narrowrepo: make repo requirement include the string experimental (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2194: narrowwirepeer: add TODO about how we add wireproto args to unbundle :(

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGb60c577b6e03: narrowwirepeer: add TODO about how we add wireproto args to unbundle :( (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2190: narrowspec: document constraints when validating patterns

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG9c55bbc29dcf: narrowspec: document constraints when validating patterns (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2009: narrowtemplates: update to use registrar mechanism

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGea02be8665ef: narrowtemplates: update to use registrar mechanism (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2006: narrow: mark requirement as a constant

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG8c31187b6717: narrow: mark requirement as a constant (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2006?vs=5156=5550

D2189: narrowrevlog: add a TODO around remotefilelog moving to core

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG66b4ffe90676: narrowrevlog: add a TODO around remotefilelog moving to core (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2196: narrow: add a TODO document

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG9b5df6e19a4f: narrow: add a TODO document (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2196?vs=5512=5566 REVISION DETAIL

D2191: narrowspec: consistently use set() to copy sets

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGb8bbe589fd47: narrowspec: consistently use set() to copy sets (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2193: narrowwirepeer: rename expandnarrow capability to exp-expandnarrow

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG22ed16caa596: narrowwirepeer: rename expandnarrow capability to exp-expandnarrow (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D1979: tests: fold narrow treemanifest tests into main test file using testcases

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGdc01484606da: tests: fold narrow treemanifest tests into main test file using testcases (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2185: narrowrevlog: document excludeddir class and friends

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGed4e68efebfe: narrowrevlog: document excludeddir class and friends (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2192: narrow: make restrictpatterns a little more idiomatic

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG8fd0a9e2d7e9: narrow: make restrictpatterns a little more idiomatic (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2184: narrowrepo: add docstring for narrowpats

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG879da36e7644: narrowrepo: add docstring for narrowpats (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2184?vs=5500=5554

D2188: narrowrevlog: add what little I can remember about rename filtering

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG48b592d986e7: narrowrevlog: add what little I can remember about rename filtering (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2004: narrowbundle2: make constants ALLCAPS to be a bit more readable

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGbc01f48c18cc: narrowbundle2: make constants ALLCAPS to be a bit more readable (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2008: narrow: move from ELLIPSIS_NODE_FLAG to revlog.REVIDX_ELLIPSIS

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG9445a3141501: narrow: move from ELLIPSIS_NODE_FLAG to revlog.REVIDX_ELLIPSIS (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2005: narrowbundle2: mark most constants as module-private

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG844f253dad5e: narrowbundle2: mark most constants as module-private (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D1980: narrow: remove old version-checking logic and declare internal

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG4b843cb6eb8c: narrow: remove old version-checking logic and declare internal (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D1977: narrow: this code should assume REVIDX_FLAGS_ORDER exists

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGadc8e1fe2f46: narrow: this code should assume REVIDX_FLAGS_ORDER exists (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D1976: narrow: drop legacy support for getsubsetraw

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG48c12b440b4a: narrow: drop legacy support for getsubsetraw (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1976?vs=5097=5543

D1978: narrow: assume addflagprocessor will always exist on revlog module

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG9772ef9f6c04: narrow: assume addflagprocessor will always exist on revlog module (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D1975: narrow: remove support for old match modules

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG9dc28d8ea61e: narrow: remove support for old match modules (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1975?vs=5096=5542

D1974: narrow: import experimental extension from narrowhg revision cb51d673e9c5

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGa2a6e724d61a: narrow: import experimental extension from narrowhg revision cb51d673e9c5 (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

[PATCH 1 of 2] buildrpm: bump bundled python version to 2.7.14 when building for centos{5, 6}

2018-02-12 Thread Antonio Muci via Mercurial-devel
# HG changeset patch # User Antonio Muci # Date 1518476376 -3600 # Mon Feb 12 23:59:36 2018 +0100 # Node ID ae4209858d434d88428c03d3b1be3ec662907ec2 # Parent b62c4154bb287fe0f4c15cdb0d2ef290069288df buildrpm: bump bundled python version to 2.7.14 when building for

[PATCH 2 of 2] buildrpm: bump bundled docutils version to 0.14 when building for centos{5, 6}

2018-02-12 Thread Antonio Muci via Mercurial-devel
# HG changeset patch # User Antonio Muci # Date 1518476745 -3600 # Tue Feb 13 00:05:45 2018 +0100 # Node ID ca93ec462371f185bd737f27fbae73fcca5ad5fa # Parent ae4209858d434d88428c03d3b1be3ec662907ec2 buildrpm: bump bundled docutils version to 0.14 when building for

D1974: narrow: import experimental extension from narrowhg revision cb51d673e9c5

2018-02-12 Thread indygreg (Gregory Szorc)
indygreg accepted this revision. indygreg added a comment. This revision is now accepted and ready to land. I think I've seen enough follow-ups to feel comfortable taking this in core. There's still a ton of work that needs to get done. But it will be easier to iterate and for others to get

RE: [PATCH hglib] [b] ignore close() on non-open clients (issue5751)

2018-02-12 Thread Gábor STEFANIK
> -Original Message- > From: Yuya Nishihara [mailto:you...@gmail.com] On Behalf Of Yuya > Nishihara > Sent: Monday, February 12, 2018 3:50 PM > To: Gábor STEFANIK > Cc: mercurial-devel@mercurial-scm.org > Subject: Re: [PATCH hglib] [b] ignore close() on non-open

mercurial@35957: 7 new changesets

2018-02-12 Thread Mercurial Commits
7 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/8b6dd3922f70 changeset: 35951:8b6dd3922f70 parent: 35949:80e5210df25c user:Yuya Nishihara date:Sun Feb 04 10:28:03 2018 +0900 summary: patch: unify check_binary and binary flags

D2108: infinitepush: drop the `--to` flag to push and use `-B` instead

2018-02-12 Thread indygreg (Gregory Szorc)
indygreg added a comment. In https://phab.mercurial-scm.org/D2108#36335, @durham wrote: > > There are things which I am not sure whether to keep or not: > > > > - the --bundle-store flag to push command > > This is useful for scripts or tools that want to upload a commit to the

D2197: python3: whitelist another four passing tests

2018-02-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG7f68235f23ff: python3: whitelist another four passing tests (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

  1   2   >