Mercurial > hg
changeset 9497:91b9a06088da
i18n: merge with pt_BR
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Thu, 13 Aug 2009 20:11:16 +0200 |
parents | eb6af02307ec (diff) 02c27a451cbf (current diff) |
children | 744cb8e93936 |
files | |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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)