i18n: merge with pt_BR
authorMartin Geisler <mg@lazybytes.net>
Thu, 13 Aug 2009 20:11:16 +0200
changeset 9497 91b9a06088da
parent 9344 eb6af02307ec (diff)
parent 9496 02c27a451cbf (current diff)
child 9498 744cb8e93936
i18n: merge with pt_BR
--- a/mercurial/hg.py	Wed Aug 12 10:26:17 2009 -0300
+++ b/mercurial/hg.py	Thu Aug 13 20:11:16 2009 +0200
@@ -89,6 +89,8 @@
 
     if not dest:
         dest = os.path.basename(source)
+    else:
+        dest = ui.expandpath(dest)
 
     if isinstance(source, str):
         origsource = ui.expandpath(source)
@@ -189,6 +191,8 @@
     if dest is None:
         dest = defaultdest(source)
         ui.status(_("destination directory: %s\n") % dest)
+    else:
+        dest = ui.expandpath(dest)
 
     dest = localpath(dest)
     source = localpath(source)