D469: rebase: initial support for multiple destinations

2017-08-28 Thread martinvonz (Martin von Zweigbergk)
martinvonz added inline comments. INLINE COMMENTS > rebase.py:822 > +for r in rebaseset: > +alias = {'ALLSRC': allsrc, > + 'SRC': revsetlang.formatspec('%d', r)} could pass ALLSRC in the fast-path version too, no? because the concern is not th

D464: editor: use an unambiguous path suffix for editor files

2017-08-28 Thread mbolin (Michael Bolin)
mbolin added a comment. @durin42 Note that I substantially revised the commit message and test plan to reflect the changes. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D464 To: mbolin, quark, durin42, #hg-reviewers, ryanmce Cc: smf, ryanmce, mercurial-devel _

Re: [PATCH 01 of 10] tests: update test-patchbomb to pass our import checker

2017-08-28 Thread Gregory Szorc
On Mon, Aug 28, 2017 at 8:27 AM, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1503435546 14400 > # Tue Aug 22 16:59:06 2017 -0400 > # Node ID 9bf8bd287bbf25b615a74cb6a47cce9c33bace4a > # Parent b1f75d8e887a4c06e6b120807f3defc5c7b78d33 > tests: update test-pat

D557: show: use consistent node lengths

2017-08-28 Thread quark (Jun Wu)
quark added inline comments. INLINE COMMENTS > show.py:428 > > +def longestshortest(repo, revs, minlen=5): > +"""Return the length of the longest shortest node to identify revisions. How about minlen=4? It could be useful in small repos. > show.py:440 > +""" > +tmpl = formatter.ma

D558: show: decrease minimum node length from 5 to 3

2017-08-28 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Our previous shortest node length of 5 was arbitrarily chosen. shortest() already does the work of ensuring that a partial node isn't ambiguous with an integ

D555: cmdutil: allow extra properties to be added to each context

2017-08-28 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The changeset displayer allows setting extra keywords to be available to the templating layer. This patch adds an argument to displaygraph() to pass a dict of e

D556: show: pass the minimum length for nodes as a template keyword

2017-08-28 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This will allow us to make the displayed length configurable and/or dynamic. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D556 A

D557: show: use consistent node lengths

2017-08-28 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY `hg show` makes heavy use of shortest() to limit the length of the node hash. For the "stack" and "work" views, you are often looking at multiple lines of

D464: commit: use an unambiguous path suffix for the commit editor file

2017-08-28 Thread mbolin (Michael Bolin)
mbolin updated this revision to Diff 1381. mbolin added a comment. Changed format string to .%s.hg.txt. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D464?vs=1380&id=1381 BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D464 AFFECTED

D464: commit: use an unambiguous path suffix for the commit editor file

2017-08-28 Thread mbolin (Michael Bolin)
mbolin updated this revision to Diff 1380. mbolin added a comment. Created optional action param as suggested by @durin42 REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D464?vs=1130&id=1380 BRANCH default REVISION DETAIL https://phab.mercurial-scm.

D552: import-checker: allow relative import a module being checked

2017-08-28 Thread quark (Jun Wu)
quark created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This would make the checker more friendly for 3rd-party code. For example, In remotefilelog/x.py, it may have: from . import shallowutils That could t

D551: import-checker: allow direct symbol import if the symbol is a module

2017-08-28 Thread quark (Jun Wu)
quark created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This would make the checker more friendly for 3rd-party code. For example, In remotefilelog/x.py, it may have: from . import shallowutils This trigger

D549: metadataonlyctx: don't crash when reusing the manifest with deletions

2017-08-28 Thread quark (Jun Wu)
quark abandoned this revision. quark added a comment. I had some connectivity issues when sending this. Let's take the other one. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D549 To: quark, #hg-reviewers Cc: mercurial-devel

D550: metadataonlyctx: don't crash when reusing the manifest with deletions

2017-08-28 Thread quark (Jun Wu)
quark created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This was originally fixed by Mateusz Kwapich for the `metaedit` command in fb-hgext with a test for the `metaedit` command. It didn't get upstreamed because `metae

D549: metadataonlyctx: don't crash when reusing the manifest with deletions

2017-08-28 Thread quark (Jun Wu)
quark created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This was originally fixed by Mateusz Kwapich for the `metaedit` command in fb-hgext with a test for the `metaedit` command. It didn't get upstreamed because `metae

D548: context: make parents and text optional in metadataonlyctx

2017-08-28 Thread quark (Jun Wu)
quark created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The metadataonlyctx is to copy an existing context with some minor metadata changes. If the caller only wants to change "extra", or "user", ideally it does not hav

