changeset 3841:aaeb7f5d1052

Show the destionation for clone if not specified manually.
author Thomas Arendsen Hein <thomas@intevation.de>
date Sat, 09 Dec 2006 14:19:52 +0100
parents 973c6e6ca7a1
children 47c634bf1e92
files mercurial/hg.py tests/test-clone-failure.out tests/test-clone.out
diffstat 3 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hg.py	Sat Dec 09 14:00:36 2006 +0100
+++ b/mercurial/hg.py	Sat Dec 09 14:19:52 2006 +0100
@@ -103,6 +103,7 @@
 
     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	Sat Dec 09 14:00:36 2006 +0100
+++ b/tests/test-clone-failure.out	Sat Dec 09 14:19:52 2006 +0100
@@ -8,4 +8,5 @@
 255
 abort: repository a not found!
 255
+destination directory: q
 abort: destination 'q' already exists
--- a/tests/test-clone.out	Sat Dec 09 14:00:36 2006 +0100
+++ b/tests/test-clone.out	Sat Dec 09 14:19:52 2006 +0100
@@ -11,5 +11,6 @@
 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