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

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

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2005-10-07 21:43:07 CEST

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)
> ------------------------------------------------------------------------

(I deleted a few irrelevant lines from the above.)

In reality, it was deleted in r14340:

> ~/src/subversion> svn log -vq -r14340
> ------------------------------------------------------------------------
> r14340 | maxb | 2005-04-20 22:35:48 +0100 (Wed, 20 Apr 2005)
> Changed paths:
[...]
> D /trunk/www/project_tools.html
> ------------------------------------------------------------------------

It wasn't touched in r14339.

I think there is a bug: "svn log" is failing to show a log entry in which the
file was affected. I realise this is complicated by the lack of support for
peg revision and the question of whether it should be following the ancestry of
the item. I realise also that we can't presently log a deleted file at all
(because we can't give a peg) unless it has been resurrected. Nevertheless
this looks like a bug independent of that deficiency.

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 7 21:46: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.