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

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

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: 2006-03-08 18:22:54 CET

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
Received on Wed Mar 8 18:58:43 2006

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

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