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

Re: Re: log across copies?

From: Rick LaBanca <rickla1_at_cox.net>
Date: 2004-07-30 01:00:14 CEST

This will do, it's just not as easy as cvs because as you said, you see the
changes from the branch once merged, but you won't see the detail of those
in the branch, unless like you say you hunt it down. Is the only way to know
it was changed in a branch from the log comment?

I can get by doing this since our branches aren't huge in their own
revisions anyway. I guess I'm not used to the concept that a file put into a
branch or tag is no longer the same file.

> > I don't know any other way of putting this. I realize all of what you're
> > saying. But when debugging code, and I find a chunk changed in one file,
> > way to quickly see when it changed is invaluable.
> Running 'svn log foo.c' will show you every change ever made to the file
> in question. Nothing will be left out. If the file exists on another
> branch, you won't see the changes over on that other branch; but that's
> fine, because those changes aren't in your copy of foo.c.
> If, however, somebody merged changes from the other branch to your own
> branch, and those changes included edits to foo.c, then 'svn log foo.c'
> *will* show those changes. They've been "ported" to your branch. And
> if somebody wrote a good log message ("ported rXYZ from branch to
> trunk"), then you can even hunt down the original change before it was
> ported.
> In any case, 'svn log foo.c' shows you every change ever made to the
> file in front of you. You can then 'svn diff -r X-1:X foo.c' to your
> heart's content and look at every line-by-line commit to the file. You
> can also run 'svn blame' (as someone mentioned), which is the equivalent
> of 'cvs annotate', if you curious who wrote each line in the file.
> What I'm not understanding is what's missing here. How is this
> insufficent for bug hunting?

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 30 01:00:28 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.