##// END OF EJS Templates
Fix default clone destination...
mpm@selenic.com -
r1314:d37a4685 default
parent child Browse files
Show More
@@ -622,9 +622,10 b' def clone(ui, source, dest=None, **opts)'
622 if opts['remotecmd']:
622 if opts['remotecmd']:
623 ui.setconfig("ui", "remotecmd", opts['remotecmd'])
623 ui.setconfig("ui", "remotecmd", opts['remotecmd'])
624
624
625 d = Dircleanup(dest)
626 if not os.path.exists(source):
625 if not os.path.exists(source):
627 source = ui.expandpath(source)
626 source = ui.expandpath(source)
627
628 d = Dircleanup(dest)
628 abspath = source
629 abspath = source
629 other = hg.repository(ui, source)
630 other = hg.repository(ui, source)
630
631
General Comments 0
You need to be logged in to leave comments. Login now