Re: "svn diff" doesn't work correctly if a file is replaced with a symlink locally
From: Dmitry Pavlenko <pavlenko_at_tmatesoft.com>
Date: Wed, 11 Jul 2018 16:13:06 +0200
Instead I would expect something with "-" and "+" markers. If you uncomment
and comment out "ln -s" call, the script will display approximately what I
I'm not sure if this is a known bug, sorry for reporting something known if it
Locally I also have similar scenario failing in another way: before reading
#1. Create an empty SVN repository.
svnadmin create "$REPOSITORY_PATH"
# 2. Add a file to the repository.
$SVN co $REPOSITORY_URL $WC_PATH
echo "content" > $WC_PATH/trunk/file
$SVN add $WC_PATH/trunk/file
# 3. Replace the file with a symlink pointing to nowhere (or to itself --- for
ln -s $NOWHERE $WC_PATH/trunk/file
# By the way: uncomment the following line and comment out the previous one
# 4. Create diff between repository HEAD and working copy:
$SVN diff --git $REPOSITORY_URL $WC_PATH
-- Dmitry Pavlenko, TMate Software, http://subgit.com/ - git-svn bridgeReceived on 2018-07-11 16:13:28 CEST
This is an archived mail posted to the Subversion Dev mailing list.