Social presence 2023

2023-07-11 Thread Anton Shestakov
Hey all, This is just a quick email to start a brainstorming thread about our public presence on the Internet. We have some presence at the moment, e.g. https://wiki.mercurial-scm.org/SocialMedia https://wiki.mercurial-scm.org/ProjectInfrastructure I'm not sure how active these accounts

Re: Testing an RC of evolve 11.0.0 and topic 1.0.0

2023-02-14 Thread Anton Shestakov
14.02.2023 17:20, Georges Racinet пишет: Internally, Heptapod relies on the `branch:topic` syntax, more specifically as keys in the branchmap. Well, it relies on lots of Mercurial and evolve internals (I dare not say APIs). In 11.0.0rc0+ branchmap will have keys in the

Re: Testing an RC of evolve 11.0.0 and topic 1.0.0

2023-02-08 Thread Anton Shestakov
30.01.2023 19:24, Anton Shestakov пишет: The release candidate is coming out in the next few days, and the final feature release will most likely be ready in about 2 weeks after that. During these 2 weeks you can reach out to us and tell if you notice something being broken, and we'll

Re: Testing an RC of evolve 11.0.0 and topic 1.0.0

2023-02-06 Thread Anton Shestakov
04.02.2023 22:56, Uwe Brauer пишет: Maybe we have a misunderstanding here. I don't mean the result hg branches I meant that sometimes hg log (with my template, I am not going to post here would give me) ◍ changeset: 674:5c76f339a2eb │ tag: tip │ Branch:

Re: Testing an RC of evolve 11.0.0 and topic 1.0.0

2023-02-04 Thread Anton Shestakov
04.02.2023 14:56, Uwe Brauer пишет: 03.02.2023 00:34, Uwe Brauer пишет: By "this" do you mean "branch:topic" or "branch//topic"? I meant "branch//topic" So can I switch the new namespace feature of, if I don't like it? That depends on what you think "the new namespace feature" is. If

Re: Testing an RC of evolve 11.0.0 and topic 1.0.0

2023-02-04 Thread Anton Shestakov
03.02.2023 00:34, Uwe Brauer пишет: Hello, users of Mercurial, Evolve and/or Topic! We're planning to release a feature release candidate of evolve and topic extensions that contains an implementation of a concept that was in the plans for quite some time: topic namespaces (the name could

Are you using evolve.serveronly and serverminitopic extensions?

2023-01-30 Thread Anton Shestakov
Hello, users of Mercurial, Evolve and/or Topic! Some of you may be using the following server-only extensions: evolve.serveronly and serverminitopic, that live in the same repo as regular evolve extension: https://www.mercurial-scm.org/repo/evolve These extensions were used by Bitbucket when

Testing an RC of evolve 11.0.0 and topic 1.0.0

2023-01-30 Thread Anton Shestakov
Hello, users of Mercurial, Evolve and/or Topic! We're planning to release a feature release candidate of evolve and topic extensions that contains an implementation of a concept that was in the plans for quite some time: topic namespaces (the name could change, if we find something better)

D12626: revlog: use %d to format int instead of %lu (issue6565)

2022-05-17 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY The issue says gcc warns that the data types don't match. I couldn't reproduce the warning locally for some reason, but this patch shouldn't break things. Maybe

D12622: doc: use an absolute path in sys.path

2022-05-10 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY The idea and rationale is similar to https://phab.mercurial-scm.org/D12599 (landed as 1b6e381521c5

D12621: check-py3-compat: use an absolute path in sys.path

2022-05-10 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY The idea and rationale is similar to https://phab.mercurial-scm.org/D12599 (landed as 1b6e381521c5

D12620: tests: make sure .js files stay in ASCII encoding (issue6559)

2022-05-09 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12620 AFFECTED FILES tests/test-check-encoding.t CHANGE DETAILS diff --git

D12598: tests: make sure .js files stay in ASCII encoding (issue6559)

2022-05-02 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12598 AFFECTED FILES tests/test-check-encoding.t CHANGE DETAILS diff --git

D12597: followlines: don't put Unicode directly into the .js file (issue6559)

2022-05-02 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Apparently some web server setups may serve this file in a different encoding than UTF-8, and that results in visual garbage in the followlines button that

D12589: tests: fix misspelling of supersede

2022-04-27 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12589 AFFECTED FILES tests/test-push-checkheads-partial-C1.t

D12195: obsolete: don't use os.stat in repo.obsstore.__nonzero__ if it's static HTTP

2022-02-15 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY If a repo is accessed via static HTTP, then we obviously can't use os.stat() to just peek at the file size. Let's download the entire file to check its size.

D12157: scmutil: obsrevs is already a frozenset