Re: Accessing hidden commits by hash (directaccess extension)

2017-08-28 Thread Danek Duvall
Durham Goode wrote: > > > On 8/25/17 11:55 AM, Danek Duvall wrote: > > This is great. I've been hitting my head against this ever since I started > > using evolve, and I'll be thrilled to have this functionality. > > > > A couple of questions: > > > > - If a revision range is given that end

D464: commit: use an unambiguous path suffix for the commit editor file

2017-08-28 Thread durin42 (Augie Fackler)
durin42 added inline comments. INLINE COMMENTS > smf wrote in cmdutil.py:3214 > Yeah, this is pretty much what I had in mind (sorry again for the > confusion!). I also don't have any preference for '.hg.$ACTION.txt' just for > it to be something sane / stable. A thought: should we do .$ACTION.

D547: tests: rename test-terse-status.t to test-status-terse.t

2017-08-28 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY When looking for status tests, most people would probably look for "test-status*", so it would be nice if they could find it there. This also let's them run (

D464: commit: use an unambiguous path suffix for the commit editor file

2017-08-28 Thread smf (Sean Farley)
smf added inline comments. INLINE COMMENTS > durin42 wrote in cmdutil.py:3214 > I agree with smf: this patch is accomplishing a reasonable thing, but we > should clean up this interface if we're going to use it. Let's add an action= > parameter that's optional in the 4.4 cycle, with a devel war

D546: morestatus: simplify check for unresolved merge conflicts

2017-08-28 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/D546 AFFECTED FILES mercurial/cmdutil.py CHANGE DETAILS diff --git a/mercurial/cmdutil.py b/mercuri

D468: util: use ~ as a suffix for a temp file in the same directory as a source file

2017-08-28 Thread mbolin (Michael Bolin)
mbolin added a comment. @durin42 I believe we've come to a resolution on this thread that this is fine as-is, so are you OK to take this now? REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D468 To: mbolin, #hg-reviewers, quark, durin42 Cc: smf, mercurial-devel _

D464: commit: use an unambiguous path suffix for the commit editor file

2017-08-28 Thread mbolin (Michael Bolin)
mbolin added a comment. @durin42 Sounds good: I'll work on cleaning this up. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D464 To: mbolin, quark, durin42, #hg-reviewers, ryanmce Cc: smf, ryanmce, mercurial-devel ___ M

mercurial@33972: 32 new changesets

2017-08-28 Thread Mercurial Commits
32 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/c0bbaefc2c5a changeset: 33941:c0bbaefc2c5a user:Boris Feld date:Mon Jul 03 03:54:24 2017 +0200 summary: obsolete: move merge logic on the smaller object https://www.mercurial-scm.org/repo/hg/rev/54c21

D530: obsolete: move merge logic on the smaller object

2017-08-28 Thread martinvonz (Martin von Zweigbergk)
martinvonz added inline comments. INLINE COMMENTS > obsutil.py:568 > +for cand in candidate: > +for seensuccs in seen: > +if cand.canmerge(seensuccs): How long can "seen" get? Short enough that we don't care to make it a set? REPOSITOR

D544: releasenotes: update docstrings with information on additional flags

2017-08-28 Thread rishabhmadan96 (Rishabh Madan)
rishabhmadan96 updated this revision to Diff 1368. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D544?vs=1358&id=1368 REVISION DETAIL https://phab.mercurial-scm.org/D544 AFFECTED FILES hgext/releasenotes.py CHANGE DETAILS diff --git a/hgext/releasen

D545: releasenotes: update docstrings with information on additional flags

2017-08-28 Thread rishabhmadan96 (Rishabh Madan)
rishabhmadan96 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This patch adds documentation related to the two new flags --check and --list for releasenotes extension. https://phab.mercurial-scm.org/D544 REPOSITO

Re: [PATCH 7 of 9 V4] template: compute dates in obsfatedate

2017-08-28 Thread Boris Feld
On Fri, 2017-08-25 at 23:08 +0900, Yuya Nishihara wrote: > On Wed, 23 Aug 2017 17:18:41 +0200, Boris Feld wrote: > > # HG changeset patch > > # User Boris Feld > > # Date 1499088850 -7200 > > #  Mon Jul 03 15:34:10 2017 +0200 > > # Node ID b8b8b5bd728a5fb9fa847d56dd489c77a054b5ee > > # Parent 

D544: releasenotes: update docstrings with information on additional flags

