[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Fwd: svn diff on dangling symlinks]

From: Bob Hiestand <bob.hiestand_at_gmail.com>
Date: 2006-11-30 18:21:04 CET

On 11/30/06, Svata Dedic <belgarat@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
Received on Thu Nov 30 18:21:48 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.