Submitter | phabricator |
---|---|
Date | Feb. 21, 2018, 8:40 p.m. |
Message ID | <042f7c9f5365b267bc9d1263d0cf2468@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/28210/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/hgext/mq.py b/hgext/mq.py --- a/hgext/mq.py +++ b/hgext/mq.py @@ -1555,12 +1555,8 @@ update = True else: parents = [p.node() for p in repo[None].parents()] - needupdate = False - for entry in self.applied[start:]: - if entry.node in parents: - needupdate = True - break - update = needupdate + update = any(entry.node in parents + for entry in self.applied[start:]) tobackup = set() if update: