mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 23:07:18 +03:00
Show the destionation for clone if not specified manually.
This commit is contained in:
parent
a0d2ead148
commit
731e6e0280
@ -103,6 +103,7 @@ def clone(ui, source, dest=None, pull=False, rev=None, update=True,
|
||||
|
||||
if dest is None:
|
||||
dest = defaultdest(source)
|
||||
ui.status(_("destination directory: %s\n") % dest)
|
||||
|
||||
def localpath(path):
|
||||
if path.startswith('file://'):
|
||||
|
@ -8,4 +8,5 @@ abort: destination '../a' already exists
|
||||
255
|
||||
abort: repository a not found!
|
||||
255
|
||||
destination directory: q
|
||||
abort: destination 'q' already exists
|
||||
|
@ -11,5 +11,6 @@ checking manifests
|
||||
crosschecking files in changesets and manifests
|
||||
checking files
|
||||
1 files, 1 changesets, 1 total revisions
|
||||
destination directory: a
|
||||
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
|
||||
a
|
||||
|
Loading…
Reference in New Issue
Block a user