.hg-format-source
author Sushil khanchi <sushilkhanchi97@gmail.com>
Wed, 06 Nov 2019 18:15:00 +0530
changeset 5038 f583d9eedbce
parent 4814 48b30ff742cb
permissions -rw-r--r--
evolve: extract logic of pre-checking divergence risk to its own function 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()`

{"pattern": "glob:hgext3rd/**/*.py", "tool": "byteify-strings"}