mercurial@36413: 2 new changesets

2018-02-26 Thread Mercurial Commits
2 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/03eff66adb3b changeset: 36412:03eff66adb3b user:Yuya Nishihara date:Sun Feb 25 11:13:01 2018 +0900 summary: acl: replace bare getpass.getuser() by platform function

D2467: sshpeer: support not reading and forwarding stderr

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

D2470: wireproto: allow direct stream processing for unbundle

2018-02-26 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Introduce a new option server.streamunbundle which starts a transaction immediately to apply a bundle instead of writing it to a temporary file

D2469: bookmarks: write bookmarks file deterministically

2018-02-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Bookmarks are internally stored as an unsorted dictionary. Let's at least write out the bookmarks file in a deterministic order so it is easier to test, diff,

D2468: phases: write phaseroots deterministically

2018-02-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY self.phaseroots is a list of sets of binary nodes. Let's sort the nodes before writing so the phaseroots file is written out deterministically. REPOSITORY

D2408: debugcommands: support for sending "batch" requests

2018-02-26 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 6142. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2408?vs=6027=6142 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-02-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The "doublepipe" primitive as used by sshpeer will automatically read from stderr and forward output to the local ui. This poses problems for deterministic

D2465: debugcommands: allow empty argument values

2018-02-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This is needed so we can use "pushkey," which relies on empty values being special. REPOSITORY rHG Mercurial REVISION DETAIL

D2466: tests: add wire protocol tests for pushkey

2018-02-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Let's get the wire format of some pushkey requests in test-ssh-proto.t. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2466

D2406: debugcommands: allow sending of simple commands with debugwireproto

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

D2392: debugcommands: add debugwireproto command

2018-02-26 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 6139. indygreg edited the summary of this revision. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2392?vs=6005=6139 REVISION DETAIL https://phab.mercurial-scm.org/D2392 AFFECTED FILES mercurial/debugcommands.py

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

2018-02-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY There are various places in Mercurial where we may want to instrument low-level I/O. The use cases I can think of all involve development-type activities like

D2404: util: enable observing of util.bufferedinputpipe

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

D2405: wireproto: sort response to listkeys

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

D2464: debugcommands: add debugserve command

2018-02-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY `hg serve --stdio` requires the exact command argument form `hg -R serve --stdio` for security reasons. An upcoming commit will need to start an SSH protocol

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

2018-02-26 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 6133. indygreg edited the summary of this revision. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2391?vs=6018=6133 REVISION DETAIL https://phab.mercurial-scm.org/D2391 AFFECTED FILES mercurial/sshpeer.py

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

2018-02-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY We will soon introduce a debug command and tests for low-level I/O behavior of the SSH wire protocol. To facilitate this, we need to instrument the SSH

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

2018-02-26 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY It seems useful to be able to start an SSH protocol server that won't run forever and won't call sys.exit() when it stops. This could be used to facilitate

D2409: graft: add no-commit mode (issue5631)

2018-02-26 Thread khanchi97 (Sushil khanchi)
khanchi97 updated this revision to Diff 6132. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2409?vs=6028=6132 REVISION DETAIL https://phab.mercurial-scm.org/D2409 AFFECTED FILES mercurial/commands.py tests/test-graft.t CHANGE DETAILS diff --git

Re: [PATCH 1 of 7] narrow: drop redundant templatekw/revset names from help text

2018-02-26 Thread Gregory Szorc
On Mon, Feb 26, 2018 at 6:29 AM, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1519533771 -32400 > # Sun Feb 25 13:42:51 2018 +0900 > # Node ID b3622121e31c172c91ccf35fb738a85269ad7125 > # Parent

D2455: py3: use '%d' for integers instead of '%s'

2018-02-26 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 6128. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2455?vs=6110=6128 REVISION DETAIL https://phab.mercurial-scm.org/D2455 AFFECTED FILES hgext/patchbomb.py CHANGE DETAILS diff --git a/hgext/patchbomb.py

D2453: py3: use email.utils module instead of email.Utils

