[darcs-devel] [issue1078] darcs gets confused if the repodir has a symlink in it (2.0.3pre1)

Eric Kow bugs at darcs.net
Thu Sep 18 04:53:40 UTC 2008


New submission from Eric Kow <kowey at darcs.net>:

On MacOS X, the /tmp directory is actually a link to /private/tmp.  

If you untar the darcs 2.0.3pre1 tarball into /tmp and run make test in it, the
mv-formerly-pl.sh test fails when it tries to darcs mv `pwd`/abs_path.t
abs_path_new.t

Darcs refuses to do this because it does not recognise `pwd`/abs_path.t as a
repo path (because the repo path starts with /private/tmp).  The problem is that
darcs fails to recognise that when you are asking for /tmp/foo, you are really
asking for /private/tmp/foo.  I think this should be a simple matter of making
the path-fixing a tiny bit fancier.

----------
messages: 6040
nosy: dagit, droundy, kowey
priority: bug
status: unread
title: darcs gets confused if the repodir has a symlink in it (2.0.3pre1)
topic: ReleaseCritical_2.0.3

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1078>
__________________________________


More information about the darcs-devel mailing list