Show the destionation for clone if not specified manually.
--- a/mercurial/hg.py
+++ b/mercurial/hg.py
@@ -103,6 +103,7 @@ def clone(ui, source, dest=None, pull=Fa
if dest is None:
dest = defaultdest(source)
+ ui.status(_("destination directory: %s\n") % dest)
def localpath(path):
if path.startswith('file://'):
--- a/tests/test-clone-failure.out
+++ b/tests/test-clone-failure.out
@@ -8,4 +8,5 @@ abort: destination '../a' already exists
255
abort: repository a not found!
255
+destination directory: q
abort: destination 'q' already exists
--- a/tests/test-clone.out
+++ b/tests/test-clone.out
@@ -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