D10948: exchange: use "served" repo filter to guess what the server will publish

2021-07-03 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Previously, the second push in the added test would say "push would publish 2 changesets" because _checkpublish() was considering secret changesets to be

Evolve 10.3.2 released

2021-05-29 Thread Anton Shestakov
, and `experimental.topic.publish-bare-branch` and `experimental.auto-publish` config options should now interact with each other correctly. To see more information about these experimental config options, try `hg help -e evolve` and `hg help -e topic`. Thanks to all the people involved: * Anton Shestakov

Evolve 10.3.2 released

2021-05-29 Thread Anton Shestakov
, and `experimental.topic.publish-bare-branch` and `experimental.auto-publish` config options should now interact with each other correctly. To see more information about these experimental config options, try `hg help -e evolve` and `hg help -e topic`. Thanks to all the people involved: * Anton Shestakov

Re: Evolve 10.3.1 released

2021-04-27 Thread Anton Shestakov
On Mon, 26 Apr 2021 15:02:07 -0400 Scott Palmer wrote: > File "C:/dev/opensource/evolve/hgext3rd\evolve\stablesort.py", line 847, > in _setjumps > end = self._index[rev - 1] > IndexError: array index out of range There's something fishy going on here because there's an `assert

Evolve 10.3.1 released

2021-04-25 Thread Anton Shestakov
changes are: cache reuse on different systems (such as using 64-bit and 32-bit Python to push/pull the same repo) should now be safe, and hg next now handles unstable changesets with topics more correctly. Thanks to all the people involved: * Anton Shestakov * Pierre-Yves David ## Evolve: 10.3.1

Evolve 10.3.1 released

2021-04-25 Thread Anton Shestakov
changes are: cache reuse on different systems (such as using 64-bit and 32-bit Python to push/pull the same repo) should now be safe, and hg next now handles unstable changesets with topics more correctly. Thanks to all the people involved: * Anton Shestakov * Pierre-Yves David ## Evolve: 10.3.1

Evolve 10.3.0 released

2021-03-12 Thread Anton Shestakov
: * Anton Shestakov * Chuck Tuffli * Kyle Lippincott * Martin von Zweigbergk * Pierre-Yves David * Sushil khanchi ## Evolve: 10.3.0 * doc: document stack as a substitute for MQ's qseries * doc: document revsets provided by evolve extension * evolve: add

Evolve 10.2.0 released

2021-02-01 Thread Anton Shestakov
to all the people involved: * Anton Shestakov * Chuck Tuffli * Georges Racinet * Martin von Zweigbergk * Matt Harbison * Pierre-Yves David * Sushil khanchi ## Evolve: 10.2.0 * compatibility with Mercurial 5.7 * doc: update the MQ To Evolve guide and fix build warning

Evolve 10.2.0 released

2021-02-01 Thread Anton Shestakov
to all the people involved: * Anton Shestakov * Chuck Tuffli * Georges Racinet * Martin von Zweigbergk * Matt Harbison * Pierre-Yves David * Sushil khanchi ## Evolve: 10.2.0 * compatibility with Mercurial 5.7 * doc: update the MQ To Evolve guide and fix build warning

Re: Evolve 10.1.0 released

2020-11-06 Thread Anton Shestakov
On Wed, 04 Nov 2020 09:19:12 +0100 Malcolm Matalka wrote: > Thank you! I use evolve everyday and as a user I appreciate you, and > everyone elses hard work! CCing the list, so other contributors can see :) ___ Mercurial mailing list

Evolve 10.1.0 released

2020-11-03 Thread Anton Shestakov
option allowing a merge with an ancestor in specific cases. Thanks to all the people involved: * Anton Shestakov * Joerg Sonnenberger * Manuel Jacob * Martin von Zweigbergk * Matt Harbison * Pierre-Yves David * Pulkit Goyal <7895pul...@gmail.com> * Sietse Brouwer * Sushil k

Evolve 10.1.0 released

2020-11-03 Thread Anton Shestakov
option allowing a merge with an ancestor in specific cases. Thanks to all the people involved: * Anton Shestakov * Joerg Sonnenberger * Manuel Jacob * Martin von Zweigbergk * Matt Harbison * Pierre-Yves David * Pulkit Goyal <7895pul...@gmail.com> * Sietse Brouwer * Sushil k

Evolve 10.0.2 released

2020-09-09 Thread Anton Shestakov
for details. Thanks to all the people involved: * Anton Shestakov * Martin von Zweigbergk * Matt Harbison * Pierre-Yves David ## Evolve: 10.0.2 * py3: use '%d' for formatting revision numbers in stable range cache warning (issue6390) * split: correctly handle discard action after

Evolve 10.0.2 released

2020-09-09 Thread Anton Shestakov
for details. Thanks to all the people involved: * Anton Shestakov * Martin von Zweigbergk * Matt Harbison * Pierre-Yves David ## Evolve: 10.0.2 * py3: use '%d' for formatting revision numbers in stable range cache warning (issue6390) * split: correctly handle discard action after

Re: hgweb.cgi requires encoded config string?

2020-08-24 Thread Anton Shestakov
ср, 29 июл. 2020 г. в 10:17, Harald Klimach : > > I just changed > application = hgweb(config) > to > application = hgweb(config.encode("utf-8")) > > Is this the correct approach? And if so, wouldn't it be appropriate to > suggest something similar in the hgweb.cgi file? Sorry for the delayed

Evolve 10.0.1 released

2020-08-03 Thread Anton Shestakov
is: `push --topic` and `outgoing --topic` now work as expected when using a topic name that doesn't exist and "." as the topic. Thanks to all the people involved: * Aay Jay Chan * Anton Shestakov * Joerg Sonnenberger * Pierre-Yves David * Sushil khanchi ## Evol

Evolve 10.0.1 released

2020-07-31 Thread Anton Shestakov
is: `push --topic` and `outgoing --topic` now work as expected when using a topic name that doesn't exist and "." as the topic. Thanks to all the people involved: * Aay Jay Chan * Anton Shestakov * Joerg Sonnenberger * Pierre-Yves David * Sushil khanchi ## Evol

D8619: tests: skip pyflakes for selectors2.py

2020-06-06 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY The current version (2.2.0) correctly detects one issue: mercurial/thirdparty/selectors2.py:335:40 '...'.format(...) has unused arguments at position(s): 1

D8618: tests: adjust to the new format in pyflakes output

2020-06-06 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY According to the pyflakes' NEWS.rst, the default output format changed recently: 2.2.0 (2020-04-08) - Include column information in error messages

D8617: tests: consistently use pyflakes as a Python module

2020-06-06 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY We check availability of pyflakes as a module, and also running it for real as a module. Only fair to test filterpyflakes.py working correctly when using pyflakes

D8394: revset: implement a simple 'foo#generations' expression

2020-04-10 Thread av6 (Anton Shestakov)
av6 created this revision. av6 added a reviewer: yuja. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The result of this expression is equivalent to 'foo#g[:]': all reachable ancestors and descendants of a revset foo. While not very

D8393: revset: rename generationsrel() to generationssubrel()

2020-04-10 Thread av6 (Anton Shestakov)
av6 created this revision. av6 added a reviewer: yuja. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This highlights that this is an implementation of 'x#y[z]' relation subscript operator as opposed to 'x#y' relation operator. REPOSITORY

Re: mercurial.host, the Heptapod commercial service

2020-03-23 Thread Anton Shestakov
On Mon, 23 Mar 2020 10:23:05 -0400 Augie Fackler wrote: > > On Mar 22, 2020, at 17:29, Georges Racinet > > wrote: > > > > We've already bought that domain name, but as a courtesy to the > > community, we wanted to ask if there were strong objections to us using > > it for these purposes. > >

Re: [PATCH 4 of 4] revset: introduce a 'foo#stack[n]' subscript relation to access stack revisions

2019-09-25 Thread Anton Shestakov
On Wed, 25 Sep 2019 02:48:09 +0200 Pierre-Yves David wrote: > On 9/25/19 1:25 AM, Yuya Nishihara wrote: > > On Tue, 24 Sep 2019 21:16:53 +0200, Pierre-Yves David wrote: > >> On 9/23/19 2:58 PM, Yuya Nishihara wrote: > >>> On Mon, 23 Sep 2019 10:39:5

[PATCH 1 of 2 V2] stack: take getstack() and turn it into stack class (API)

2019-09-25 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1569138369 -25200 # Sun Sep 22 14:46:09 2019 +0700 # Node ID 2c9d35029c27f3d0e63afc8f618268f079f337c3 # Parent 763028fc6a69a772cfa03c85262e2b6a439de5ab # EXP-Topic stack-object stack: take getstack() and turn it into stack class (API

[PATCH 2 of 2 V2] stack: add indexedrevs property to contain a list of stack revs and its base

2019-09-25 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1569139071 -25200 # Sun Sep 22 14:57:51 2019 +0700 # Node ID b85dea9c83a01ae6c6045b7dc5e4aa10dfbec8c7 # Parent 2c9d35029c27f3d0e63afc8f618268f079f337c3 # EXP-Topic stack-object stack: add indexedrevs property to contain a list of stack revs

[PATCH STABLE] merge: back out changeset a4ca0610c754 (parents order when grafting a merge)

2019-09-22 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1568997063 -25200 # Fri Sep 20 23:31:03 2019 +0700 # Branch stable # Node ID 6003cc13f906fac5b6d93c5eff727e772d3dfc6a # Parent 085295f828459f8ce90f6f5889bac3e0405945a8 merge: back out changeset a4ca0610c754 (parents order when grafting

[PATCH 4 of 4] revset: introduce a 'foo#stack[n]' subscript relation to access stack revisions

2019-09-22 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1569139969 -25200 # Sun Sep 22 15:12:49 2019 +0700 # Node ID ab8f097abacb8ce0f9cea2bce0924bb2fd3261a2 # Parent 07af98a1e730c1ffa6911c9ab2cdcc06d4ffe52d # EXP-Topic stack-object revset: introduce a 'foo#stack[n]' subscript relation to access

[PATCH 2 of 4] stack: take getstack() and turn it into stack class (API)

2019-09-22 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1569138369 -25200 # Sun Sep 22 14:46:09 2019 +0700 # Node ID 6430e0ae6d86343980578e36fa26c5e4893170fd # Parent d81e537a421f78d9f1bf6b3bdf736977ad126f68 # EXP-Topic stack-object stack: take getstack() and turn it into stack class (API

[PATCH 1 of 4] stack: use repo.revs() instead of revsetlang.formatspec() + scmutil.revrange()

2019-09-22 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1569137636 -25200 # Sun Sep 22 14:33:56 2019 +0700 # Node ID d81e537a421f78d9f1bf6b3bdf736977ad126f68 # Parent 44be33cf7a5720f681fe902c83d8cc4aa1c26127 # EXP-Topic stack-object stack: use repo.revs() instead of revsetlang.formatspec

[PATCH 3 of 4] stack: add indexedrevs property to contain a list of stack revs and its base

2019-09-22 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1569139071 -25200 # Sun Sep 22 14:57:51 2019 +0700 # Node ID 07af98a1e730c1ffa6911c9ab2cdcc06d4ffe52d # Parent 6430e0ae6d86343980578e36fa26c5e4893170fd # EXP-Topic stack-object stack: add indexedrevs property to contain a list of stack revs

[PATCH STABLE] merge: respect parents order when using `graft` on a merge, this time for real

2019-09-18 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1568803990 -25200 # Wed Sep 18 17:53:10 2019 +0700 # Branch stable # Node ID 085295f828459f8ce90f6f5889bac3e0405945a8 # Parent e26c2440a030b2c5fc43de1a2feedee37d437557 merge: respect parents order when using `graft` on a merge, this time

D6709: config: add --registered flag to show all known configs

2019-09-17 Thread av6 (Anton Shestakov)
av6 added a comment. In D6709#100618 , @marmoute wrote: > In D6709#99199 , @av6 wrote: > >> I'm strongly -1 on adding qualifiers straight to the keys. The primary usage scenario here is scripts

Re: [PATCH evolve-ext] docs: add example for the `prune` command

2019-09-13 Thread Anton Shestakov
This patch seems to have fallen entirely through the cracks. Try CCing marmoute in V2. On Fri, 19 Jul 2019 16:29:42 +0200 Raphaël Gomès wrote: > # HG changeset patch > # User Raphaël Gomès > # Date 1563546408 -7200 > # Fri Jul 19 16:26:48 2019 +0200 > # Branch stable > # Node ID

D6709: config: add --registered flag to show all known configs

2019-09-12 Thread av6 (Anton Shestakov)
av6 added a comment. I'll be okay with this too, once we get rid of `(EXPERIMENTAL)` everywhere. INLINE COMMENTS > test-config.t:962 > + > + $ hg showconfig --registered -T '{name}={value}\n' | egrep '^(color|diff)' > + color.mode=auto Let's change this to `hg showconfig cmdserver

