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

Re: no revision log on file that was moved here

From: Neels J. Hofmeyr <neels_at_elego.de>
Date: Thu, 23 Oct 2008 10:39:04 +0200

So, no replies on this? I think it deserves some attention because it
affects `svn log' usability of moved files...

~Neels

Neels J. Hofmeyr wrote:
> Hi all,
>
> there are plenty of posts about log on moved files, but I don't see this
> particular case complained about anywhere:
>
> I have a file that was some time ago `svn move'd to my current directory.
> `blame' tells me that some line is from revision N. I run `svn log -r N' but
> get an empty log message!?
>
> I then cd to my working copy root, run the same log command and voilà,
> there's the log message. Here's a transcript using a working copy of trunk,
> and also using the svn client compiled from trunk:
>
> [[[
> At revision 33739.
>
> neels_at_dub:/arch/elego/svn/trunk
> $ cd subversion/tests/cmdline/
>
> neels_at_dub:/arch/elego/svn/trunk/subversion/tests/cmdline
> $ svn blame tree_conflict_tests.txt
> [...]
> 31016 sbutler ==============
> 31016 sbutler Current Status
> 31016 sbutler ==============
> [...]
>
> neels_at_dub:/arch/elego/svn/trunk/subversion/tests/cmdline
> $ svn log -r 31016
> ------------------------------------------------------------------------

"Log is empty!? But the file is right here!"

>
> neels_at_dub:/arch/elego/svn/trunk/subversion/tests/cmdline
> $ cd ../../..
>
> neels_at_dub:/arch/elego/svn/trunk
> $ svn log -r 31016
> ------------------------------------------------------------------------
> r31016 | sbutler | 2008-05-04 15:28:21 +0200 (Sun, 04 May 2008) | 9 lines
>
> Add a note describing the generic tree-conflict testing framework
> created by julianfoad on the tree-conflicts branch in r30536.
>
> * notes/tree-conflicts/testing.txt
> New file.
>
> Approved by: stsp
>
>
> ------------------------------------------------------------------------

"Oh, if I happen to go where the file came from, it shows the log after all.
But subversion knows that my file was moved, why can't I see this same log
at the move destination?"

> ]]]
>
> This seems to be a missing feature.

And a usability bug.

>
> ~Neels
>

-- 
Neels Hofmeyr -- elego Software Solutions GmbH
Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23458696  mobile: +49 177 2345869  fax: +49 30 23458695
http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelsreg: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194

Received on 2008-10-23 10:39:29 CEST

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