##// END OF EJS Templates
share: use defaultdest to compute unspecified destination...
Brendan Cully -
r10099:f5e46dfb stable
parent child Browse files
Show More
@@ -88,7 +88,7 b' def share(ui, source, dest=None, update='
88 raise util.Abort(_('can only share local repositories'))
88 raise util.Abort(_('can only share local repositories'))
89
89
90 if not dest:
90 if not dest:
91 dest = os.path.basename(source)
91 dest = defaultdest(source)
92 else:
92 else:
93 dest = ui.expandpath(dest)
93 dest = ui.expandpath(dest)
94
94
General Comments 0
You need to be logged in to leave comments. Login now