# HG changeset patch # User Martin Geisler # Date 1250187076 -7200 # Node ID 91b9a06088da2c11e295fc8bd87089c4bab895c4 # Parent eb6af02307ec47162c464695b545afc46c7c11c9# Parent 02c27a451cbf14a31515f9dc5092748ff69ac86e i18n: merge with pt_BR diff -r 02c27a451cbf -r 91b9a06088da mercurial/hg.py --- 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)