Re: recode text files in repo

2019-08-28 Thread Anton Shestakov
ср, 28 авг. 2019 г. в 02:08, Victor Sudakov : > For some reason, your minimalistic example does not work for me (even > without any recoding) if there are several commits: > > $ hg init repo1 ; cd repo1 > $ fortune > test.txt ; hg commit -A -m test > adding test.txt > $ fortune > test.txt ; hg

Re: recode text files in repo

2019-08-27 Thread Anton Shestakov
вт, 27 авг. 2019 г. в 12:21, Victor Sudakov : > Victor Sudakov wrote: > > Steve Fink wrote: > > > One way would be `hg convert` with a custom conversion script. See the > > > "Customization" example at the bottom of > > > . It looks like > > >

D6762: packaging: add Bullseye, remove Jessie

2019-08-25 Thread av6 (Anton Shestakov)
Closed by commit rHG0a50a4232db7: packaging: add Bullseye, remove Jessie (authored by av6). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6762?vs=16308=16310 CHANGES SINCE LAST

D6761: packaging: add Cosmic and Disco, remove Trusty and Artful

2019-08-25 Thread av6 (Anton Shestakov)
Closed by commit rHG0363bb086c57: packaging: add Cosmic and Disco, remove Trusty and Artful (authored by av6). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6761?vs=16307=16309

