# HG changeset patch # User Bryan O'Sullivan # Date 1123972911 28800 # Node ID a9b843b114f96b07cf0aabb1cec38d513591a07f # Parent 0a06d9d373c36be41166eaab1211f89da6779bf8 Fix clone when target directory is relative. diff -r 0a06d9d373c3 -r a9b843b114f9 mercurial/commands.py --- a/mercurial/commands.py Fri Aug 12 16:10:09 2005 -0800 +++ b/mercurial/commands.py Sat Aug 13 14:41:51 2005 -0800 @@ -463,6 +463,8 @@ ui.warn("abort: destination '%s' already exists\n" % dest) return 1 + dest = os.path.realpath(dest) + class Dircleanup: def __init__(self, dir_): self.rmtree = shutil.rmtree