comparison mercurial/commands.py @ 1233:5381b0d88e9e

Fix abort message for clone
author mpm@selenic.com
date Tue, 13 Sep 2005 14:18:18 -0500
parents 2eb1cd695dd2
children 6a4f181497c9
comparison
equal deleted inserted replaced
1232:eb3cc5e2eb89 1233:5381b0d88e9e
590 """make a copy of an existing repository""" 590 """make a copy of an existing repository"""
591 if dest is None: 591 if dest is None:
592 dest = os.path.basename(os.path.normpath(source)) 592 dest = os.path.basename(os.path.normpath(source))
593 593
594 if os.path.exists(dest): 594 if os.path.exists(dest):
595 raise util.Abort("destination '%s' already exists") 595 raise util.Abort("destination '%s' already exists", dest)
596 596
597 dest = os.path.realpath(dest) 597 dest = os.path.realpath(dest)
598 598
599 class Dircleanup: 599 class Dircleanup:
600 def __init__(self, dir_): 600 def __init__(self, dir_):