Subject: bug#13826: Bug#701711: emacs24: svn support fails in a symlinked directory

From: Glenn Morris <[email-masked]>
Date: Wed, 27 Feb 2013 03:24:14 -0500

>> vc-update and other vc-*-commands fail to detect an svn controlled
>> directory when the directory is a symlink to an svn controlled
>> directory.

Works fine for me. Please give a complete recipe starting from emacs -Q.

Here's mine, using svn 1.7.8. I assume you are talking about
subdirectories, otherwise it makes no sense.

cd /tmp
svnadmin create repo
mkdir -p proj/sub/dir
cd proj
touch 1 sub/2 sub/dir/3
svn import . file:///tmp/repo/proj/trunk -m 'import'
cd ../
rm -rf proj
svn checkout file:///tmp/repo/proj/trunk proj
svn checkout file:///tmp/repo/proj/trunk proj2
cd proj2
echo foo >> sub/dir/3
svn commit -m "change" sub/dir/3
cd ../

ln -s proj/sub/dir

emacs-24.2 -Q dir/3 &    # visit file via linked directory

"Followed link to /tmp/proj/sub/dir/3" appears in echo-area.
SVN-1 appears in mode-line.

M-x vc-update

-> file is updated with "foo"