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

Re: How does log translate to diff

From: <kfogel_at_collab.net>
Date: 2003-09-01 16:38:30 CEST

Marc Singer <elf@buici.com> writes:
> OK. But why does it generate a diff betwee revision 0 and revision 1163?

That sounds like just a bug, and a serious one too. (By the way, it
would help to include the relevant context from your original mail --
I happeed to still have a copy, so I went back and looked at it.)

Have you determined that the diff is actually between r0 and r1163, or
is it just a matter of the diff labels being incorrect (i.e., it
claims to be from r0 to r1163, but in fact it shows the difference
between r831 and r1163)?

Either way it's still a bug, but the first way would be a more severe
bug. If you could file an issue, ideally with a reproduction case,
that would be great. If you can't construct a reproduction case, but
your current repository is not private, then we can just use that
data.

Of course, all this assumes that you're encountering the bug with the
latest Subversion, 0.28.2... Oh, which has apparently not gotten to
the end of the release process yet. Well, just update to HEAD of
Subversion and use that. (If you were running 0.27 or lower, this may
involve a repository dump and load, see
http://subversion.tigris.org/project_faq.html#dumpload).

Below I've included the context from your original mail, so it's clear
to others what we're talking about.

-Karl

> 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 Mon Sep 1 17:23:54 2003

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.