You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Ian P. Cardenas" <ia...@srand.com> on 2004/05/06 17:18:58 UTC

'svnlook diff' fails when $TMPDIR contains symlinks

Hi,

Would someone please confirm this as a bug with svnlook in tag 1.0.2?

It's a problem for Mac OS X at least because /tmp itself is a symlink.

I searched the archives and the buglist but didn't find an existing 
issue documented.  Although Google found the following references to 
the problem.
http://www.contactor.se/~dast/svnusers/archive-2004-03/2094.shtml
http://www.contactor.se/~dast/svnusers/archive-2004-03/2128.shtml
http://www.contactor.se/~dast/svnusers/archive-2004-04/0326.shtml

patch against 1.0.2 is attached.

log demonstrating duplication and resolution of error follow.

WeaponX:/tmp/svn/subversion/svnlook srand$ uname -a
Darwin WeaponX.local 7.3.0 Darwin Kernel Version 7.3.0: Fri Mar  5 
14:22:55 PST 2004; root:xnu/xnu-517.3.15.obj~4/RELEASE_PPC  Power 
Macintosh powerpc
WeaponX:/tmp/svn/subversion/svnlook srand$ ./svnlook --version
svnlook, version 1.0.2 (r9423)
    compiled May  6 2004, 11:38:27

Copyright (C) 2000-2004 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet 
(http://www.Collab.Net/).

WeaponX:/tmp/svn/subversion/svnlook srand$ ./svnlook diff -r 3 
/usr/local/svn
svn: Error creating dir '/tmp' (path exists)
svn: Can't open file 
'/tmp/svnlook.1/project/trunk/docs/ClassDiagram.graffle': No such file 
or directory

WeaponX:/tmp/svn/subversion/svnlook srand$ ls -l /tmp
lrwxr-xr-x  1 root  admin  11 18 Oct  2003 /tmp@ -> private/tmp