Show the destionation for clone if not specified manually.
authorThomas Arendsen Hein <thomas@intevation.de>
Sat, 09 Dec 2006 14:19:52 +0100
changeset 3841 aaeb7f5d1052
parent 3840 973c6e6ca7a1
child 3842 47c634bf1e92
Show the destionation for clone if not specified manually.
mercurial/hg.py
tests/test-clone-failure.out
tests/test-clone.out
--- 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