[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: <rickla1_at_cox.net>
Date: 2004-07-29 21:34:49 CEST

> /branches/mybranch/foo.c is a different object from /trunk/foo.c. They
> may have been the same object at an earlier time, but then the object
> "forked" into two lines of development.

That may be true, but if you're saying they are disconnected such that somehow I can't see that they are realted, that's a loss from cvs. True in cvs they get disconnected when moved, but not when tags or branches are made.

And when the object eventually goes back to the trunk, it sounds like there will be a "hole" for all the branch changes?

So let me ask my question a different way. How can you audit all the changes that have gone on in a file if it's been copied and returned back to the trunk? I mean, one question I always have to ask in a repository is when was this line of code changed? How do you even know where all the copies of an object are/were?

> 'svn log' shows the history of the object you're asking about: that
> means showing things that happened to the object by walking backwards in
> time along its line of development, eventually showing changes that
> happened before the line was 'forked'.
>
> >
> > I am using eclipse and with cvs, the history command shows me all
> > changes to a file so I can see what is happening on a timeline in the
> > trunk and elsewhere, not just my changes. In fact my changes are the
> > last thing I need to know about usually!
>
> svn has no 'history' command... nor 'history' log in the repository.
> There's no way to have svn show you every change to every copy/fork of a
> file. That's because when a file is copied, the copy is a new object
> with only a shared past.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jul 29 21:35:27 2004

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