2022-02-09 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12157 AFFECTED FILES mercurial/scmutil.py CHANGE DETAILS diff --git

D12156: obsolete: always return frozensets from obsolete.getrevs()

2022-02-09 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY getrevs function already returns an empty frozenset when there is no obsstore, but let's make sure to return a frozenset in any case. This makes it possible to

D12138: branchmap: split a long condition in branchcache.validfor(), add comments

2022-02-07 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D12138 AFFECTED FILES mercurial/branchmap.py CHANGE DETAILS diff --git

D12135: branchmap: don't add branch entries if there are no heads

2022-02-06 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY We definitely don't want any empty entries to be present in repo.branchmap() just for the sake of not breaking test-notify.t. No test changes required because

D12134: notify: don't produce errors if a revision is not found

2022-02-06 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Notify extension has a way to only subscribe to a specific revset, such as "branch(foo)". Before this patch, when there was no branch with that name, it would

D12121: obsolete: don't import from .node twice

2022-01-31 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY See d55b71393907 . REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL

D12120: dagop: don't import nullrev from .node twice

2022-01-31 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY See 59fa3890d40a . REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL

D12097: branchmap: skip obsolete revisions while computing heads

2022-01-28 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY It's time to make this part of core Mercurial obsolescence-aware. Not considering obsolete revisions when computing heads is clearly what Mercurial should do.

D12098: discovery: port _postprocessobsolete() changes from evolve, add tests

2022-01-28 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Let's make this function obsolescence-aware as well. Now we check that revisions are not obsolete first, and only then check that they are going to be common

D12100: obsolete: make sure windows tests pass when stat() is given a URL

2022-01-28 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This is a band-aid for test-static-http.t breakage on windows. On windows this exception is not ENOENT, but EINVAL (because of `:` symbol, for example).

D12099: destutil: if wdp is obsolete, update to the closest non-obsolete ancestor

2022-01-28 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY As the original comments suggest, using prune as a model here was an existing idea, and now this patch implements it. I think it would be even better to do

D12092: interfaces: add missing caches kwarg of localrepo.updatecaches()

2022-01-27 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Added to localrepo: in 1337bfaa88ca , added to the interface: now. REPOSITORY rHG

Re: Evolve mini-sprint January 7th

2022-01-03 Thread Anton Shestakov
Happy New Year everyone! I hope you celebrated enough to enjoy the holiday season to the fullest, but not enough to forget that there's a sprint this week, Friday, January 7th. Hello everyone, Keeping the tradition of monthly mini-sprints related to all things Mercurial, the next one will be

Evolve mini-sprint January 7th

2021-12-27 Thread Anton Shestakov
Hello everyone, Keeping the tradition of monthly mini-sprints related to all things Mercurial, the next one will be dedicated to changeset evolution and evolve extension (topic extension too). It will be held on Friday, January 7th. There's no specific schedule for the day, it will be open for

Re: Evolve mini-sprint October 8th

2021-10-08 Thread Anton Shestakov
Hello again, We have started the mini-sprint! As I've mentioned earlier, any questions about evolution are fine to ask either in our IRC (see the quoted email for links) or in the VC. Link to the VC: https://meet.jit.si/evolve-mini-sprint-10.4.0 Questions about Mercurial in general are also

Re: Evolve mini-sprint October 8th

2021-09-29 Thread Anton Shestakov
On Wed, 29 Sep 2021 08:02:09 -0700 Martin von Zweigbergk via Mercurial-devel wrote: > I think organizing a "real" sprint in 10 days is not really realistic, > > though I agree that we should think about the next Mercurial sprint. > > > Do you know if anyone has started thinking about that?

Evolve mini-sprint October 8th

2021-09-28 Thread Anton Shestakov
Hello everyone, Keeping the tradition of monthly mini-sprints related to all things Mercurial, the next one will be dedicated to changeset evolution and evolve extension (topic extension too). It will be held on Friday, October 8th. There's no specific schedule for the day, it will be open for

D11223: obsolete: disable other evolution config options if createmarkers is off

2021-07-28 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY We used to raise an abort in this case, but recent changes to local clone command (377d8fc20e34

D11221: rebase: use obsolete.isenabled() to check for experimental.allowdivergence

2021-07-28 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a reviewer: martinvonz. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Now that obsolete.isenabled() can also check if divergence is allowed, let's use it for consistency. Other

D11222: fix: use obsolete.isenabled() to check for experimental.allowdivergence

2021-07-28 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Now that obsolete.isenabled() can also check if divergence is allowed, let's use it for consistency. Other experimental.evolution options are already checked via

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

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

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

  1   2   3   4   5   >