2017-08-28 Thread rishabhmadan96 (Rishabh Madan)
rishabhmadan96 added inline comments. INLINE COMMENTS > durin42 wrote in releasenotes.py:555 > I'm not sure what the difference is between incorrect and invalid? It's just the same thing. I'll replace incorrect with invalid. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-s

[PATCH 1 of 5 V5] template: compute verb in obsfateverb

2017-08-28 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1499088807 -7200 # Mon Jul 03 15:33:27 2017 +0200 # Node ID 3aa34cf79eafaf1f3831dbfcc0891e4432df780e # Parent e43264525ce513dab1ea23e39d2cf1051975c8ca # EXP-Topic obsfatetemplate template: compute verb in obsfateverb Add a template function obsf

[PATCH 4 of 5 V5] template: better prune support in obsfate

2017-08-28 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1499096336 -7200 # Mon Jul 03 17:38:56 2017 +0200 # Node ID c15be7a160739d986b1954364c7a231ce6b5cac2 # Parent 678a8ca41a5a83ea9a32e12a7aa2855271468c70 # EXP-Topic obsfatetemplate template: better prune support in obsfate successorssets don't ret

[PATCH 5 of 5 V5] test: add more obsmarker tests for pruning scenarios

2017-08-28 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1502986172 -7200 # Thu Aug 17 18:09:32 2017 +0200 # Node ID 6aebd9d54c492181bbf2f0e44fa8929662f9af06 # Parent c15be7a160739d986b1954364c7a231ce6b5cac2 # EXP-Topic obsfatetemplate test: add more obsmarker tests for pruning scenarios The obsfate o

[PATCH 3 of 5 V5] template: compute dates in obsfatedate

2017-08-28 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1499088850 -7200 # Mon Jul 03 15:34:10 2017 +0200 # Node ID 678a8ca41a5a83ea9a32e12a7aa2855271468c70 # Parent 97f45f277a5877a1b1b0867cda800029c5a61493 # EXP-Topic obsfatetemplate template: compute dates in obsfatedate Extract the dates from obsm

[PATCH 2 of 5 V5] template: compute user in obsfateusers

2017-08-28 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1499088840 -7200 # Mon Jul 03 15:34:00 2017 +0200 # Node ID 97f45f277a5877a1b1b0867cda800029c5a61493 # Parent 3aa34cf79eafaf1f3831dbfcc0891e4432df780e # EXP-Topic obsfatetemplate template: compute user in obsfateusers Extract, deduplicate users

D544: releasenotes: update docstrings with information on additional flags

2017-08-28 Thread durin42 (Augie Fackler)
durin42 added inline comments. INLINE COMMENTS > releasenotes.py:554 > + > +With -c/--check option, you can check the commit message for any invalid > +admonition. In case of an invalid admonition, the flag returns the name nit: "With the" instead of "With", "an" instead of "any" > rele

D525: rebase: add a changes flag which will tell about the hash changes

2017-08-28 Thread durin42 (Augie Fackler)
durin42 requested changes to this revision. durin42 added inline comments. This revision now requires changes to proceed. INLINE COMMENTS > pulkit wrote in rebase.py:487-488 > That looks like a nice idea, but since other outputs are repo.ui.* things and > as far as I know, they can be templated,

D516: pull: do not prompt "hg update" if update.requiredest is set

2017-08-28 Thread quark (Jun Wu)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG8abbae93045a: pull: do not prompt "hg update" if update.requiredest is set (authored by quark). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D516?vs=1273&id=1365

D493: dirstate: perform transactions with _copymap using single call, where possible

2017-08-28 Thread mbolin (Michael Bolin)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG5cb0a8fe096e: dirstate: perform transactions with _copymap using single call, where possible (authored by mbolin). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D

D514: phabsend: show associated Differential Revisions with --confirm

2017-08-28 Thread quark (Jun Wu)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG088598153aa2: phabsend: show associated Differential Revisions with --confirm (authored by quark). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D514?vs=1279&id=1

D513: phabsend: print the actual URL with --confirm

2017-08-28 Thread quark (Jun Wu)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGedeb8f28c031: phabsend: print the actual URL with --confirm (authored by quark). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D513?vs=1274&id=1362 REVISION DETA

D524: changelog: abort on attempt to write wdir revision

2017-08-28 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG3939b30d0cb7: changelog: abort on attempt to write wdir revision (authored by martinvonz). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D524?vs=1320&id=1364 REV

D510: phabsend: polish the docstring a bit

2017-08-28 Thread quark (Jun Wu)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG45a8cd74de4e: phabsend: polish the docstring a bit (authored by quark). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D510?vs=1267&id=1359 REVISION DETAIL http

D511: phabsend: make --amend the default

