You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by ri...@cox.net on 2004/07/29 15:40:41 UTC

log across copies?

IF I do an svn log on a file I only see the history for the copy/branch I am in, not others.

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!

So I am  missing this in svn. I tried to see if files had internal oid's I could find and search on, but no luck.

With svn, since a file can literally move around, be renamed etc, how do you see these kinds of things across the whole history? I must be missing something.

rick



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: log across copies?

Posted by Ben Collins-Sussman <su...@collab.net>.
On Thu, 2004-07-29 at 10:40, rickla1@cox.net wrote:
> IF I do an svn log on a file I only see the history for the
> copy/branch I am in, not others.

Yes, that's how it's supposed to work.  A file can have multiple lines
of development. 

/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.  

'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