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