comparison mercurial/commands.py @ 1892:622ee75cb4c9

Directory names take precedence over symbolic names consistently. Previously this was only done for clone.
author Thomas Arendsen Hein <thomas@intevation.de>
date Sun, 12 Mar 2006 18:05:13 +0100
parents 468730910353
children 6569651a4f1e
comparison
equal deleted inserted replaced
1891:e5c8e38b788f 1892:622ee75cb4c9
716 if opts['ssh']: 716 if opts['ssh']:
717 ui.setconfig("ui", "ssh", opts['ssh']) 717 ui.setconfig("ui", "ssh", opts['ssh'])
718 if opts['remotecmd']: 718 if opts['remotecmd']:
719 ui.setconfig("ui", "remotecmd", opts['remotecmd']) 719 ui.setconfig("ui", "remotecmd", opts['remotecmd'])
720 720
721 if not os.path.exists(source): 721 source = ui.expandpath(source)
722 source = ui.expandpath(source)
723 722
724 d = Dircleanup(dest) 723 d = Dircleanup(dest)
725 abspath = source 724 abspath = source
726 other = hg.repository(ui, source) 725 other = hg.repository(ui, source)
727 726