D6761: packaging: add Cosmic and Disco, remove Trusty and Artful

2019-08-25 Thread av6 (Anton Shestakov)
av6 added a comment. Intended for stable. Confirming that building the packages for Cosmic and Disco actually works is very much welcome. REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6761/new/ REVISION DETAIL

D6762: packaging: add Bullseye, remove Jessie

2019-08-25 Thread av6 (Anton Shestakov)
av6 added a comment. Intended for stable. Confirming that building the package for Bullseye actually works is very much welcome. REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6762/new/ REVISION DETAIL https://phab.mercurial-scm.org/D6762 To:

D6762: packaging: add Bullseye, remove Jessie

2019-08-25 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Jessie is oldoldstable now, and Bullseye is going to be the next stable (now testing). We're continuing to support the current oldstable, stable and testing

D6761: packaging: add Cosmic and Disco, remove Trusty and Artful

2019-08-25 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY - Trusty was publicly supported until 2019-04-30 - Artful was publicly supported until 2018-07-19 - Cosmic was publicly supported until 2019-07-18 - Disco will be

D6709: config: add --registered flag to show all known configs

2019-08-23 Thread av6 (Anton Shestakov)
This revision now requires changes to proceed. av6 added a comment. av6 requested changes to this revision. I'm strongly -1 on adding qualifiers straight to the keys. The primary usage scenario here is scripts (as explained in issue6014) -- regular users lived without this feature for years

