- Sep 02, 2020
-
-
Matt Harbison authored
The problem seems to be that the now removed __contains__ check would select any revision indicated by a non-string argument. This led to `topic(head())` returning a bunch of non-topic heads, though not as many as simply `head()`. I'm likely misunderstanding something, because there appears to be a similar __contains__ check for `branch()` in core. But maybe that's just harder to see the issue, because branch names doesn't disappear like topics.
-
- Aug 21, 2020
-
-
Anton Shestakov authored
-
Anton Shestakov authored
The `assert` that this patch removes was introduced in 9242d0b5f74d, when we didn't have the test that this patch adds. Without the `assert` we can actually see the incorrect behavior. With it, the test would throw an AssertionError just before "forgetting c", when hg split is handling the second discard action.
-
Anton Shestakov authored
`assert` is here because I'm not sure if this is enough, and we might not have tests that fail this specific assert.
-
Anton Shestakov authored
-
- Aug 02, 2020
-
-
Anton Shestakov authored
-
- Jul 31, 2020
-
-
Anton Shestakov authored
-
Anton Shestakov authored
-
- Jun 12, 2020
-
-
Anton Shestakov authored
This special case is similar to `hg outgoing/push -B .`, where currently active bookmark is used instead of `.`.
-
- Jun 11, 2020
-
-
Anton Shestakov authored
We already do treat it as a string (i.e. not a special revset language symbol) that needs to be escaped, because we use %s in repo.revs(), which escapes and single-quotes the appropriate argument. But now we abort in case user supplies topic name that doesn't exist. Before this patch, when user ran something like `hg push --topic .`, this code would use 'topic(".") - obsolete()' revset, which would get an empty set from repo.revs() unless there was a topic named "." (unlikely, because this name is reserved). This code would then add an empty set to the 'rev' argument of the original hg push command. And `hg push` without -r will try and push everything, and not just changesets on a specific topic.
-
- Jul 27, 2020
-
-
Anton Shestakov authored
-
- Jul 22, 2020
-
-
Pierre-Yves David authored
This content-divergence is getting in the way of the behavior improvement in introduced in c26335fa4225. So we remove it.
-
Sushil Khanchi authored
Adding a new test file for test cases of evolution from an obsolete working directory parent. So this patch moves one divergence related case from test-obsolete.t to newly added test-evolve-obsolete.t and add few new cases as well. The new cases are probably there in other files, but not at the same place and I think having these cases in a single file make more sense. We can remove those duplicated tests from others file, let's see. In new test file there is one TODO (split case) which is yet to be written. I plan to add that after this, if that's not a blocker. Co-authored By: Pierre-Yves David <pierre-yves.david@octobus.net>
-
Pierre-Yves David authored
The graph might change a bit in coming release, so using a hash is getting in the way.
-
Pierre-Yves David authored
-
Pierre-Yves David authored
-
Pierre-Yves David authored
-
Pierre-Yves David authored
Otherwise, this breaks on python3.
-
- Jul 21, 2020
-
-
Anton Shestakov authored
CORE-TEST-OUTPUT-UPDATE: dc5e5577af39
-
- Jul 04, 2020
-
-
Anton Shestakov authored
CORE-TEST-OUTPUT-UPDATE: e1ea913da2ed
-
- May 29, 2020
-
-
Anton Shestakov authored
-
- Jul 21, 2020
-
-
Anton Shestakov authored
outgoing.missingheads property and keyword argument to __init__() was renamed to ancestorsof.
-
Jörg Sonnenberger authored
See also: https://phab.mercurial-scm.org/D8694 and its stack.
-
Jörg Sonnenberger authored
See also: https://phab.mercurial-scm.org/D8694 and its stack.
-
- Jun 27, 2020
-
-
Aay Jay Chan authored
-
- Jun 06, 2020
-
-
Anton Shestakov authored
Since we're storing multiple markers and nodes in them, makes sense to rename them to be plural.
-
Anton Shestakov authored
Since we're optimizing this loop by removing dots, why not remove all dots.
-
Anton Shestakov authored
-
Anton Shestakov authored
Let's be nice to people who want to use `node` as a variable name in the code in this module.
-
- May 24, 2020
-
-
Anton Shestakov authored
Since we need flake8 to be a python module, we shouldn't use a shell script with `which` to check for its presence anymore.
-
Anton Shestakov authored
-
Anton Shestakov authored
Using newer hg files instead of hg locate, using null bytes as separators, excluding thirdparty dir. Copied from test-check-flake8.t.
-
- Jun 06, 2020
-
-
Anton Shestakov authored
The job was using system hg before this.
-
- May 21, 2020
-
-
Anton Shestakov authored
Since we're not including contrib/ in pip packages, this test failed when trying to run not from evolve repo.
-
- May 16, 2020
-
-
Anton Shestakov authored
Let's make an emphasis on using template keywords from core, since almost everything is there now. Also there's no sub-template keywords for obsorigin because currently it's too simple (it's using obsfate as an example, which I assume was simplified when it was upstreamed).
-
Anton Shestakov authored
-
Anton Shestakov authored
These template keywords follow the old vocabulary, and shouldn't be used, but we provide them for the time being anyway. Also mentioning them here will hopefully some day make `hg help -k` find them.
-
Anton Shestakov authored
-
- May 14, 2020
-
-
Anton Shestakov authored
When trying to sort multiple successor sets, this block of code used to fail with: - TypeError: '<' not supported between instances of 'dict' and 'dict' (on py3) - TypeError: cannot compare sets using cmp() (on py2) So for sorted() to work properly, we need to remove dicts and sets from the data.
-