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

Diff between BASE and PREV header problem

From: Bram Senders <bram_at_luon.net>
Date: 2004-08-31 19:36:14 CEST

Hi all,

I've got a little problem when doing a diff between the BASE and PREV
revisions of a repository. When I do a diff from PREV to BASE, the diff
header correctly shows that this is a diff from PREV (revision 7) to
BASE (working copy):

$ svn diff -rPREV:BASE myfile|head -n4
Index: myfile
===================================================================
--- myfile (revision 7)
+++ myfile (working copy)

Yet when I diff from BASE to PREV, the diff header shows incorrectly
that is is a diff from revision 7 to the working copy, while it is
actually the other way around:

$ svn diff -rBASE:PREV myfile|head -n4
Index: myfile
===================================================================
--- myfile (revision 7)
+++ myfile (working copy)

Here, I think "revision 7" should be "working copy" and the other way
around. The actual contents of the diff do confirm to the given
parameters. Diffs with other parameters also work correctly. This is
using Subversion 1.0.6.

Does anyone know whether this is a real bug, or something that I did
wrong? Any help is appreciated.

- Bram

P.S.: Please CC me when replying to the list.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 31 21:31:54 2004

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