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

[BUG] svn diff header

From: Ben Reser <ben_at_reser.org>
Date: 2003-12-23 08:51:38 CET

svn diff if diffing between a rev that the file doesn't exist in and a
working copy with modifications returns a header showing the "old" file
as revision 0 and the "new" file as whatever your BASE is.

duplication recipe:

svn co http://svn.collab.net/repos/svn/trunk/subversion/bindings/swig/perl/t/
modify the 1repos.t file
svn diff -r 6750 1repos.t

You'll get this as the output:
===================================================================
--- 1repos.t (revision 0)
+++ 1repos.t (revision 8072)
[snip]

Increasing the rev by one gives:
--- 1repos.t (revision 6751)
+++ 1repos.t (working copy)

The diff is correct in both cases. Just the header is wrong.

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 23 08:52:14 2003

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

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