Show the destionation for clone if not specified manually.

This commit is contained in:
Thomas Arendsen Hein 2006-12-09 14:19:52 +01:00
parent a0d2ead148
commit 731e6e0280
3 changed files with 3 additions and 0 deletions

View File

@ -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://'):

View 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

View File

@ -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