changeset 5516:2a04af930bad

evolve: update "old-other" in evolvestate for --stop functionality
author Sushil khanchi <sushilkhanchi97@gmail.com>
date Mon, 31 Aug 2020 01:19:12 +0530
parents 159d6c0c7dbb
children a4c6c63e0ed5
files hgext3rd/evolve/evolvecmd.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/evolvecmd.py	Tue Aug 04 23:44:08 2020 +0530
+++ b/hgext3rd/evolve/evolvecmd.py	Mon Aug 31 01:19:12 2020 +0530
@@ -2065,6 +2065,7 @@
 
         if evolvestate[b'relocating-other']:
             newother = _completerelocation(ui, repo, evolvestate)
+            evolvestate[b'old-other'] = other.node()
             other = repo[newother]
             current = repo[evolvestate[b'current']]
             obsolete.createmarkers(repo, [(current, (repo[newother],))],