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

Re: How to view the history of a deleted file

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Thu, 25 Feb 2010 13:37:48 +0000

On 25 February 2010 12:20, Martin Bischoff <tinu44_at_gmail.com> wrote:
> How can I view the history of a file which no longer exists in the current revision of a repository?
>
> If I know in which revision the file was deleted, I can select that revision, then right-click the deleted file and select "Show log". But instead of the file's history I get an error "Datei nicht gefunden" ("File not found").

I'm guessing you did Show Log for the folder, found the revision where
the file was deleted and right-clicked on it in the bottom pane to
show log for the file. I get the same result, which seems like a bug.
It is using the WC revision rather than taking the revision being
viewed in the bottom pane. And for deleted items should it be the
revision before that?

> What if I know that a folder contained some file in the past, but I don't know in which revision it was deleted? Is there a way to view the history of that file?

Only to go through the folder history to find at which revision it was
deleted. once you know the last revision it existed in you can use
repo browser, select that revision, find the file and show log from
there.

An enhancement to repo browser would be that when set it to a much
older revision where I know the file definitely existed and show log
from there it would use that rev as a peg rev and get the entire
history of the file, before and after that revision. That may already
be done in trunk, but I don't have a trunk build here to test at the
moment.

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2452066
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-02-25 14:37:53 CET

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

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