diff -r 0ceea19182a9 -r bf9d55ed67f6 mercurial/commands.py --- a/mercurial/commands.py Fri Jul 01 09:01:07 2005 -0800 +++ b/mercurial/commands.py Fri Jul 01 09:04:50 2005 -0800 @@ -299,6 +299,7 @@ if not (source.startswith("http://") or source.startswith("hg://") or source.startswith("old-http://")): + source = os.path.abspath(source) d1 = os.stat(dest).st_dev d2 = os.stat(source).st_dev if d1 == d2: link = 1