[PATCH 1 of 8] hgk: stop using util.bytesinput() to read a single line from stdin

2018-03-09 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1520323525 21600 # Tue Mar 06 02:05:25 2018 -0600 # Node ID f7d9876d750e048b4c0e0ec0682928e86a8e8ecb # Parent b434965f984eff168a7caaa239277b15729bd0b1 hgk: stop using util.bytesinput() to read a single line from stdin Appears

mercurial@36766: new changeset

2018-03-09 Thread Mercurial Commits
New changeset in mercurial: https://www.mercurial-scm.org/repo/hg/rev/d382344c69aa changeset: 36766:d382344c69aa tag: tip user:Gregory Szorc date:Sat Mar 03 18:55:43 2018 -0500 summary: perf: teach perfbdiff to call blocks() and to use xdiff

D2727: bookmarks: test for exchanging long bookmark names (issue5165)

2018-03-09 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG09b58af83d44: bookmarks: test for exchanging long bookmark names (issue5165) (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

mercurial@36778: 12 new changesets

2018-03-09 Thread Mercurial Commits
12 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/a148c67d8b09 changeset: 36767:a148c67d8b09 user:Vincent Parrett date:Wed Mar 07 09:07:34 2018 +1100 summary: archival: fileit should not use atomictemp, causes performance

[PATCH 8 of 8] py3: drop encoding.strio()

2018-03-09 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1520325797 21600 # Tue Mar 06 02:43:17 2018 -0600 # Node ID 168badbb03b574d2a77ae503d3b77709c68e0537 # Parent 5ee522c20bc23701248014fa18e90f691f00aec8 py3: drop encoding.strio() Its buffered nature makes TextIOWrapper

[PATCH 4 of 8] util: add public isstdin/isstdout() functions

2018-03-09 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1520324939 21600 # Tue Mar 06 02:28:59 2018 -0600 # Node ID 10e3ea3d8b1dc671f6302ebed4489773c7d79458 # Parent c9ac3a3b0a31abc37a76e5ae3be1b5f14a206cf3 util: add public isstdin/isstdout() functions diff --git

D2057: rust implementation of hg status

2018-03-09 Thread yuja (Yuya Nishihara)
yuja added a comment. >> Reading that page it seems to claim that filenames should be utf8, not bytes. If utf8, this is what the code does, but if it is bytes that definitely won't work. > > IIRC it's bytes everyplace except Windows, where we pretend utf8 is real? It's MBCS (i.e.

[PATCH 4 of 5] templater: move hybrid class and functions to templateutil module

2018-03-09 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1520518509 -32400 # Thu Mar 08 23:15:09 2018 +0900 # Node ID c22e2d75938bc761554c8da98a49b85aa6bff0de # Parent dc412296cebd7c33cbae3b7ed5b0974186105387 templater: move hybrid class and functions to templateutil module And

[PATCH 2 of 5] templater: extract template evaluation utility to new module

2018-03-09 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1520516004 -32400 # Thu Mar 08 22:33:24 2018 +0900 # Node ID aac4772ff9b50425be5dd17ede58d2edb2a53699 # Parent 31bdcdeece08af24761fd359f48766c7274cf71a templater: extract template evaluation utility to new module Prepares for

[PATCH 5 of 5] templater: split template functions to new module

2018-03-09 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1520515382 -32400 # Thu Mar 08 22:23:02 2018 +0900 # Node ID b3f764c8098d6de1dca102f8b5b5d05721a6341f # Parent c22e2d75938bc761554c8da98a49b85aa6bff0de templater: split template functions to new module It has grown enough to

[PATCH 1 of 5] templater: move function table to the "context" object

2018-03-09 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1520515236 -32400 # Thu Mar 08 22:20:36 2018 +0900 # Node ID 31bdcdeece08af24761fd359f48766c7274cf71a # Parent 168badbb03b574d2a77ae503d3b77709c68e0537 templater: move function table to the "context" object Prepares for

[PATCH 3 of 5] templater: move stringify() to templateutil module

2018-03-09 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1520518246 -32400 # Thu Mar 08 23:10:46 2018 +0900 # Node ID dc412296cebd7c33cbae3b7ed5b0974186105387 # Parent aac4772ff9b50425be5dd17ede58d2edb2a53699 templater: move stringify() to templateutil module As we have a util

D2753: graft: check for missing revision first before scanning working copy

2018-03-09 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger 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/D2753 AFFECTED FILES mercurial/commands.py CHANGE DETAILS diff --git

D2755: phabricator: update doc string for deprecated token argument

2018-03-09 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger 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/D2755 AFFECTED FILES contrib/phabricator.py CHANGE DETAILS diff --git

D2754: phabricator: print deprecation warning only once

2018-03-09 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger 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/D2754 AFFECTED FILES contrib/phabricator.py CHANGE DETAILS diff --git

D2394: histedit: make histedit's commands accept revsets (issue5746)

2018-03-09 Thread sangeet259 (Sangeet Kumar Mishra)
sangeet259 added a comment. @durin42 Should I make any changes? REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2394 To: sangeet259, durin42, #hg-reviewers Cc: tom.prince, krbullock, rishabhmadan96, mercurial-devel

D2057: rust implementation of hg status

2018-03-09 Thread Ivzhh (Sheng Mao)
Ivzhh added a comment. In https://phab.mercurial-scm.org/D2057#44269, @yuja wrote: > >> Reading that page it seems to claim that filenames should be utf8, not bytes. If utf8, this is what the code does, but if it is bytes that definitely won't work. > > > > IIRC it's bytes

Re: [PATCH 1 of 8] hgk: stop using util.bytesinput() to read a single line from stdin

2018-03-09 Thread Gregory Szorc
On Fri, Mar 9, 2018 at 4:35 AM, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1520323525 21600 > # Tue Mar 06 02:05:25 2018 -0600 > # Node ID f7d9876d750e048b4c0e0ec0682928e86a8e8ecb > # Parent

D2720: debugcommands: introduce actions to perform deterministic reads

2018-03-09 Thread mharbison72 (Matt Harbison)
mharbison72 added a comment. In https://phab.mercurial-scm.org/D2720#44288, @indygreg wrote: > In https://phab.mercurial-scm.org/D2720#44221, @mharbison72 wrote: > > > This patch seems to deadlock on Windows when running test-ssh-proto-unbundle.t. There are two python processes

D2720: debugcommands: introduce actions to perform deterministic reads

2018-03-09 Thread indygreg (Gregory Szorc)
indygreg added a comment. In https://phab.mercurial-scm.org/D2720#44221, @mharbison72 wrote: > This patch seems to deadlock on Windows when running test-ssh-proto-unbundle.t. There are two python processes idling: > > Past experience says that something needs to be flushed- stdout

D2752: cbor: add a __init__.py to top level cbor module

2018-03-09 Thread indygreg (Gregory Szorc)
indygreg added a comment. I think you should send the relative import patches to upstream. Adding `from __future__ import absolute_import` would also be a nice touch. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2752 To: pulkit, #hg-reviewers Cc: indygreg,

D2593: state: add logic to parse the state file in old way if cbor fails

2018-03-09 Thread indygreg (Gregory Szorc)
indygreg added a comment. Not sure where to record this comment in this series. So I'll pick this commit. I think we want an explicit version header in the state files so clients know when they may be reading a file in an old format. For example, if I start a merge in one terminal

<    1   2