You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Svata Dedic <be...@mail.klfree.net> on 2006/11/30 07:27:14 UTC

[Fwd: svn diff on dangling symlinks]

Repost... no response so far, but still need to find an answer (if exists).


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

Re: [Fwd: svn diff on dangling symlinks]

Posted by Bob Hiestand <bo...@gmail.com>.
On 11/30/06, Svata Dedic <be...@mail.klfree.net> wrote:
> I am storing symlinks into a svn repository, some of them may be
> dangling on other machines, which can check out the project contents
> (they refer e.g. to local files on a server, outside of the svn project).
> When I attempt to svn diff the working copy against an older revision,
> the svn command dies in the middle with "Can't open file" error as soon
> as it encounters a dangling symlink and the diff output is truncated.

Untested:  you could specify a custom diff command (using --diff-cmd)
that tests for and doesn't follow symlinks, then invokes an actual
diff command on files.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org