[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-29 21:23:48 CEST

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
Received on Thu Jul 29 21:25:58 2004

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