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

Re: log across copies?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-07-30 05:22:48 CEST

Labanca, Rick wrote:

> Say I have the foo.c bug and I know its probably within the month. In
> that month foo.c had 4 changes on the trunk, but 5 changes in each of
> four other branches.
> With eclipse, I click for the history, and I get all the changes dumped
> in one list.

There's a concept here that I don't seem to be communicating well.

In your example, suppose you notice your 'trunk' copy of foo.c has a
bug, and as you say, 4 changes happened to foo.c on the trunk, and 5 on
other branches.

One of two things *must* be true:

   1. the buggy change happened on the trunk, or

   2. the buggy change happened on a branch, then the change was ported
to the trunk.

When you run 'svn log /trunk/foo.c', you see every change that ever
happened to the trunk-line of foo.c.

If #1 is true, then the log will include the buggy change.

If #2 is true, then nothing is different: the log will *still* show the
buggy change. The change will simply have more history behind it,
history that (if you wish) can trace back to a branch.

Either way, the procedure for finding the bug is the same. It's equally

If you had the ability to ask Subversion, "show me every change that
ever happened to foo.c on *any* branch anywhere" (just as you do with
'cvs history') you'd get a much larger log of changes, that's true --
but it's just extra noise that you don't need. It's *not* helping you
find the bug. Everything you need is already in the output of 'svn log

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 30 05:22:33 2004

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.