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

Re: "svn log" doesn't show rev in which item was deleted

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2005-10-07 21:58:31 CEST

"C. Michael Pilato" <cmpilato@collab.net> writes:

> Julian Foad <julianfoad@btopenworld.com> writes:
>
> > Look: "svn log" says a file was modified and then added with nothing
> > in between. That can't be true.
> >
> > > ~/src/subversion> svn log www/project_tools.html -vq -r13763:14343
> > > ------------------------------------------------------------------------
> > > r13763 | maxb | 2005-03-30 01:45:59 +0100 (Wed, 30 Mar 2005)
> > > Changed paths:
> > > M /trunk/www/project_tools.html
> > > ------------------------------------------------------------------------
> > > r14341 | maxb | 2005-04-20 22:41:37 +0100 (Wed, 20 Apr 2005)
> > > Changed paths:
> > > A /trunk/www/project_tools.html (from /trunk/www/project_tools.html:14339)
> > > ------------------------------------------------------------------------
>
> Look more closely. It says it was modified, and then *copied* atop
> itself with nothing in between. That's quite possible (though I'd be
> interested in knowing what hoops the client jumped through to get into
> that state).

Ahem. Let me finish my thought.

Because r14341 was a copy, the history walk on project_tools.html
jumps back to r14339 (the copy source), bypassing r14340 (in which it
was deleted). And then it continues back through r13763.

This is not a bug -- 'svn log' does versioned resource history-based
reporting, not path-based reporting. Sometimes I think it should take
an option to do path-based reporting, but that's neither here nor there.

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 7 22:00:08 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.