Show More
@@ -85,7 +85,7 b" def fetch(ui, repo, source='default', **" | |||||
85 | newchildren = repo.changelog.nodesbetween([parent], newheads)[2] |
|
85 | newchildren = repo.changelog.nodesbetween([parent], newheads)[2] | |
86 | if len(newheads) == 1 and len(newchildren): |
|
86 | if len(newheads) == 1 and len(newchildren): | |
87 | if newchildren[0] != parent: |
|
87 | if newchildren[0] != parent: | |
88 |
return hg. |
|
88 | return hg.update(repo, newchildren[0]) | |
89 | else: |
|
89 | else: | |
90 | return 0 |
|
90 | return 0 | |
91 |
|
91 |
General Comments 0
You need to be logged in to leave comments.
Login now