Show More
@@ -302,6 +302,7 b' def clone(ui, source, dest = None, **opt' | |||
|
302 | 302 | repo = hg.repository(ui, ".", create=1) |
|
303 | 303 | other = hg.repository(ui, source) |
|
304 | 304 | fetch = repo.findincoming(other) |
|
305 | if fetch: | |
|
305 | 306 | cg = other.changegroup(fetch) |
|
306 | 307 | repo.addchangegroup(cg) |
|
307 | 308 | |
@@ -549,6 +550,10 b' def pull(ui, repo, source="default", **o' | |||
|
549 | 550 | |
|
550 | 551 | other = hg.repository(ui, source) |
|
551 | 552 | fetch = repo.findincoming(other) |
|
553 | if not fetch: | |
|
554 | ui.status("no changes found\n") | |
|
555 | return | |
|
556 | ||
|
552 | 557 | cg = other.changegroup(fetch) |
|
553 | 558 | r = repo.addchangegroup(cg) |
|
554 | 559 | if cg and not r: |
@@ -841,7 +841,6 b' class localrepository:' | |||
|
841 | 841 | unknown.append(h) |
|
842 | 842 | |
|
843 | 843 | if not unknown: |
|
844 | self.ui.status("nothing to do!\n") | |
|
845 | 844 | return None |
|
846 | 845 | |
|
847 | 846 | rep = {} |
General Comments 0
You need to be logged in to leave comments.
Login now