author | Hannes Oldenburg <hannes.christian.oldenburg@gmail.com> |
Mon, 05 Sep 2016 08:29:36 +0000 | |
changeset 29899 | a9b92164a1f4 |
parent 29898 | 7203400f91b0 |
child 29900 | 50f2966f86ca |
--- 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: