##// END OF EJS Templates
clone: check update rev for being True...
Sean Farley -
r26354:c1fb2cab default
parent child Browse files
Show More
@@ -582,10 +582,11 b' def clone(ui, peeropts, source, dest=Non'
582 582 try:
583 583 uprev = destrepo.lookup(checkout)
584 584 except error.RepoLookupError:
585 try:
586 uprev = destrepo.lookup(update)
587 except error.RepoLookupError:
588 pass
585 if update is not True:
586 try:
587 uprev = destrepo.lookup(update)
588 except error.RepoLookupError:
589 pass
589 590 if uprev is None:
590 591 try:
591 592 uprev = destrepo._bookmarks['@']
General Comments 0
You need to be logged in to leave comments. Login now