2018-02-26 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 6129. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2453?vs=6108=6129 REVISION DETAIL https://phab.mercurial-scm.org/D2453 AFFECTED FILES hgext/patchbomb.py CHANGE DETAILS diff --git a/hgext/patchbomb.py

D2459: py3: use encoding.strtolocal() to convert str to bytes

2018-02-26 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/D2459 AFFECTED FILES hgext/patchbomb.py CHANGE DETAILS diff --git a/hgext/patchbomb.py

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

2018-02-26 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 6127. pulkit retitled this revision from "py3: slice over bytes to prevent getting ascii values" to "py3: slice over bytes or use .startswith() to prevent getting ascii values". REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2409: graft: add no-commit mode (issue5631)

2018-02-26 Thread khanchi97 (Sushil khanchi)
khanchi97 added a comment. Hello Pulkit, After spending some time with graft implementation, I hope now I have a good understanding of how graft is working. Let me tell you what I have understood and how I want to implement `--no-commit` mode. So when we hit a merge conflict what we do

Re: [PATCH 1 of 3] hgweb: add a hook for processing LFS Batch API requests

2018-02-26 Thread Matt Harbison
> On Feb 26, 2018, at 8:47 AM, Yuya Nishihara wrote: > >> On Thu, 22 Feb 2018 01:02:41 -0500, Matt Harbison wrote: >> # HG changeset patch >> # User Matt Harbison >> # Date 1519274700 18000 >> # Wed Feb 21 23:45:00 2018 -0500 >> # Node ID

[PATCH 7 of 7] templatekw: add 'requires' flag to switch to exception-safe interface

2018-02-26 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1519532675 -32400 # Sun Feb 25 13:24:35 2018 +0900 # Node ID e426dc16137c931668ce4a4c3b5fec0edae8107b # Parent 02afa73e633146722c187090fd73885fceb552d9 templatekw: add 'requires' flag to switch to exception-safe interface The

[PATCH 6 of 7] templater: specialize ResourceUnavailable error so that it can be caught

2018-02-26 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1519530630 -32400 # Sun Feb 25 12:50:30 2018 +0900 # Node ID 02afa73e633146722c187090fd73885fceb552d9 # Parent 35263744d42f5a3c60faec304d044cbee337599d templater: specialize ResourceUnavailable error so that it can be caught

[PATCH 4 of 7] templatekw: minimize resource dependency of {envvars} and {termwidth}

2018-02-26 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1519535673 -32400 # Sun Feb 25 14:14:33 2018 +0900 # Node ID 0d70933cd0d82836b9117597b118d7258978 # Parent 92789aee2463ee830f9e85ddb377b54ebd8c48aa templatekw: minimize resource dependency of {envvars} and {termwidth}

[PATCH 3 of 7] templatekw: simply override {graphwidth} function by mapping variable

2018-02-26 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1519535554 -32400 # Sun Feb 25 14:12:34 2018 +0900 # Node ID 92789aee2463ee830f9e85ddb377b54ebd8c48aa # Parent 95308378b88ad89dce5bed95805ab4b72d310d40 templatekw: simply override {graphwidth} function by mapping variable

[PATCH 5 of 7] templater: move specialized exception types to top

2018-02-26 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1519530473 -32400 # Sun Feb 25 12:47:53 2018 +0900 # Node ID 35263744d42f5a3c60faec304d044cbee337599d # Parent 0d70933cd0d82836b9117597b118d7258978 templater: move specialized exception types to top I'm going to add one

[PATCH 1 of 7] narrow: drop redundant templatekw/revset names from help text

2018-02-26 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1519533771 -32400 # Sun Feb 25 13:42:51 2018 +0900 # Node ID b3622121e31c172c91ccf35fb738a85269ad7125 # Parent 93228b2a1fc0a0c48ea138fb88bc719d5222c0c8 narrow: drop redundant templatekw/revset names from help text "::" is

[PATCH 2 of 7] remotenames: drop redundant templatekw names from help text

2018-02-26 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 151951 -32400 # Sun Feb 25 16:40:41 2018 +0900 # Node ID 95308378b88ad89dce5bed95805ab4b72d310d40 # Parent b3622121e31c172c91ccf35fb738a85269ad7125 remotenames: drop redundant templatekw names from help text Also removed

