# HG changeset patch # User Thomas Arendsen Hein # Date 2006-12-09 13:19:52 # Node ID aaeb7f5d1052621b7af1df9b7a5775662b5bf627 # Parent 973c6e6ca7a1711c80a57591a89d71465a3fbc3e Show the destionation for clone if not specified manually. diff --git a/mercurial/hg.py b/mercurial/hg.py --- 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://'): diff --git a/tests/test-clone-failure.out b/tests/test-clone-failure.out --- 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 diff --git a/tests/test-clone.out b/tests/test-clone.out --- 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