2017-08-28 Thread quark (Jun Wu)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG07841863: phabsend: make --amend the default (authored by quark). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D511?vs=1268&id=1360 REVISION DETAIL https:

D512: phabsend: detect patch change with larger context

2017-08-28 Thread quark (Jun Wu)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG27ff2a87d8c0: phabsend: detect patch change with larger context (authored by quark). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D512?vs=1269&id=1361 REVISION

D464: commit: use an unambiguous path suffix for the commit editor file

2017-08-28 Thread durin42 (Augie Fackler)
durin42 requested changes to this revision. durin42 added inline comments. INLINE COMMENTS > cmdutil.py:3214 > +extra = ctx.extra() > +extra['suffix'] = '.hgcommit.txt' > + I agree with smf: this patch is accomplishing a reasonable thing, but we should clean up this interface if we're g

D544: releasenotes: update docstrings with information on additional flags

2017-08-28 Thread rishabhmadan96 (Rishabh Madan)
rishabhmadan96 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This patch adds documentation related to the two new flags --check and --list for releasenotes extension. REPOSITORY rHG Mercurial REVISION DETAIL htt

Re: [PATCH] record: make m key open an editor for the commit message (issue5667)

2017-08-28 Thread Peter Vitt
On 08/28/2017 08:15 PM, Augie Fackler wrote: > >> On Aug 28, 2017, at 14:13, Augie Fackler wrote: >> >> Your patch looks good, but I'm unable to apply it. Did you mail this by >> pasting into your mail client instead of using `hg email`? > > While writing this reply I spotted the damage to the

D369: util: add `hgdatetopython` to convert hg-style dates to datetimes

2017-08-28 Thread durin42 (Augie Fackler)
durin42 requested changes to this revision. durin42 added inline comments. This revision now requires changes to proceed. INLINE COMMENTS > phillco wrote in util.py:1862 > https://phab.mercurial-scm.org/rHG87c6ad2251d8703d7f16d51e99e3d1c040f0be49 -- > it linkifies if you don't use backtics, app

D524: changelog: abort on attempt to write wdir revision

2017-08-28 Thread durin42 (Augie Fackler)
durin42 accepted this revision. durin42 added a comment. This revision is now accepted and ready to land. I like yuya's suggestion, but this seems like it stands to prevent bugs now, so I'll land it and we can continue with a followup in the revlog layer. REPOSITORY rHG Mercurial REVISION

Re: [PATCH 4 of 4] client: raise ResponseError in _readchannel()

2017-08-28 Thread Augie Fackler
On Mon, Aug 21, 2017 at 06:06:23PM +0200, Gábor Stefanik wrote: > # HG changeset patch > # User Gábor Stefanik > # Date 1503328417 -7200 > # Mon Aug 21 17:13:37 2017 +0200 > # Node ID 6f59b1f3360d599dfe66cf509bbde926d87ebe5e > # Parent 8b4d606b49655d44091c2689a3f35a3fff17a28d > client: raise

Re: [PATCH 4 of 4] client: raise ResponseError in _readchannel()

2017-08-28 Thread Augie Fackler
On Mon, Aug 21, 2017 at 06:06:23PM +0200, Gábor Stefanik wrote: > # HG changeset patch > # User Gábor Stefanik > # Date 1503328417 -7200 > # Mon Aug 21 17:13:37 2017 +0200 > # Node ID 6f59b1f3360d599dfe66cf509bbde926d87ebe5e > # Parent 8b4d606b49655d44091c2689a3f35a3fff17a28d > client: raise

Re: [PATCH hglib] summary: parse commit line less strictly (issue5637)

2017-08-28 Thread Augie Fackler
On Wed, Aug 02, 2017 at 11:52:39PM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1501684996 -32400 > # Wed Aug 02 23:43:16 2017 +0900 > # Node ID 5f3e6f1a7e68298e21f893683c5b5d3f634c2c30 > # Parent 8e959ad6a25c9fe6ab490e1a4cbd5f7445d9bcb1 > summary: par

Re: [PATCH hglib] package: update package url

2017-08-28 Thread Augie Fackler
On Wed, Jul 19, 2017 at 03:25:42PM +0200, Boris Feld wrote: > # HG changeset patch > # User Boris Feld > # Date 1500468520 -7200 > # Wed Jul 19 14:48:40 2017 +0200 > # Node ID d06b480016620be412ee3eee45822fdd3062fc0f > # Parent 8e959ad6a25c9fe6ab490e1a4cbd5f7445d9bcb1 > package: update packa

mercurial@33940: 51 new changesets