[PATCH 2 of 2 V2] hgweb: explain instabilities of unstable changesets

2018-02-26 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1519649061 -28800 # Mon Feb 26 20:44:21 2018 +0800 # Node ID 026f4c5a52a0070c5b712cad247818e6566d4748 # Parent 0aa1728931cc2c2c7d6ee0f18e0618fc17add42a hgweb: explain instabilities of unstable changesets Let's bikeshed a

[PATCH 1 of 2 V2] debug: add debugexplainunstable that explains instabilities

2018-02-26 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1519649041 -28800 # Mon Feb 26 20:44:01 2018 +0800 # Node ID 0aa1728931cc2c2c7d6ee0f18e0618fc17add42a # Parent aefb75730ea34f545f0756bf8441fc9ae07bf8dc debug: add debugexplainunstable that explains instabilities This is

Re: [PATCH 1 of 3] hgweb: add a hook for processing LFS Batch API requests

2018-02-26 Thread Yuya Nishihara
On Thu, 22 Feb 2018 01:02:41 -0500, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1519274700 18000 > # Wed Feb 21 23:45:00 2018 -0500 > # Node ID d38f7cc80f9dc453e7968fdb594e0a1119003d14 > # Parent

Re: [PATCH 2 of 2] run-tests: don't mask errors when a server fails to start

2018-02-26 Thread Yuya Nishihara
On Sun, 25 Feb 2018 22:04:44 -0500, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1519610652 18000 > # Sun Feb 25 21:04:12 2018 -0500 > # Node ID 999316b407a5035d50aa511199895c83d4047423 > # Parent

Re: [PATCH 1 of 2] run-tests: cache hghave results

2018-02-26 Thread Yuya Nishihara
On Sun, 25 Feb 2018 22:04:43 -0500, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1519597345 18000 > # Sun Feb 25 17:22:25 2018 -0500 > # Node ID e373776c800cffaf47934cf688307f5ce8e85d17 > # Parent

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

2018-02-26 Thread yuja (Yuya Nishihara)
yuja requested changes to this revision. yuja added inline comments. This revision now requires changes to proceed. INLINE COMMENTS > patch.py:2521 > for token in tabsplitter.findall(stripline): > -if '\t' == token[0]: > +

D2455: py3: use '%d' for integers instead of '%s'

2018-02-26 Thread yuja (Yuya Nishihara)
yuja requested changes to this revision. yuja added inline comments. This revision now requires changes to proceed. INLINE COMMENTS > patchbomb.py:673 > +return '<%s.%d@%s>' % (id[:20], int(start_time[0]), > +pycompat.sysbytes(socket.getfqdn())) > No idea what encoding

D2453: py3: use email.utils module instead of email.Utils

2018-02-26 Thread yuja (Yuya Nishihara)
yuja requested changes to this revision. yuja added inline comments. This revision now requires changes to proceed. INLINE COMMENTS > patchbomb.py:748 > > -sender_addr = emailmod.Utils.parseaddr(sender)[1] > +sender_addr = eutil.parseaddr(pycompat.sysstr(sender))[1] > sender =

D2454: py3: use email.generator module instead of email.Generator

