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

How does log translate to diff

From: Marc Singer <elf_at_buici.com>
Date: 2003-08-30 18:59:44 CEST

I'm trying to understand how I can interpret log entries and fetch
diffs accordingly.

Here is what the log says:

  elf_at_florence ~...coastal/src > svn log file:///svn/coastal/tags/V_0_81/build/GNUmakefile.rules.in
  ------------------------------------------------------------------------
  rev 1163: unknown | 2003-08-29 14:50:15 -0700 (Fri, 29 Aug 2003) | 1 line
  
  This commit was manufactured by cvs2svn to create tag 'V_0_81'.
  ------------------------------------------------------------------------
  rev 831: elf | 2002-09-30 09:07:03 -0700 (Mon, 30 Sep 2002) | 2 lines
  
  Adding support for GCC3.2

I'd interpret this to mean that one line changed between these two
revisions. However, when I ask for a diff, I don't get what I expect.

> svn diff -r831:1163 file:///svn/coastal/tags/V_0_81/build/GNUmakefile.rules.in

  Index: GNUmakefile.rules.in
  ===================================================================
  --- GNUmakefile.rules.in (revision 0)
  +++ GNUmakefile.rules.in (revision 1163)
  @@ -0,0 +1,249 @@
  +# GNUmakefile.rules -*- Makefile -*-
  +# $Id: GNUmakefile.rules.in,v 1.6 2002/09/30 16:07:03 elf Exp $
  +#
  +# NOTES
  +# -----

Why does svn pull the base revision as 0 when the diff command
requests otherwise?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Aug 31 21:15:11 2003

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