Hello Subversion users,
am not able to diff a svn copied file. IMHO file1c.txt remembers his
origin, so it should be possible to track all changes of file1c.txt back
to rev. 1 of file1.txt. Please look what i did:
--- snip ---
D:\test\repo>echo line1 > file1.txt
D:\test\repo>svn add file1.txt
A file1.txt
D:\test\repo>svn ci -m "line1 added"
Adding file1.txt
Transmitting file data .
Committed revision 1.
D:\test\repo>echo line2 >> file1.txt
D:\test\repo>svn ci -m "line2 added"
Sending file1.txt
Transmitting file data .
Committed revision 2.
D:\test\repo>svn copy file1.txt file1c.txt
A file1c.txt
D:\test\repo>svn ci -m "file1 copyed to file1c"
Adding file1c.txt
Committed revision 3.
D:\test\repo>echo line3 >> file1c.txt
D:\test\repo>svn ci -m "line3 added"
Sending file1c.txt
Transmitting file data .
Committed revision 4.
D:\test\repo>svn log file1c.txt
------------------------------------------------------------------------
r4 | arugir | 2004-06-23 15:04:24 +0200 (Wed, 23 Jun 2004) | 1 line
line3 added
------------------------------------------------------------------------
r3 | arugir | 2004-06-23 14:17:50 +0200 (Wed, 23 Jun 2004) | 1 line
file1 copyed to file1c
------------------------------------------------------------------------
r2 | arugir | 2004-06-23 14:17:03 +0200 (Wed, 23 Jun 2004) | 1 line
line2 added
------------------------------------------------------------------------
r1 | arugir | 2004-06-23 14:16:30 +0200 (Wed, 23 Jun 2004) | 1 line
line1 added
------------------------------------------------------------------------
D:\test\repo>svn di -r2:4 file1c.txt
svn: 'file:///D:/repo/file1c.txt' was not found in the repository at
revision 2
--- snap ---
svn log is able to track the history for file1c.txt down to r1. But svn
diff ist not!
Thank you very much for any hints.
mike
Received on Wed Jun 23 18:17:51 2004