You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Luke Diamand <lu...@diamand.org> on 2006/03/04 18:29:25 UTC

file was removed - history has gone with it???

I have a file in a repository that has been svn removed at some stage in 
the last few days.

I'd like to know who removed it and why.

If I update it to the version just prior to its removal (1280) then "svn 
log" seems only to report the changes prior to its removal - i.e. not 
the change I want.

If I update it to the version where it has been removed (1281) then svn 
just tells me the file is not under revision control (which is clearly 
untrue).

If I do "svn log" on the entire directory, then there is no sign of any 
comments about this change.

What gives?

Luke Diamand


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

Re: file was removed - history has gone with it???

Posted by Duncan Murdoch <mu...@stats.uwo.ca>.
On 3/4/2006 1:29 PM, Luke Diamand wrote:
> I have a file in a repository that has been svn removed at some stage in 
> the last few days.
> 
> I'd like to know who removed it and why.
> 
> If I update it to the version just prior to its removal (1280) then "svn 
> log" seems only to report the changes prior to its removal - i.e. not 
> the change I want.
> 
> If I update it to the version where it has been removed (1281) then svn 
> just tells me the file is not under revision control (which is clearly 
> untrue).

The fact that it was present in 1280 and is gone in 1281 tells you which 
revision removed it.  So you could do

svn log -r1281 -v

and see everything that happened in that revision, along with the log 
messages.  Do this from the directory where the file used to live, or 
from higher up in the tree, because a removal of a file is a 
modification to the directory, not to the file.

> 
> If I do "svn log" on the entire directory, then there is no sign of any 
> comments about this change.
> 
> What gives?

I imagine whoever deleted the file forgot to log why, but the -v will at 
least tell you who it was, what they did, and what log message they used.

Duncan Murdoch

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


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