Diffing a moved file can fail
From: Dave Lawrence <dlawrence_at_ad-holdings.co.uk>
Date: Tue, 21 Oct 2008 09:47:42 +0100
Please see the attached script for a demo of how diffing a moved file
The diff of file1.c fails, the diff of file2.c succeeds, seemingly it's
Tested on WinXP SP3. SVN 1.5.0 - symptoms also observed on latest TSVN
REM My CWD is C:\SVN\tests
svnadmin create test_repo
cd test_wc
REM Create file first, then directory
REM Create directory first, then file
svn mv file1.c dir1
svn ci . -m"Files moved and modififed - modification isn't important but makes for a better demo"
svn diff dir1/file1.c -r PREV
---------------------------------------------------------------------
|
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.