2017-08-28 Thread Mercurial Commits
51 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/3de9a2df6411 changeset: 33890:3de9a2df6411 user:Augie Fackler date:Tue Aug 22 12:59:21 2017 -0400 summary: contrib: have import-checker work mostly with native strings for mod names https://www.mercu

Re: [PATCH] record: make m key open an editor for the commit message (issue5667)

2017-08-28 Thread Augie Fackler
> On Aug 28, 2017, at 14:13, Augie Fackler wrote: > > Your patch looks good, but I'm unable to apply it. Did you mail this by > pasting into your mail client instead of using `hg email`? While writing this reply I spotted the damage to the patch from your mailer and was able to un-do it, so y

Re: [PATCH] record: make m key open an editor for the commit message (issue5667)

2017-08-28 Thread Augie Fackler
Your patch looks good, but I'm unable to apply it. Did you mail this by pasting into your mail client instead of using `hg email`? > On Aug 28, 2017, at 08:21, Peter Vitt wrote: > > # HG changeset patch > # User Peter Vitt > # Date 1503920611 -7200 > # Mon Aug 28 13:43:31 2017 +0200 > # N

Re: Accessing hidden commits by hash (directaccess extension)

2017-08-28 Thread Augie Fackler
> On Aug 28, 2017, at 13:13, Durham Goode wrote: > > > > On 8/27/17 6:51 PM, Augie Fackler wrote: >> On Fri, Aug 25, 2017 at 11:26:05AM -0700, Durham Goode wrote: >> [...] >>> Preventing Mistakes >>> === >>> >>> One of the reasons for preventing users from accessing hidden commits is to >>> p

[Bug 5670] New: Shortcut cmd to histedit tip

2017-08-28 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5670 Bug ID: 5670 Summary: Shortcut cmd to histedit tip Product: Mercurial Version: 4.3 Hardware: All OS: All Status: UNCONFIRMED Severity: feature Pr

Re: Accessing hidden commits by hash (directaccess extension)