D6709: config: add --registered flag to show all known configs

2019-08-22 Thread av6 (Anton Shestakov)
av6 added a comment. av6 accepted this revision. @marmoute did you want this flag marked as experimental or am I misremembering? REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6709/new/ REVISION DETAIL https://phab.mercurial-scm.org/D6709 To:

Re: [PATCH] makefile: run Rust tests if cargo is installed

2019-08-21 Thread Anton Shestakov
On Wed, 21 Aug 2019 18:09:33 +0200 Raphaël Gomès wrote: > # HG changeset patch > # User Raphaël Gomès > # Date 1566403010 -7200 > # Wed Aug 21 17:56:50 2019 +0200 > # Branch stable > # Node ID 5b9efc6098154fb5079f06b3c485b58363e0f43d > # Parent 302dbc9d52beeb2ef677aa18b3fa005bbce2134e >

D6709: config: add --registered flag to show all known configs

2019-08-20 Thread av6 (Anton Shestakov)
av6 added inline comments. INLINE COMMENTS > commands.py:1893 > else: > -fm.write('name value', '%s=%s\n', entryname, value) > -fm.data(defaultvalue=defaultvalue) > +value_ = value > +for tfopt in [('True', 'yes'), ('False', 'no'), ('true',

D6730: config: handle default values of type list

2019-08-17 Thread av6 (Anton Shestakov)
This revision now requires changes to proceed. av6 added a comment. av6 requested changes to this revision. The changes in tests that this patch causes are actually already present in the D6709 , so let's fold this patch into it as well. REPOSITORY

D6709: config: add --registered flag to show all known configs

2019-08-17 Thread av6 (Anton Shestakov)
av6 added inline comments. INLINE COMMENTS > ui.py:832 > +# Omit config items with dynamicdefault, devel, > +# experimental and generic config opts. > +continue Nit: originally I was fine with two different `if ...: continue` blocks

D6707: revset: drop argument when it's None

2019-08-06 Thread av6 (Anton Shestakov)
Closed by commit rHG911e25dc9d8c: revset: drop argument when its None (authored by av6). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6707?vs=16107=16139 CHANGES SINCE LAST

D6706: stack: remove unnecessary reverse() predicate

2019-08-06 Thread av6 (Anton Shestakov)
Closed by commit rHG77c52ce50e6a: stack: remove unnecessary reverse() predicate (authored by av6). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6706?vs=16106=16138 CHANGES SINCE

D6709: config: add --all flag to show all known configs

2019-08-02 Thread av6 (Anton Shestakov)
This revision now requires changes to proceed. av6 added inline comments. av6 requested changes to this revision. INLINE COMMENTS > commands.py:1774 > @command('config|showconfig|debugconfig', > -[('u', 'untrusted', None, _('show untrusted configuration options')), > +[('a', 'all',

D6707: revset: drop argument when it's None

2019-08-02 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY getstack's definition is `getstack(repo, rev=None)`, so providing None explicitly is unnecessary. Moreover, when x is not None, it's definitely not a revision but a

D6706: stack: remove unnecessary reverse() predicate

2019-08-02 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Stack already sorts revisions, so no need to do it twice. This change was a part of D2400 , which didn't land for other

Re: Webpage: Who uses Mercurial

2019-07-26 Thread Anton Shestakov
пт, 26 июл. 2019 г. в 12:18, Marcus : > > On 26/07/2019 09.59, David Demelier wrote: > > This page is editable from anyone who is registered to the wiki, so you > > can add new projects if you want :-) > > It just occurred to me that we are talking about different web pages. I > was referring to

Re: [PATCH evolve-ext] evolve: further clarify that update is performed only when requested

2019-07-18 Thread Anton Shestakov
On Wed, 17 Jul 2019 12:06:14 -0700 Kevin Peng via Mercurial-devel wrote: > Here is an updated patch: > > # HG changeset patch > # User kevp...@google.com > # Date 1560563083 25200 > # Fri Jun 14 18:44:43 2019 -0700 > # Node ID 8716e0b2ff1cf09efa79dca6303a83600ee42824 > # Parent

D6551: statecheck: added support for cmdutil.afterresolvedstates

2019-07-04 Thread av6 (Anton Shestakov)
av6 added inline comments. INLINE COMMENTS > cmdutil.py:3303 > > afterresolvedstates tuples define a .hg/{file} and the corresponding > command needed to finish it. Now that afterresolvedstates has been removed, you need to update this docstring. > cmdutil.py:3322 > > If

[PATCH 2 of 2] move: --force flag forcibly moves, not copies

2019-07-02 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1562119599 -28800 # Wed Jul 03 10:06:39 2019 +0800 # Node ID 47ba6b2b35db31c4b436e9e99179607cc4cc86cc # Parent 9151cf680e05ebe7322388f25af3376f52e004a8 move: --force flag forcibly moves, not copies diff --git a/mercurial/commands.py b

[PATCH 1 of 2] copy: correct synopsis by making SOURCE a required argument

2019-07-02 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1562119311 -28800 # Wed Jul 03 10:01:51 2019 +0800 # Node ID 9151cf680e05ebe7322388f25af3376f52e004a8 # Parent e3df1e15bee9d70d6cc4697e503091a7bff0f8fc copy: correct synopsis by making SOURCE a required argument diff --git a/mercurial

Re: [PATCH evolve-ext] py3: broad pass for python3 compatibility

2019-06-27 Thread Anton Shestakov
On Wed, 26 Jun 2019 15:55:50 -0700 "Ludovic Chabant" wrote: > Should I re-create the patch on the latest evolve stable now? Or will someone > else do it? > I'm asking because py3 support is blocking a few things for sourcehut. > Thanks! Personally, I thought you all would discuss py3 efforts

Re: [PATCH evolve-ext] evolve: further clarify that update is performed only when requested

2019-06-24 Thread Anton Shestakov
On Fri, 14 Jun 2019 21:20:39 -0700 kevpeng--- via Mercurial-devel wrote: > # HG changeset patch > # User kevp...@google.com > # Date 1560563083 25200 > # Fri Jun 14 18:44:43 2019 -0700 > # Node ID 26769b7cb539e08ed51823750fe799cef1f10bf5 > # Parent 8195452be71d446eff972ea128199f943731b7fb

D6501: state: created new class statecheck to handle unfinishedstates

2019-06-18 Thread av6 (Anton Shestakov)
av6 added inline comments. INLINE COMMENTS > state.py:151 > +'graft', > +fname = 'graftstate', > +clearable = True, It's funny how Pulkit's comment is now at this line and looks like asking to add spaces around `=` here. But in this case `=` is not an operator, it's used to

D6476: merge: correct argument name in docstring

2019-06-04 Thread av6 (Anton Shestakov)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG127937874395: merge: correct argument name in docstring (authored by av6, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6476?vs=15332=15333

D6476: merge: correct argument name in docstring

2019-06-04 Thread av6 (Anton Shestakov)
av6 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/D6476 AFFECTED FILES mercurial/merge.py CHANGE DETAILS diff --git a/mercurial/merge.py

D6467: doc: fix description of "predecessors" to match reality

2019-06-01 Thread av6 (Anton Shestakov)
av6 added a comment. This change looks good, but I have doubts about "visible" in the docstring. https://phab.mercurial-scm.org/rHG1858fc2327ef7b631941e37550738f1fc4217bfb does say that this template keyword respects repo filtering, but I've encountered instances where it shows hidden

D6461: githelp: translate git stash show and clear actions and --patch flag

2019-05-30 Thread av6 (Anton Shestakov)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG7752cd3a2f83: githelp: translate git stash show and clear actions and --patch flag (authored by av6, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D6461: githelp: translate git stash show and clear actions and --patch flag

2019-05-30 Thread av6 (Anton Shestakov)
av6 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/D6461 AFFECTED FILES hgext/githelp.py tests/test-githelp.t CHANGE DETAILS diff --git

D6460: githelp: add --dry-run for mv

2019-05-30 Thread av6 (Anton Shestakov)
av6 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/D6460 AFFECTED FILES hgext/githelp.py CHANGE DETAILS diff --git a/hgext/githelp.py b/hgext/githelp.py ---

D6459: githelp: translate --directory of git apply to --prefix

2019-05-30 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY According to the help pages, these flags do the same. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D6459 AFFECTED FILES

Re: [PATCH evolve-ext] py3: broad pass for python3 compatibility

2019-05-24 Thread Anton Shestakov
On Fri, 24 May 2019 15:57:53 + Ludovic Chabant wrote: > # HG changeset patch > # User Ludovic Chabant > # Date 1558677189 0 > # Fri May 24 05:53:09 2019 + > # Node ID 3af350fa12d4dbf69d5cbbaf5ca679067472f9ee > # Parent 0b231ea2124baf74fee5e325922a57fb0d89bbe3 > # EXP-Topic py3 >

D6441: help: check if a subtopic exists and raise an error if it doesn't (issue6145)

2019-05-24 Thread av6 (Anton Shestakov)
av6 added inline comments. INLINE COMMENTS > help.py:689-695 > +exists = False > for names, header, doc in subtopics[name]: > if subtopic in names: > +exists = True > break > +if not exists: > +

D6442: help: include subtopic in error message if passed

2019-05-24 Thread av6 (Anton Shestakov)
av6 added inline comments. INLINE COMMENTS > help.py:826 > +if subtopic: > +hint += _(" or 'hg help --keyword %s'") % subtopic > raise error.Abort(msg, hint=hint) Concatenating things is not the best option when it comes to i18n, but even if

Re: [PATCH] histedit: make actions toggleables

2019-05-11 Thread Anton Shestakov
On Fri, 10 May 2019 10:15:31 -0700 Yu Feng wrote: > # HG changeset patch > # User f...@google.com > # Date 1557508115 25200 > # Fri May 10 10:08:35 2019 -0700 > # Node ID 23bc04dc2d149829133db571f6a922e95843c9f9 > # Parent 458dc948aff9f1217718b7679f890fea510d54f7 > histedit: make actions

[PATCH 2 of 2] commit: add ability to print file status after each successful invocation

2019-05-03 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1556863876 -28800 # Fri May 03 14:11:16 2019 +0800 # Node ID f95f3e733b24730f8ad5874150c2eefb9123a482 # Parent 49d7c0579df397ff05941d09ce97967e6ca9d53e # EXP-Topic post-commit-status commit: add ability to print file status after each

[PATCH 1 of 2] tests: flatten repo structure in test-commit.t

2019-05-03 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1556863634 -28800 # Fri May 03 14:07:14 2019 +0800 # Node ID 49d7c0579df397ff05941d09ce97967e6ca9d53e # Parent fdbeacb9d456c0b98b00df66a9921fd884826cf1 # EXP-Topic post-commit-status tests: flatten repo structure in test-commit.t Let's

D6122: tests: add a file listing all the flaky tests

2019-03-21 Thread av6 (Anton Shestakov)
av6 added a comment. In https://phab.mercurial-scm.org/D6122#89818, @lothiraldan wrote: > @av6 is a `--no-flaky-tests` flag what you had in mind? Something like that, yes. I suggested that flag seeing how this change introduces a quite specific file with just one line. And I

Re: [PATCH] wix: restore COPYING.rtf

2019-03-18 Thread Anton Shestakov
On Sun, 17 Mar 2019 10:22:11 -0700 Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1552069233 28800 > # Fri Mar 08 10:20:33 2019 -0800 > # Node ID 577eab065a686f838bf13def7810d8d6f5f7f7ec > # Parent 7e95ade0f369d7509d04d6c0eefc06ca3d26c6e7 > wix: restore

Re: [PATCH 1 of 2 STABLE] test-https: turn off system OpenSSL configuration

2019-03-17 Thread Anton Shestakov
On Sun, 17 Mar 2019 12:56:44 +0900 Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1552793877 -32400 > # Sun Mar 17 12:37:57 2019 +0900 > # Branch stable > # Node ID 13ee301f9ecedcb8b087c1e71dc535fa1fdf19be > # Parent 25fc5b96d1c30468417ee0d690c2979db362edd0

Re: [PATCH] repoview: introduce "served-obsolete" filter for serving obsolete changesets

2019-03-16 Thread Anton Shestakov
On Fri, 15 Mar 2019 16:59:22 +0300 Pulkit Goyal <7895pul...@gmail.com> wrote: > On Tue, Mar 5, 2019 at 9:00 AM Anton Shestakov wrote: > > > # HG changeset patch > > # User Anton Shestakov > > # Date 1551763152 -28800 > > # Tue Mar

D6123: ZeroDivisionError: Add condition to avoid Zerodivisonerror due to float number (issue6099)

2019-03-13 Thread av6 (Anton Shestakov)
av6 added a comment. Okay, let's go over #1 in https://www.mercurial-scm.org/wiki/ContributingChanges#Submission_checklist once more. If you want to know what a good "topic" is, look at what other people do. How patches that get accepted generally look. How bug-fixing commits are worded.

D6123: Experimental features: Add condition to for float number (issue6099)

2019-03-13 Thread av6 (Anton Shestakov)
av6 added inline comments. INLINE COMMENTS > similar.py:67 > +if lengths > 0: > return equal * 2.0 / lengths > This returns None in some cases, and code that uses `_score()` and `score()` tries to compare it to an integer. In Python3 `None > 1` raises TypeError. REPOSITORY rHG

D6123: Experimental features: Add condition to for float number (issue6099)

2019-03-13 Thread av6 (Anton Shestakov)
av6 added a comment. I find it troubling that we now have contributors that don't follow #1 in https://www.mercurial-scm.org/wiki/ContributingChanges#Submission_checklist. Potentially #4 too (as Pulkit commented). Seriously, the title is terrible at describing what this patch fixes and

D6122: tests: add a file listing all the flaky tests

2019-03-12 Thread av6 (Anton Shestakov)
av6 added a comment. Another way to do this could be to introduce another special keyword, similar to "slow", so that tests that are known flaky can `#require flaky` or even mark a specific block with `#if flaky`. Obviously fixing ​test-remotefilelog-bgprefetch.t is a better idea

[PATCH] repoview: introduce "served-obsolete" filter for serving obsolete changesets

2019-03-04 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1551763152 -28800 # Tue Mar 05 13:19:12 2019 +0800 # Node ID b6636687c713bf3c4b4c246b0e8759061d6e6742 # Parent 82d9728ace9535057d77df6c920385861ec00072 repoview: introduce "served-obsolete" filter for serving obsolete

Re: Stop bugzilla bot from marking issues as "RESOLVED ARCHIVED".

2019-03-01 Thread Anton Shestakov
I think the bot has certain rules that are generally more helpful, such as bumping issues that need to be confirmed or urgent issues. I only know that these rules exist because I've been browsing around the bugzilla or am subscribed to some of such issues. I really think there needs to be more

[PATCH] revset: add default error messages to getintrange()

2019-02-05 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1549432950 -28800 # Wed Feb 06 14:02:30 2019 +0800 # Node ID e87cf73bbbffd69efa77b93fa4190d8e0987f339 # Parent a5493a251ad3a724b0a7a1bff21248c39611c6de revset: add default error messages to getintrange() Looks like it's the default values

Re: [PATCH] relnotes: more improvements

2019-02-03 Thread Anton Shestakov
On Sun, 3 Feb 2019 14:27:22 -0800 Martin von Zweigbergk wrote: > test-contrib-relnotes.t fails as follows. Expected? Should we amend it in > in flight? Oops, yes. TIL there are python3-only tests. ___ Mercurial-devel mailing list

[PATCH] relnotes: more improvements

2019-02-01 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1548138145 -28800 # Tue Jan 22 14:22:25 2019 +0800 # Branch stable # Node ID b66fff9e37c56d874f8aabcac4153e9b5a3e4148 # Parent 8b2892d5a9f2c06c998c977015a9ad3e3a3c9b5f relnotes: more improvements diff --git a/contrib/relnotes b/contrib

D5779: copyright: update to 2019

2019-01-31 Thread av6 (Anton Shestakov)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG8427fea04017: copyright: update to 2019 (authored by av6, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5779?vs=13640=13643 REVISION DETAIL

Re: [PATCH 3 of 3] revset: leverage getintrange() helper in relation-subscript operation (API)

2019-01-31 Thread Anton Shestakov
On Thu, 31 Jan 2019 23:19:20 +0900 Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1548563857 -32400 > # Sun Jan 27 13:37:37 2019 +0900 > # Node ID 4e7cb9965efc7921427418742ff2ca23f180b707 > # Parent d5978ebfee5ac4ec9694c8d1a2df37c7e1555bd3 > revset: leverage

Re: [PATCH 1 of 3] revset: extract a helper to parse integer range

2019-01-31 Thread Anton Shestakov
On Thu, 31 Jan 2019 23:19:18 +0900 Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1548562733 -32400 > # Sun Jan 27 13:18:53 2019 +0900 > # Node ID 5e5dda247ee2ba8407bc4932118a944c1959b1f9 > # Parent 1aa52287973e180eaf23c32dd454d38537facb8e > revset: extract

D5779: copyright: update to 2019

2019-01-30 Thread av6 (Anton Shestakov)
av6 added a comment. Intended for stable. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5779 To: av6, #hg-reviewers Cc: mercurial-devel ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org

D5779: copyright: update to 2019

2019-01-30 Thread av6 (Anton Shestakov)
av6 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/D5779 AFFECTED FILES contrib/packaging/debian/copyright contrib/win32/ReadMe.html

D5538: hgweb: add /obsgraph page that shows obsolescence history of a changeset (PoC)

2019-01-30 Thread av6 (Anton Shestakov)
av6 abandoned this revision. av6 added a comment. Okay then, I'll work on a non-PoC version of this. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5538 To: av6, #hg-reviewers Cc: durin42, mjpieters, mercurial-devel

D5710: py3: add 7 new passing tests to whitelist found by buildbot

2019-01-26 Thread av6 (Anton Shestakov)
av6 added a comment. Is this patch a result of some flawed automated script? Because wow, unless my eyes fail me, these additions are all duplicates. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5710 To: pulkit, #hg-reviewers Cc: av6, mercurial-devel

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! ___

[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 off

[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

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

2019-01-23 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1547564229 -28800 # Tue Jan 15 22:57:09 2019 +0800 # Node ID 91c4c66050f0b6acba6fe90e1d759165ddffd0d0 # Parent 8aca89a694d4bd7d25877b3652fb83e187ea1802 revset: support ranges in #generations relation diff --git a/mercurial/dagop.py b

<    1   2   3   4   5   6   >