- 22 Jan, 2020 1 commit
-
-
Anton Shestakov authored
-
- 03 Nov, 2019 1 commit
-
-
Sushil Khanchi authored
For now, pre-check will abort if rewriting a rev create divergence (and config experimental.evolution.allowdivergence is not set to True). But this behaviour can be improved where instead of abort maybe we can confirm the user to either proceed with divergence or some other options depends on what command user is running. Changes in test file are used to overrides the pre-check for testing purpose (using experimental.evolution.allowdivergence=yes).
-
- 01 Jan, 2020 1 commit
-
-
Sushil Khanchi authored
-
- 03 Dec, 2019 1 commit
-
-
Anton Shestakov authored
-
- 07 Dec, 2019 1 commit
-
-
Sushil Khanchi authored
This patch adds the logic to return a single successor of a rev which was split. If split revisions are on a single topological branch then we return highest one; otherwise prompt user to choose an evolve destination.
-
- 15 Jan, 2020 1 commit
-
-
Anton Shestakov authored
-
- 13 Jan, 2020 4 commits
-
-
Anton Shestakov authored
Code that used this function was removed in 461b9a91b662. But we still need to add one item currently missing from METABLACKLIST in core: touch noise.
-
Anton Shestakov authored
This function was used in code that was removed in 901186e1fe05.
-
Anton Shestakov authored
They were used by preparesuccessorset() that was removed in the previous patch.
-
Anton Shestakov authored
It was used in code that was removed in 901186e1fe05.
-
- 11 Jan, 2020 4 commits
-
-
Anton Shestakov authored
They were added there in 51aadc0d0da2::187bc224554a (hg 4.4).
-
Anton Shestakov authored
-
Anton Shestakov authored
-
Anton Shestakov authored
-
- 17 Jan, 2020 1 commit
-
-
Anton Shestakov authored
This is related to upstream 2ecbc4ec87d8 and fixes test-evolve.t.
-
- 08 Jan, 2020 2 commits
-
-
Anton Shestakov authored
-
Anton Shestakov authored
AFAIU, this function exists so that people could hack together a replacement template for {obsfate} if they weren't satisfied with the default, but only on older versions. It seems that 3d0f8918351b::d0f1e3d3ef4d was the series introducing obsfate* functions that can show specific obsmarker properties, and that was included in hg 4.4. obsfatedata was already claimed to be removed in 35ffd7a4b339 and then more of its usage was removed in 9882fed37ea9. There are no users in evolve and in core hg, no tests and nothing else mentions obsfatedata.
-
- 07 Jan, 2020 3 commits
-
-
Anton Shestakov authored
They were unused (probably because their versions were already pushed to hg 4.4).
-
Anton Shestakov authored
The check is identical to checking if core has e27f1f04c2cf (hg 4.4).
-
Anton Shestakov authored
According to https://www.mercurial-scm.org/wiki/SupportedPythonVersions, we don't support Python 2.6 since 4.3.
-
- 04 Jan, 2020 1 commit
-
-
Anton Shestakov authored
obsutil.obsfateverb() was introduced in 3d0f8918351b (hg 4.4) and renamed in b81ad5b78a81 (hg 4.5). Considering the supported evolve versions, the first check is unnecessary (the condition is always True) obsutil.obsfateprinter() was introduced in e27f1f04c2cf (hg 4.4).
-
- 03 Jan, 2020 1 commit
-
-
Anton Shestakov authored
-
- 01 Jan, 2020 1 commit
-
-
Anton Shestakov authored
It's been in core since 4.4 and is identical to the version removed by this patch, except it returns None if ctx is not obsolete.
-
- 31 Dec, 2019 1 commit
-
-
Anton Shestakov authored
-
- 26 Dec, 2019 1 commit
-
-
Anton Shestakov authored
-
- 28 Nov, 2019 2 commits
-
-
Anton Shestakov authored
-
Anton Shestakov authored
It's been there since 4.5 (265cd9e19d26), we can safely rely on it. It's necessary though to use the correct spelling of superseded.
-
- 28 Dec, 2019 1 commit
-
-
Sushil Khanchi authored
-
- 07 Dec, 2019 1 commit
-
-
Sushil Khanchi authored
-
- 18 Dec, 2019 1 commit
-
-
Pierre-Yves David authored
The whole code will end up in a try/except clause. We pre-indent the code to clarify the next patch.
-
- 20 Dec, 2019 2 commits
-
-
Anton Shestakov authored
On Python 3.
-
Anton Shestakov authored
-
- 19 Dec, 2019 3 commits
-
-
Anton Shestakov authored
-
Anton Shestakov authored
-
Anton Shestakov authored
-
- 09 Dec, 2019 4 commits
-
-
Anton Shestakov authored
-
Anton Shestakov authored
-
Anton Shestakov authored
-
Anton Shestakov authored
It's expected to have a bunch of import and attribute errors in this module because it's for compatibility with different versions of hg and Python. Although it doesn't explain why a function wouldn't have __code__ attribute? So far I think it's a quirk of pytype.
-
- 06 Nov, 2019 1 commit
-
-
Sushil Khanchi authored
Extracting the logic (which is used to check if rewriting an obsolete revision will create divergence) to a function. This function will be used in upcoming patches of pre-checking. This is how we check if rewriting an obsolete revision will create divergence. We need to check two cases: If there is any 1) non-obsolete successor. -> easily done by `obsutil.successorssets()` 2) precursor with non-obsolete successor. -> using `evolvecmd.divergentsets()`
-