Re: [PATCH V3] extdiff: add --per-file and --confirm options

2019-01-25 Thread Yuya Nishihara
On Sat, 19 Jan 2019 05:12:36 -0800, Ludovic Chabant wrote: > # HG changeset patch > # User Ludovic Chabant > # Date 1547180577 28800 > # Thu Jan 10 20:22:57 2019 -0800 > # Node ID 5686d56d5a2cebaa504383b270e359156352090f > # Parent ef0e2f7224358c32b0f62b13e83e89ba2399c8cf > extdiff: add

Re: [PATCH RFC] lfs: clean up a variety of strings/bytes issues

2019-01-25 Thread Matt Harbison
On Sat, 26 Jan 2019 01:22:01 -0500, Matt Harbison wrote: On Sat, 26 Jan 2019 01:00:03 -0500, Matt Harbison wrote: On Fri, 25 Jan 2019 17:33:54 -0500, Augie Fackler wrote: # HG changeset patch # User Augie Fackler # Date 1548455589 18000 # Fri Jan 25 17:33:09 2019 -0500 # Node

D5290: branchmap: rename partial -> bcache

2019-01-25 Thread mjpieters (Martijn Pieters)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG3461814417f3: branchmap: rename partial - bcache (authored by mjpieters, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5290?vs=13329=13490

D5639: context: delete mistaken comment about return value of renamed()

2019-01-25 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG9087513df412: context: delete mistaken comment about return value of renamed() (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5596: copies: get working copy parents from wctx, not dirstate, to make in-mem work

2019-01-25 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG75e753a26806: copies: get working copy parents from wctx, not dirstate, to make in-mem work (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5595: copies: pass contexts into _findlimit()

2019-01-25 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGdc50121126ae: copies: pass contexts into _findlimit() (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5595?vs=13435=13487

D5695: unshare: use context manager for locks

2019-01-25 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGbc843e251134: unshare: use context manager for locks (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5695?vs=13464=13485

D5594: copies: consider nullrev a common ancestor

2019-01-25 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGb80af0707066: copies: consider nullrev a common ancestor (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5705: py3: new tests from the ratchet

2019-01-25 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG91ec3d9a97f2: py3: new tests from the ratchet (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5705?vs=13483=13484 REVISION

D5620: grep: don't look up copy info unless --follow is given

2019-01-25 Thread yuja (Yuya Nishihara)
yuja added a comment. > diff --git a/mercurial/commands.py b/mercurial/commands.py > --- a/mercurial/commands.py > +++ b/mercurial/commands.py > @@ -2955,7 +2955,8 @@ def grep(ui, repo, pattern, *pats, **opt >copies.setdefault(rev, {})[fn] = copy >

D5698: wireprotov2peer: rewrite character traversal to use slices

2019-01-25 Thread yuja (Yuya Nishihara)
yuja added a comment. > + mercurial/wireprotov2peer.py:307: > + > self._ui.debug(_('received %r\n') % frame) > + don't mark debug messages for translation > + mercurial/wireprotov2peer.py:513: > + > return [True if raw[i:i+1] == b'1' else False for

Re: D5698: wireprotov2peer: rewrite character traversal to use slices

2019-01-25 Thread Yuya Nishihara
> + mercurial/wireprotov2peer.py:307: > + > self._ui.debug(_('received %r\n') % frame) > + don't mark debug messages for translation > + mercurial/wireprotov2peer.py:513: > + > return [True if raw[i:i+1] == b'1' else False for i in > range(len(raw))] > +

Re: D5620: grep: don't look up copy info unless --follow is given

2019-01-25 Thread Yuya Nishihara
> diff --git a/mercurial/commands.py b/mercurial/commands.py > --- a/mercurial/commands.py > +++ b/mercurial/commands.py > @@ -2955,7 +2955,8 @@ def grep(ui, repo, pattern, *pats, **opt > copies.setdefault(rev, {})[fn] = copy > if

D5628: diffstat: make --git work properly on renames (issue6025)

2019-01-25 Thread navaneeth.suresh (Navaneeth Suresh)
navaneeth.suresh added a comment. > One nit: better to not use `.split()` since a filename may include whitespace. Nice catch! I will send a follow-up on this. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5628 To: navaneeth.suresh, #hg-reviewers Cc:

D5620: grep: don't look up copy info unless --follow is given

2019-01-25 Thread martinvonz (Martin von Zweigbergk)
martinvonz added a comment. In https://phab.mercurial-scm.org/D5620#83924, @yuja wrote: > > - if fn in skip: +copy = None +if follow: + try: +copied = flog.renamed(fnode) + except error.WdirUnsupported: +

Re: [PATCH RFC] lfs: clean up a variety of strings/bytes issues

2019-01-25 Thread Matt Harbison
On Sat, 26 Jan 2019 01:00:03 -0500, Matt Harbison wrote: On Fri, 25 Jan 2019 17:33:54 -0500, Augie Fackler wrote: # HG changeset patch # User Augie Fackler # Date 1548455589 18000 # Fri Jan 25 17:33:09 2019 -0500 # Node ID d59571aba933f16db8e58ec9b61365ea4db0e2fa # Parent

Re: [PATCH RFC] lfs: clean up a variety of strings/bytes issues

2019-01-25 Thread Matt Harbison
On Fri, 25 Jan 2019 17:33:54 -0500, Augie Fackler wrote: # HG changeset patch # User Augie Fackler # Date 1548455589 18000 # Fri Jan 25 17:33:09 2019 -0500 # Node ID d59571aba933f16db8e58ec9b61365ea4db0e2fa # Parent ffdac0067a147f878ac45dc2c4b3b3e490865252 lfs: clean up a variety of

Re: [PATCH 1 of 3 follow-up] test-revset: check that #generations[1:-1] doesn't result in any errors

2019-01-25 Thread Yuya Nishihara
On Sat, 26 Jan 2019 12:58:19 +0800, Anton Shestakov wrote: > # HG changeset patch > # User Anton Shestakov > # Date 1548476405 -28800 > # Sat Jan 26 12:20:05 2019 +0800 > # Node ID b57f637ff71ae812fe78722666fec025cbf8b75e > # Parent 431cf2c8c83969a68d132d6ba92af1998e147927 > test-revset:

D5628: diffstat: make --git work properly on renames (issue6025)

2019-01-25 Thread yuja (Yuya Nishihara)
yuja added a comment. > @@ -2808,6 +2808,10 @@ > > elif (line.startswith('GIT binary patch') or > line.startswith('Binary file')): > isbinary = True > > +elif line.startswith('rename from'): > +filename = line.split()[-1] > +elif

Re: D5628: diffstat: make --git work properly on renames (issue6025)

2019-01-25 Thread Yuya Nishihara
> @@ -2808,6 +2808,10 @@ > elif (line.startswith('GIT binary patch') or >line.startswith('Binary file')): > isbinary = True > +elif line.startswith('rename from'): > +filename = line.split()[-1] > +elif line.startswith('rename to'):

mercurial@41366: 7 new changesets

2019-01-25 Thread Mercurial Commits
7 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/784ab13b340f changeset: 41360:784ab13b340f user:Martin von Zweigbergk date:Thu Jan 17 22:07:58 2019 -0800 summary: remotefilelog: remove pointless return statement from constructor

Re: [PATCH V7] revset: support ranges in #generations relation

2019-01-25 Thread Anton Shestakov
On Fri, 25 Jan 2019 21:50:19 +0900 Yuya Nishihara wrote: > Can you send a follow up? Done. It's a series of 3 patches, and the third one can be skipped if you think it's unnecessary. I'm fine with collapsing the series too. Thanks! ___

Re: D5620: grep: don't look up copy info unless --follow is given

2019-01-25 Thread Yuya Nishihara
> -if fn in skip: > +copy = None > +if follow: > +try: > +copied = flog.renamed(fnode) > +except error.WdirUnsupported: > +copied = ctx[fn].renamed() > +copy = copied and

D5620: grep: don't look up copy info unless --follow is given

2019-01-25 Thread yuja (Yuya Nishihara)
yuja added a comment. > - if fn in skip: +copy = None +if follow: + try: +copied = flog.renamed(fnode) + except error.WdirUnsupported: +copied = ctx[fn].renamed() + copy = copied and

[PATCH 2 of 3 follow-up] revset: move dagop.maxlogdepth usage to generationsrel()

2019-01-25 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1548476480 -28800 # Sat Jan 26 12:21:20 2019 +0800 # Node ID 88aef4c81971a828462c22f24e18246116c6715b # Parent b57f637ff71ae812fe78722666fec025cbf8b75e revset: move dagop.maxlogdepth usage to generationsrel() Not all subscript operations

[PATCH 3 of 3 follow-up] dagop: check if stopdepth is greater than or equal to maxlogdepth

2019-01-25 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1548476644 -28800 # Sat Jan 26 12:24:04 2019 +0800 # Node ID 60b30874fef7ed43891e667119035ccc3250 # Parent 88aef4c81971a828462c22f24e18246116c6715b dagop: check if stopdepth is greater than or equal to maxlogdepth Might prevent

[PATCH 1 of 3 follow-up] test-revset: check that #generations[1:-1] doesn't result in any errors

2019-01-25 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1548476405 -28800 # Sat Jan 26 12:20:05 2019 +0800 # Node ID b57f637ff71ae812fe78722666fec025cbf8b75e # Parent 431cf2c8c83969a68d132d6ba92af1998e147927 test-revset: check that #generations[1:-1] doesn't result in any errors diff --git

D5698: wireprotov2peer: rewrite character traversal to use slices

2019-01-25 Thread yuja (Yuya Nishihara)
yuja added a comment. + mercurial/wireprotov2peer.py:307: + > self._ui.debug(_('received %r\n') % frame) + don't mark debug messages for translation + mercurial/wireprotov2peer.py:513: + > return [True if raw[i:i+1] == b'1' else False for i in

Re: D5698: wireprotov2peer: rewrite character traversal to use slices

2019-01-25 Thread Yuya Nishihara
+ mercurial/wireprotov2peer.py:307: + > self._ui.debug(_('received %r\n') % frame) + don't mark debug messages for translation + mercurial/wireprotov2peer.py:513: + > return [True if raw[i:i+1] == b'1' else False for i in range(len(raw))] + missing whitespace in

Re: [PATCH] py3: fix a bytes/str mingling in test-install.t

2019-01-25 Thread Yuya Nishihara
On Fri, 25 Jan 2019 22:45:01 -0500, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1548473565 18000 > # Fri Jan 25 22:32:45 2019 -0500 > # Node ID 8b3b641e51f786a056c7478f45560e67356bb35b > # Parent ffdac0067a147f878ac45dc2c4b3b3e490865252 > py3: fix a bytes/str

Re: [PATCH] tests: conditionalize Windows difference in test-dispatch.t

2019-01-25 Thread Yuya Nishihara
On Fri, 25 Jan 2019 21:21:01 -0500, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1548469191 18000 > # Fri Jan 25 21:19:51 2019 -0500 > # Node ID c5f97f739ec669749ea0c3bd1e17ac7facc51706 > # Parent d59571aba933f16db8e58ec9b61365ea4db0e2fa > tests:

[PATCH] py3: fix a bytes/str mingling in test-install.t

2019-01-25 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1548473565 18000 # Fri Jan 25 22:32:45 2019 -0500 # Node ID 8b3b641e51f786a056c7478f45560e67356bb35b # Parent ffdac0067a147f878ac45dc2c4b3b3e490865252 py3: fix a bytes/str mingling in test-install.t diff --git a/tests/test-install.t

D5628: diffstat: make --git work properly on renames (issue6025)

2019-01-25 Thread navaneeth.suresh (Navaneeth Suresh)
navaneeth.suresh added a comment. Thanks for queuing this! REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5628 To: navaneeth.suresh, #hg-reviewers Cc: mercurial-devel ___ Mercurial-devel mailing list

[PATCH] tests: conditionalize Windows difference in test-dispatch.t

2019-01-25 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1548469191 18000 # Fri Jan 25 21:19:51 2019 -0500 # Node ID c5f97f739ec669749ea0c3bd1e17ac7facc51706 # Parent d59571aba933f16db8e58ec9b61365ea4db0e2fa tests: conditionalize Windows difference in test-dispatch.t The output matches the comment

D5705: py3: new tests from the ratchet

2019-01-25 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. REVISION SUMMARY Thanks to indygreg for doing the work on these! REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5705

D5702: commands: check for modheads being None

2019-01-25 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGe6451db43b35: commands: check for modheads being None (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5702?vs=13471=13480

D5704: util: cast memoryview to bytes

2019-01-25 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG435e8884fc2f: util: cast memoryview to bytes (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5704?vs=13473=13482 REVISION

D5700: wireprotov2peer: make "received frame(...)" messages debug level

2019-01-25 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG62be6a147185: wireprotov2peer: make received frame(...) messages debug level (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5699: tests: add optional setsockopt() output on Python 3

2019-01-25 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG93ad183a2323: tests: add optional setsockopt() output on Python 3 (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5703: tests: add b'' prefixes to ui.configbool() call

2019-01-25 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG414dbed467f6: tests: add b prefixes to ui.configbool() call (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5701: tests: add b'' when testing for tls1.2

2019-01-25 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd33419330c79: tests: add b when testing for tls1.2 (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5701?vs=13470=13479

D5698: wireprotov2peer: rewrite character traversal to use slices

2019-01-25 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGe269ae40b551: wireprotov2peer: rewrite character traversal to use slices (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5697: wireprotov2server: don't attempt to cast command name

2019-01-25 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGc780c9c7118c: wireprotov2server: dont attempt to cast command name (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5696: wireprotov2server: use pycompat.strkwargs when calling cachekeyfn

2019-01-25 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG0823cc2c598f: wireprotov2server: use pycompat.strkwargs when calling cachekeyfn (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5702: commands: check for modheads being None

2019-01-25 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Python 2 allows the > operator to be used with a None and an int. Python 3 does not. So we need to ensure the value isn't None before comparing with >.

D5704: util: cast memoryview to bytes

2019-01-25 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Python 3 uses readinto() instead of read() in places. And taking a slice of the buffer passed to readinto() will produce a memoryview. _writedata() then gets

D5700: wireprotov2peer: make "received frame(...)" messages debug level

2019-01-25 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY We don't need to show these during --verbose, it's more of a debugging thing. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5700

D5699: tests: add optional setsockopt() output on Python 3

2019-01-25 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added subscribers: mercurial-devel, mjpieters. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Tests still don't pass. But this gets us a little closer. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5699 AFFECTED

D5703: tests: add b'' prefixes to ui.configbool() call

2019-01-25 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Otherwise the call fails due to using str on Python 3. 1. skip-blame: just b'' prefixes REPOSITORY rHG Mercurial REVISION DETAIL

D5701: tests: add b'' when testing for tls1.2

2019-01-25 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The dict keys are bytes. The test was always failing due to looking for a str key. skip-blame: just b'' prefix REPOSITORY rHG Mercurial REVISION DETAIL

D5697: wireprotov2server: don't attempt to cast command name

2019-01-25 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY I'm not sure why this was added. The command name should already be bytes. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5697

D5698: wireprotov2peer: rewrite character traversal to use slices

2019-01-25 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Otherwise on Python 3 we iterate over integers instead of a bytes instance and the comparison fails. REPOSITORY rHG Mercurial REVISION DETAIL

D5696: wireprotov2server: use pycompat.strkwargs when calling cachekeyfn

2019-01-25 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/D5696 AFFECTED FILES mercurial/wireprotov2server.py CHANGE DETAILS diff --git

Re: [PATCH RFC] lfs: clean up a variety of strings/bytes issues

2019-01-25 Thread Augie Fackler
> On Jan 25, 2019, at 17:33, Augie Fackler wrote: > > # HG changeset patch > # User Augie Fackler > # Date 1548455589 18000 > # Fri Jan 25 17:33:09 2019 -0500 > # Node ID d59571aba933f16db8e58ec9b61365ea4db0e2fa > # Parent ffdac0067a147f878ac45dc2c4b3b3e490865252 > lfs: clean up a

[PATCH RFC] lfs: clean up a variety of strings/bytes issues

2019-01-25 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1548455589 18000 # Fri Jan 25 17:33:09 2019 -0500 # Node ID d59571aba933f16db8e58ec9b61365ea4db0e2fa # Parent ffdac0067a147f878ac45dc2c4b3b3e490865252 lfs: clean up a variety of strings/bytes issues Mostly these are around json

D5638: branchmap: encapsulate cache updating in the map itself

2019-01-25 Thread martinvonz (Martin von Zweigbergk)
martinvonz added inline comments. INLINE COMMENTS > perf.py:2299 > else: > -view._branchcaches.pop(filtername, None) > +view._branchcaches._per_filter.pop(filtername, None) > view.branchmap() Same here: I think this needs to be made

D5636: branchmap: updating triggers a write

2019-01-25 Thread martinvonz (Martin von Zweigbergk)
martinvonz added inline comments. INLINE COMMENTS > discovery.py:242-243 > +newmap = branchmap.remotebranchcache((branch, heads[1]) > for branch, heads in headssum.iteritems() > if heads[0] is not None) >

D5635: branchmap: make branchcache responsible for reading

2019-01-25 Thread martinvonz (Martin von Zweigbergk)
martinvonz added inline comments. INLINE COMMENTS > perf.py:2326 > > -branchcacheread = safeattrsetter(branchmap, b'read') > +branchcacheread = safeattrsetter(branchmap.branchcache, b'fromfile') > branchcachewrite = safeattrsetter(branchmap.branchcache, b'write') As I was

mercurial@41359: 12 new changesets (3 on stable)

2019-01-25 Thread Mercurial Commits
12 new changesets (3 on stable) in mercurial: https://www.mercurial-scm.org/repo/hg/rev/2f54f31c41aa changeset: 41348:2f54f31c41aa branch: stable parent: 41308:26ee61c33dee user:Georges Racinet date:Wed Jan 23 07:39:27 2019 -0500 summary: rust: working directory

D5695: unshare: use context manager for locks

2019-01-25 Thread martinvonz (Martin von Zweigbergk)
martinvonz 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/D5695 AFFECTED FILES mercurial/hg.py CHANGE DETAILS diff --git a/mercurial/hg.py b/mercurial/hg.py

D5628: diffstat: make --git work properly on renames (issue6025)

2019-01-25 Thread navaneeth.suresh (Navaneeth Suresh)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGffdac0067a14: diffstat: make --git work properly on renames (issue6025) (authored by navaneeth.suresh, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5629: cleanup: delete lots of unused local variables

2019-01-25 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG876494fd967d: cleanup: delete lots of unused local variables (authored by martinvonz, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D5629?vs=13320=13454#toc REPOSITORY rHG

D5693: mq: slightly simplify check for patched working copy

2019-01-25 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG3cd34838927a: mq: slightly simplify check for patched working copy (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5694: cmdutil: drop obsolete comment about updating to '.'

2019-01-25 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG9ce454a50a21: cmdutil: drop obsolete comment about updating to . (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5692: localrepo: slightly simplify check for removed parents in _rollback()

2019-01-25 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGf1086a154d15: localrepo: slightly simplify check for removed parents in _rollback() (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5691: transplant: use bailifchanged() instead of reimplementing it

2019-01-25 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG767ea93cdd5e: transplant: use bailifchanged() instead of reimplementing it (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5688: revpair: clarify check for empty revset

2019-01-25 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd055f89c8b5b: revpair: clarify check for empty revset (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5688?vs=13430=13458

D5633: grep: use set instead of dict with dummy value

2019-01-25 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG64bd6611e18e: grep: use set instead of dict with dummy value (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5620: grep: don't look up copy info unless --follow is given

2019-01-25 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGbdb5fef5cff4: grep: dont look up copy info unless --follow is given (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5687: revpair: simplify revpair by always relying on smartset.first/last

2019-01-25 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG90636f6a2022: revpair: simplify revpair by always relying on smartset.first/last (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5622: localrepo: use context manager for transaction in commit()

2019-01-25 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG57c462db87fd: localrepo: use context manager for transaction in commit() (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5631: hghave: let OSError with ENOENT through like any other

2019-01-25 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGfabb0224a599: hghave: let OSError with ENOENT through like any other (authored by martinvonz, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D5631?vs=13321=13453#toc

D5623: localrepo: use context manager for locks in commit()

2019-01-25 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGb87a009d1b3b: localrepo: use context manager for locks in commit() (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5624: localrepo: use context manager for lock and transaction in commitctx()

2019-01-25 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG0132221c25cd: localrepo: use context manager for lock and transaction in commitctx() (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5621: commit: print "commit message saved in" message also if bookmark update fails

2019-01-25 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG092c5d05ba01: commit: print commit message saved in message also if bookmark update fails (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

[PATCH STABLE] revlog: make sure we never use sparserevlog without general delta (issue6056)

2019-01-25 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1548372167 18000 # Thu Jan 24 18:22:47 2019 -0500 # Branch stable # Node ID c7661fdcaeac457aa5b8ae6b6a10b259713934b9 # Parent 26ee61c33dee366576a0f7266fea9834985e78ec # EXP-Topic issue6056 # Available At

D5630: remotefilelog: remove pointless return statement from constructor

2019-01-25 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG784ab13b340f: remotefilelog: remove pointless return statement from constructor (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5632: setdiscovery: pass srvheads into partialdiscovery constructor

2019-01-25 Thread martinvonz (Martin von Zweigbergk)
martinvonz planned changes to this revision. martinvonz added a comment. This needs updating since it conflicts with changes made on the stable branch. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5632 To: martinvonz, #hg-reviewers, lothiraldan Cc:

D5694: cmdutil: drop obsolete comment about updating to '.'

2019-01-25 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Obsolete since https://phab.mercurial-scm.org/rHGcf68e2649e0ae0fce4bdb091a202d580a96a8233 (status: advertise --abort instead of 'update -C .' to abort a

Re: [PATCH 4 of 4] revset: no longer silently filter out invalid revision in _intlist (API) (BC)

2019-01-25 Thread Yuya Nishihara
On Fri, 18 Jan 2019 16:53:19 +0100, Boris Feld wrote: > # HG changeset patch > # User Boris Feld > # Date 1547826690 -3600 > # Fri Jan 18 16:51:30 2019 +0100 > # Node ID 43543a826aab4e6495694f84e9197b903a7cbf10 > # Parent aa032edd96aeb34f8d220b11fbdbd08a9497cbc9 > # EXP-Topic intlist > #

Re: [PATCH 3 of 4] revset: add wdir support to _intlist

2019-01-25 Thread Yuya Nishihara
On Fri, 18 Jan 2019 16:53:18 +0100, Boris Feld wrote: > # HG changeset patch > # User Boris Feld > # Date 1547826678 -3600 > # Fri Jan 18 16:51:18 2019 +0100 > # Node ID aa032edd96aeb34f8d220b11fbdbd08a9497cbc9 > # Parent 35c9dec1849f6a41f87fdc130798387376bb8345 > # EXP-Topic intlist > #

Re: [PATCH V7] revset: support ranges in #generations relation

2019-01-25 Thread Yuya Nishihara
On Thu, 24 Jan 2019 15:22:41 +0800, Anton Shestakov wrote: > # HG changeset patch > # User Anton Shestakov > # Date 1547564229 -28800 > # Tue Jan 15 22:57:09 2019 +0800 > # Node ID 91c4c66050f0b6acba6fe90e1d759165ddffd0d0 > # Parent 8aca89a694d4bd7d25877b3652fb83e187ea1802 > revset: support

D5674: tests: fix module-import warnings in test-update-atomic.t

2019-01-25 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG0a0927f7549d: tests: fix module-import warnings in test-update-atomic.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5673: py3: use dict.items() instead of dict.iteritems() in tests/test-lfs-server.t

2019-01-25 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGdafd13c7237b: py3: use dict.items() instead of dict.iteritems() in tests/test-lfs-server.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5672: py3: add b'' prefixes in tests/test-lfs-serve.t

2019-01-25 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG23c80ce166f1: py3: add b prefixes in tests/test-lfs-serve.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5689: tests: remove some over-globbing in test-dispatch.t

2019-01-25 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG93a7539a546e: tests: remove some over-globbing in test-dispatch.t (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5670: py3: add b'' prefixes in doc/check-seclevel.py

2019-01-25 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG77763dc5b07b: py3: add b prefixes in doc/check-seclevel.py (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

mercurial@41347: 39 new changesets

2019-01-25 Thread Mercurial Commits
39 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/afc33a5705b9 changeset: 41309:afc33a5705b9 parent: 41302:a322dbee4eda user:Augie Fackler date:Tue Jan 22 11:18:05 2019 -0500 summary: fuzz: don't allow enormous revlog inputs either

D5690: py3: use regular expression to deal with ENOENT formatting change

2019-01-25 Thread yuja (Yuya Nishihara)
yuja added a comment. > $ hg log -b --cwd=inexistent default > > - abort: $ENOENT$: 'inexistent' + abort: \$ENOENT\$: ('inexistent'|inexistent) (re) That's our fault. The exception is caught as IOError on Python 3, and our formatting of IOError and OSError are slightly

Re: [PATCH 2 of 3 STABLE] rust: error for WdirUnsupported with cpython conversion as exception

2019-01-25 Thread Yuya Nishihara
On Wed, 23 Jan 2019 23:23:52 -0500, Georges Racinet wrote: > # HG changeset patch > # User Georges Racinet > # Date 1548247624 18000 > # Wed Jan 23 07:47:04 2019 -0500 > # Branch stable > # Node ID a35cfd592a90ae325b452c56fe8bff86cac097dd > # Parent 56b74abf5ee6df48ec2debf1f004725cfcc93854