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

Show log and deleted files

From: Magee, Glen <gimagee_at_sandia.gov>
Date: 2005-12-22 00:30:25 CET


I have encountered an unexpected behavior when using "Show log" from a
wc (it works fine from the repository browser). As I understand it,
"Show log" uses the HEAD revision as the default when requesting
information from the repository. So when I check out an older revision
of the repository and try to check the log for a file that does not
exist in the HEAD, I receive a "File not found" message. Perhaps the
default revisions for non-HEAD check-outs could be the requested
revision? That may cause other problems I have not considered, though.

To reproduce:
1) Check out a repository.
2) Add a new file, "test_file.txt".
3) Commit. Record the repository revision number.
4) Delete "test_file.txt".
5) Commit.
6) Check out the pre-delete revision of the repository (i.e., the
revision noted in step 3).
7) Right-click on "test_file.txt" and select TortoiseSVN->Show log.

Expected Behavior:
The pre-deletion log for the deleted file.

Actual Behavior:
"File not found".

The dialogue box doesn't even allow the selection of another revision
like the "Show log" dialogue from the repository browser does.

I can work around this behavior, but I thought I'd report it anyway.
Thanks for your time,

Glen Magee
Received on Sat Dec 24 23:50:40 2005

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

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