2018-02-26 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGf449138a52df: py3: use email.generator module instead of email.Generator (authored by pulkit, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D2454?vs=6109=6125#toc REPOSITORY

D2444: http: drop custom http client logic

2018-02-26 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG23d12524a202: http: drop custom http client logic (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2444?vs=6091=6115

D2452: py3: use pycompat.strkwargs to convert kwargs keys to str

2018-02-26 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG1fb9e01328e4: py3: use pycompat.strkwargs to convert kwargs keys to str (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2458: py3: use bytes instead of str in isinstance

2018-02-26 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG745b0df08514: py3: use bytes instead of str in isinstance (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2458?vs=6113=6126

D2450: util: handle fileno() on Python 3 throwing io.UnsupportedOperation

2018-02-26 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG1ca4e86c7265: util: handle fileno() on Python 3 throwing io.UnsupportedOperation (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2447: hgweb: pass exception message to builtin Exception ctor as sysstr

2018-02-26 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGf8ea6988a5fb: hgweb: pass exception message to builtin Exception ctor as sysstr (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2451: py3: whitelist test-push-http.t as passing

2018-02-26 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG433cfad4bc46: py3: whitelist test-push-http.t as passing (authored by durin42, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D2451?vs=6106=6121#toc REPOSITORY rHG Mercurial

D2456: py3: convert a map expression into list comprehension

2018-02-26 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG4223bef1489c: py3: convert a map expression into list comprehension (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

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

2018-02-26 Thread Yuya Nishihara
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 Feb 12 16:21:49 2018

D2446: bundle2: part id is an int, use %d to make it bytes

2018-02-26 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG0b697c650b04: bundle2: part id is an int, use %d to make it bytes (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2448: httppeer: explicitly catch urlerr.httperror and re-raise

2018-02-26 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGefebfa9b4cab: httppeer: explicitly catch urlerr.httperror and re-raise (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2449: wireproto: use %d to encode an int, not a %s

2018-02-26 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGec43960b03e8: wireproto: use %d to encode an int, not a %s (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2449?vs=6104=6119

D2445: bundle2: **strkwargs love on various kwargs constructions

2018-02-26 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG247b473f408e: bundle2: **strkwargs love on various kwargs constructions (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2443: statichttprepo: move HTTPRangeHandler from byterange and delete the latter

2018-02-26 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG24c2c760c1cb: statichttprepo: move HTTPRangeHandler from byterange and delete the latter (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2438: util: use util.shellquote() instead of repr() in date parse abort

2018-02-26 Thread yuja (Yuya Nishihara)
yuja added a comment. I think `shellquote()` is okay, but simpler workaround is to use `bytestr(date)` to drop `b`. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2438 To: durin42, #hg-reviewers Cc: yuja, mercurial-devel

D2458: py3: use bytes instead of str in isinstance

2018-02-26 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Internally we use bytes everywhere, and str on Python 3 is unicodes, so we need to make sure we are doing the right check. REPOSITORY rHG Mercurial REVISION

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

2018-02-26 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/D2457 AFFECTED FILES mercurial/archival.py mercurial/patch.py CHANGE DETAILS diff --git

D2456: py3: convert a map expression into list comprehension

2018-02-26 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY map returns a map object on Python 3 and here we wanted a list instead. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2456 AFFECTED

D2455: py3: use '%d' for integers instead of '%s'

2018-02-26 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/D2455 AFFECTED FILES hgext/patchbomb.py CHANGE DETAILS diff --git a/hgext/patchbomb.py

D2454: py3: use email.generator module instead of email.Generator

2018-02-26 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY On py2: >>> import email >>> import email.generator as emailgen >>> email.Generator.Generator is emailgen.Generator True email.Generator is not

D2452: py3: use pycompat.strkwargs to convert kwargs keys to str

2018-02-26 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/D2452 AFFECTED FILES mercurial/hgweb/webcommands.py mercurial/hgweb/webutil.py CHANGE DETAILS diff

D2453: py3: use email.utils module instead of email.Utils

2018-02-26 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY On py2: >>> import email >>> import email.utils as eutil >>> email.Utils.parseaddr is eutil.parseaddr True >>> email.Utils.formatdate is

Re: [PATCH RFC] hgweb: show explanations for unstable changesets

2018-02-26 Thread Feld Boris
On 21/02/2018 14:51, Anton Shestakov wrote: # HG changeset patch # User Anton Shestakov # Date 1519199933 -28800 # Wed Feb 21 15:58:53 2018 +0800 # Node ID 628c839d1eec60db3a4548c5bd7430ff4fc9a5a4 # Parent aefb75730ea34f545f0756bf8441fc9ae07bf8dc hgweb: show

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

2018-02-26 Thread Feld Boris
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 Feb 12 16:21:49 2018 +0100 # Node ID b0f45e1376e2d0f32023e197c51802bc21c60490 # Parent