2017-08-28 Thread Durham Goode
On 8/27/17 6:51 PM, Augie Fackler wrote: On Fri, Aug 25, 2017 at 11:26:05AM -0700, Durham Goode wrote: [...] Preventing Mistakes === One of the reasons for preventing users from accessing hidden commits is to prevent them from doing bad things with them (like pushing them, or amending them an

D472: extensions: make wrapfunction() return a context manager

2017-08-28 Thread quark (Jun Wu)
quark added inline comments. INLINE COMMENTS > yuja wrote in extensions.py:424 > I see, but I don't think it's more common than wrapping a plain > function. > > If the compatibility matters, we probably shouldn't replace > `wrapfunction` with a context manager. I think using the return value of

[Bug 5669] New: hg qrefresh loses graft metadata

2017-08-28 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5669 Bug ID: 5669 Summary: hg qrefresh loses graft metadata Product: Mercurial Version: 4.3 Hardware: All OS: All Status: UNCONFIRMED Severity: bug Pr

Re: [PATCH 01 of 10] contrib: have import-checker work mostly with native strings for mod names

2017-08-28 Thread Martin von Zweigbergk via Mercurial-devel
On Mon, Aug 28, 2017 at 6:57 AM, Augie Fackler wrote: > >> On Aug 28, 2017, at 02:55, Martin von Zweigbergk >> wrote: >> >> On Wed, Aug 23, 2017 at 7:55 AM, Augie Fackler wrote: >>> # HG changeset patch >>> # User Augie Fackler >>> # Date 1503421161 14400 >>> # Tue Aug 22 12:59:21 2017 -0

D542: effectflag: document effect flag

2017-08-28 Thread quark (Jun Wu)
quark added a comment. As I commented earlier in an email thread. I think it's cleaner to record a hash of patch to detect content change, so we will be able to detect undos: A -- amend --> B -- unamend --> C When asking the difference between A and C, we can answer "no change".

mercurial@33889: 4 new changesets

2017-08-28 Thread Mercurial Commits
4 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/13dc7f29531e changeset: 33886:13dc7f29531e user:Martin von Zweigbergk date:Thu Aug 17 13:04:47 2017 -0700 summary: exchange: don't attempt phase exchange if phase-heads was in bundle https://www.mercur

[PATCH 10 of 10] contrib: add test-check-module-imports.t to the Python 3 whitelist

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503436573 14400 # Tue Aug 22 17:16:13 2017 -0400 # Node ID 62fe41ce8dc879f92a047416b005fb295029cf13 # Parent 02257732eec8eab19c08175517370515da5712d9 contrib: add test-check-module-imports.t to the Python 3 whitelist This has the benefit of

[PATCH 09 of 10] tests: update test-obsolete to pass our import checker

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503436520 14400 # Tue Aug 22 17:15:20 2017 -0400 # Node ID 02257732eec8eab19c08175517370515da5712d9 # Parent dc6d7a28a60abcf771feb40c86d3d23364f5d815 tests: update test-obsolete to pass our import checker diff --git a/tests/test-obsolete.t b

[PATCH 08 of 10] tests: update test-largefiles-cache to pass our import checker

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503436514 14400 # Tue Aug 22 17:15:14 2017 -0400 # Node ID dc6d7a28a60abcf771feb40c86d3d23364f5d815 # Parent d3b8378b515f1986bea3bf1244383b3f6393781e tests: update test-largefiles-cache to pass our import checker diff --git a/tests/test-larg

[PATCH 07 of 10] tests: update test-inherit-mode to pass our import checker

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503436509 14400 # Tue Aug 22 17:15:09 2017 -0400 # Node ID d3b8378b515f1986bea3bf1244383b3f6393781e # Parent 8f378e7db536977a5626db61b677f9d3171c82e6 tests: update test-inherit-mode to pass our import checker diff --git a/tests/test-inherit-

[PATCH 06 of 10] tests: update test-relink to pass our import checker

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503436290 14400 # Tue Aug 22 17:11:30 2017 -0400 # Node ID 8f378e7db536977a5626db61b677f9d3171c82e6 # Parent a9c15eac8e7197834a33b8026dbea054510d2109 tests: update test-relink to pass our import checker diff --git a/tests/test-relink.t b/tes

[PATCH 05 of 10] tests: update test-strip to pass our import checker

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503435566 14400 # Tue Aug 22 16:59:26 2017 -0400 # Node ID a9c15eac8e7197834a33b8026dbea054510d2109 # Parent 10362303381bb4e3ed5118ba2ae3055604432665 tests: update test-strip to pass our import checker diff --git a/tests/test-strip.t b/tests

[PATCH 04 of 10] tests: update test-share to pass our import checker

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503435561 14400 # Tue Aug 22 16:59:21 2017 -0400 # Node ID 10362303381bb4e3ed5118ba2ae3055604432665 # Parent 4c700816d9153f10c1818a5e4b9125f9f0c83223 tests: update test-share to pass our import checker diff --git a/tests/test-share.t b/tests

[PATCH 03 of 10] tests: update test-requires to pass our import checker

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503435557 14400 # Tue Aug 22 16:59:17 2017 -0400 # Node ID 4c700816d9153f10c1818a5e4b9125f9f0c83223 # Parent 78b19b1d11bd083a1aeef9c99895378e93e857a5 tests: update test-requires to pass our import checker diff --git a/tests/test-requires.t b

[PATCH 02 of 10] tests: update test-progress to pass our import checker

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503435552 14400 # Tue Aug 22 16:59:12 2017 -0400 # Node ID 78b19b1d11bd083a1aeef9c99895378e93e857a5 # Parent 9bf8bd287bbf25b615a74cb6a47cce9c33bace4a tests: update test-progress to pass our import checker diff --git a/tests/test-progress.t b

[PATCH 01 of 10] tests: update test-patchbomb to pass our import checker

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503435546 14400 # Tue Aug 22 16:59:06 2017 -0400 # Node ID 9bf8bd287bbf25b615a74cb6a47cce9c33bace4a # Parent b1f75d8e887a4c06e6b120807f3defc5c7b78d33 tests: update test-patchbomb to pass our import checker diff --git a/tests/test-patchbomb.t

Re: [PATCH 01 of 10] tests: update test-largefiles-wireproto to pass our import checker

2017-08-28 Thread Yuya Nishihara
On Mon, 28 Aug 2017 10:55:52 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1503435487 14400 > # Tue Aug 22 16:58:07 2017 -0400 > # Node ID 8108120d81448c42f5727d74d692b5c922a402ad > # Parent 99113426105723c0d1573f87b3c02db9d9582b95 > tests: update test-la

mercurial@33885: 19 new changesets (1 on stable)

2017-08-28 Thread Mercurial Commits
19 new changesets (1 on stable) in mercurial: https://www.mercurial-scm.org/repo/hg/rev/252fb66ee5bb changeset: 33867:252fb66ee5bb user:Yuya Nishihara date:Sat Aug 19 11:23:33 2017 +0900 summary: copies: use intersectmatchers() in non-merge p1 optimization https://www.mercu

[PATCH 07 of 10] tests: update test-notify to pass our import checker

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503435527 14400 # Tue Aug 22 16:58:47 2017 -0400 # Node ID c34b3b4fbd7ebb6094836b71896530a7281cf01c # Parent 198590263d2e765f0ba50ec295962ca96d1d8313 tests: update test-notify to pass our import checker diff --git a/tests/test-notify.t b/tes

[PATCH 08 of 10] tests: update test-obsolete to pass our import checker

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503435532 14400 # Tue Aug 22 16:58:52 2017 -0400 # Node ID 889fedb3b2a228cdf6998ab6825c5ebec337eb02 # Parent c34b3b4fbd7ebb6094836b71896530a7281cf01c tests: update test-obsolete to pass our import checker diff --git a/tests/test-obsolete.t b

[PATCH 04 of 10] tests: update test-logtoprocess to pass our import checker

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503435508 14400 # Tue Aug 22 16:58:28 2017 -0400 # Node ID 2d0bd884a8a10cd63777d59a2df43c2103102a11 # Parent 11a6c1d535b01c51e65fd8527542cd271b147398 tests: update test-logtoprocess to pass our import checker diff --git a/tests/test-logtopro

[PATCH 06 of 10] tests: update test-merge1 to pass our import checker

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503435523 14400 # Tue Aug 22 16:58:43 2017 -0400 # Node ID 198590263d2e765f0ba50ec295962ca96d1d8313 # Parent 1a76ab57efe7ae6cea50119a6a3e06fcf5833a2a tests: update test-merge1 to pass our import checker diff --git a/tests/test-merge1.t b/tes

[PATCH 10 of 10] tests: update test-patch to pass our import checker

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503435542 14400 # Tue Aug 22 16:59:02 2017 -0400 # Node ID db3b60e3edf8b0bbebeda19ca4caa298e90c429f # Parent e02a9d1bc10171bfc47d16a76f4a1677625bc3dd tests: update test-patch to pass our import checker diff --git a/tests/test-patch.t b/tests

[PATCH 09 of 10] tests: update test-pager to pass our import checker

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503435537 14400 # Tue Aug 22 16:58:57 2017 -0400 # Node ID e02a9d1bc10171bfc47d16a76f4a1677625bc3dd # Parent 889fedb3b2a228cdf6998ab6825c5ebec337eb02 tests: update test-pager to pass our import checker diff --git a/tests/test-pager.t b/tests

[PATCH 05 of 10] tests: update test-merge-symlinks to pass our import checker

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503435517 14400 # Tue Aug 22 16:58:37 2017 -0400 # Node ID 1a76ab57efe7ae6cea50119a6a3e06fcf5833a2a # Parent 2d0bd884a8a10cd63777d59a2df43c2103102a11 tests: update test-merge-symlinks to pass our import checker diff --git a/tests/test-merge-

[PATCH 02 of 10] tests: update test-log-exthook to pass our import checker

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503435493 14400 # Tue Aug 22 16:58:13 2017 -0400 # Node ID 87e153a77ff33905183cd5491b753918d256c388 # Parent 8108120d81448c42f5727d74d692b5c922a402ad tests: update test-log-exthook to pass our import checker diff --git a/tests/test-log-extho

[PATCH 03 of 10] tests: update test-log to pass our import checker

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503435502 14400 # Tue Aug 22 16:58:22 2017 -0400 # Node ID 11a6c1d535b01c51e65fd8527542cd271b147398 # Parent 87e153a77ff33905183cd5491b753918d256c388 tests: update test-log to pass our import checker diff --git a/tests/test-log.t b/tests/tes

[PATCH 01 of 10] tests: update test-largefiles-wireproto to pass our import checker

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503435487 14400 # Tue Aug 22 16:58:07 2017 -0400 # Node ID 8108120d81448c42f5727d74d692b5c922a402ad # Parent 99113426105723c0d1573f87b3c02db9d9582b95 tests: update test-largefiles-wireproto to pass our import checker diff --git a/tests/test-

Re: [PATCH 01 of 10] tests: update test-debugcommands to pass our import checker

2017-08-28 Thread Yuya Nishihara
On Mon, 28 Aug 2017 10:41:54 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1503431435 14400 > # Tue Aug 22 15:50:35 2017 -0400 > # Node ID 74152a04c3bd15b1e01a621df329b9a84e5bbca2 > # Parent 794f7bb739be9f5e16ab26e2f2d98fbbf8be5659 > tests: update test-de

[PATCH 08 of 10] tests: update test-impexp-branch to pass our import checker

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503431497 14400 # Tue Aug 22 15:51:37 2017 -0400 # Node ID 69f5d19e016bfcc438e45382b34d18eff4135f23 # Parent 14ed1e0fc6a984318a0b5111a4c2439e596061c2 tests: update test-impexp-branch to pass our import checker diff --git a/tests/test-impexp-

[PATCH 09 of 10] tests: update test-keyword to pass our import checker

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503431507 14400 # Tue Aug 22 15:51:47 2017 -0400 # Node ID 352230d757644e16341a6104268f4e608cf97490 # Parent 69f5d19e016bfcc438e45382b34d18eff4135f23 tests: update test-keyword to pass our import checker diff --git a/tests/test-keyword.t b/t

[PATCH 10 of 10] tests: update test-largefiles-small-disk to pass our import checker

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503435457 14400 # Tue Aug 22 16:57:37 2017 -0400 # Node ID ef55f9488b4eac33e16b464a2cfe7855c183811d # Parent 352230d757644e16341a6104268f4e608cf97490 tests: update test-largefiles-small-disk to pass our import checker diff --git a/tests/test

[PATCH 07 of 10] tests: update test-help to pass our import checker

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503431490 14400 # Tue Aug 22 15:51:30 2017 -0400 # Node ID 14ed1e0fc6a984318a0b5111a4c2439e596061c2 # Parent 31aa4a34ea4eb6578c7dd7bf3628909f415d3b4a tests: update test-help to pass our import checker diff --git a/tests/test-help.t b/tests/t

[PATCH 06 of 10] tests: update test-hardlinks to pass our import checker

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503431484 14400 # Tue Aug 22 15:51:24 2017 -0400 # Node ID 31aa4a34ea4eb6578c7dd7bf3628909f415d3b4a # Parent d628faa82545e767f56850398b77500a7d576d12 tests: update test-hardlinks to pass our import checker diff --git a/tests/test-hardlinks.t

[PATCH 01 of 10] tests: update test-debugcommands to pass our import checker

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503431435 14400 # Tue Aug 22 15:50:35 2017 -0400 # Node ID 74152a04c3bd15b1e01a621df329b9a84e5bbca2 # Parent 794f7bb739be9f5e16ab26e2f2d98fbbf8be5659 tests: update test-debugcommands to pass our import checker diff --git a/tests/test-debugco

[PATCH 03 of 10] tests: update test-eol to pass our import checker

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503431466 14400 # Tue Aug 22 15:51:06 2017 -0400 # Node ID b2a6c360f3ffdf5821626820191389457ad0ec03 # Parent 3af7a4272590dae0812cd225cc49539a313b07c6 tests: update test-eol to pass our import checker diff --git a/tests/test-eol.t b/tests/tes

[PATCH 05 of 10] tests: update test-glog to pass our import checker

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503431478 14400 # Tue Aug 22 15:51:18 2017 -0400 # Node ID d628faa82545e767f56850398b77500a7d576d12 # Parent a3e63731e04c2a76937f7d40f905c7768a163167 tests: update test-glog to pass our import checker diff --git a/tests/test-glog.t b/tests/t

[PATCH 04 of 10] tests: update test-fncache to pass our import checker

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503431472 14400 # Tue Aug 22 15:51:12 2017 -0400 # Node ID a3e63731e04c2a76937f7d40f905c7768a163167 # Parent b2a6c360f3ffdf5821626820191389457ad0ec03 tests: update test-fncache to pass our import checker diff --git a/tests/test-fncache.t b/t

[PATCH 02 of 10] tests: update test-dirstate to pass our import checker

2017-08-28 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503431459 14400 # Tue Aug 22 15:50:59 2017 -0400 # Node ID 3af7a4272590dae0812cd225cc49539a313b07c6 # Parent 74152a04c3bd15b1e01a621df329b9a84e5bbca2 tests: update test-dirstate to pass our import checker diff --git a/tests/test-dirstate.t b

D530: obsolete: move merge logic on the smaller object

2017-08-28 Thread lothiraldan (Boris Feld)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGc0bbaefc2c5a: obsolete: move merge logic on the smaller object (authored by lothiraldan). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D530?vs=1334&id=1353 REVI

D454: releasenotes: view admonition titles using -l flag

2017-08-28 Thread rishabhmadan96 (Rishabh Madan)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG2a37459aedf2: releasenotes: view admonition titles using -l flag (authored by rishabhmadan96). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D454?vs=1331&id=1352

D531: obsolete: fix old typo

2017-08-28 Thread lothiraldan (Boris Feld)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG54c21114e41d: obsolete: fix old typo (authored by lothiraldan). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D531?vs=1335&id=1354#toc REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

  1   2   >