branch | stable |
changeset 10580 | 612c142b7a82 |
parent 10263 | 25e572394f5c |
child 10973 | 49a07f441496 |
--- a/hgext/fetch.py Wed Mar 03 22:04:59 2010 +0100 +++ b/hgext/fetch.py Wed Mar 03 22:32:51 2010 +0100 @@ -81,7 +81,6 @@ # Is this a simple fast-forward along the current branch? newheads = repo.branchheads(branch) - newheads = [head for head in newheads if len(repo[head].children()) == 0] newchildren = repo.changelog.nodesbetween([parent], newheads)[2] if len(newheads) == 1: if newchildren[0] != parent: