Mercurial > evolve
diff hgext3rd/topic/destination.py @ 5982:991be5efe7cb stable
topic: correctly update from public commits with a (now hidden) topic
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Tue, 27 Jul 2021 03:06:25 +0300 |
parents | e7949274c3f9 |
children |
line wrap: on
line diff
--- a/hgext3rd/topic/destination.py Tue Jul 27 03:00:09 2021 +0300 +++ b/hgext3rd/topic/destination.py Tue Jul 27 03:06:25 2021 +0300 @@ -10,7 +10,6 @@ from . import ( common, topicmap, - constants, ) from .evolvebits import builddependencies @@ -69,7 +68,7 @@ topic = repo.currenttopic if topic: revs = repo.revs(b'.::topic(%s)', topic) - elif constants.extrakey in repo[b'.'].extra(): + elif repo[b'.'].topic(): revs = [] else: return None, None, None