changeset 10100:be442c7d84b4

Merge with stable
author Brendan Cully <brendan@kublai.com>
date Sat, 19 Dec 2009 22:56:01 -0800
parents c7eeec114d99 (current diff) f5e46dfb38c7 (diff)
children 155fe35534d3
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hg.py	Sat Dec 19 13:10:46 2009 +0100
+++ b/mercurial/hg.py	Sat Dec 19 22:56:01 2009 -0800
@@ -88,7 +88,7 @@
         raise util.Abort(_('can only share local repositories'))
 
     if not dest:
-        dest = os.path.basename(source)
+        dest = defaultdest(source)
     else:
         dest = ui.expandpath(dest)