changeset 29899 | a9b92164a1f4 |
parent 29893 | 4c28ddda5d48 |
child 29901 | 4d1e6f91f1c7 |
--- a/mercurial/commands.py Sun Aug 07 16:36:08 2016 +0900 +++ b/mercurial/commands.py Mon Sep 05 08:29:36 2016 +0000 @@ -4140,9 +4140,7 @@ # check for ancestors of dest branch crev = repo['.'].rev() ancestors = repo.changelog.ancestors([crev], inclusive=True) - # Cannot use x.remove(y) on smart set, this has to be a list. # XXX make this lazy in the future - revs = list(revs) # don't mutate while iterating, create a copy for rev in list(revs): if rev in ancestors: