##// END OF EJS Templates
Fix empty pull bug that appeared this morning...
mpm@selenic.com -
r522:2f1de824 default
parent child Browse files
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 = {}
@@ -16,5 +16,6 b' hg verify'
16 16 hg co
17 17 cat foo
18 18 hg manifest
19 hg pull
19 20
20 21 kill $!
@@ -15,4 +15,7 b' checking files'
15 15 1 files, 1 changesets, 1 total revisions
16 16 foo
17 17 2ed2a3912a0b24502043eae84ee4b279c18b90dd 644 foo
18 pulling from http://localhost:20059/
19 searching for changes
20 no changes found
18 21 killed!
General Comments 0
You need to be logged in to leave comments. Login now