Hello!

(This is TortoiseSVN's command line client
   svn, version 1.7.7 (r1393599)
   compiled Oct  8 2012, 18:39:05, 
 belonging to 
   TortoiseSVN 1.7.10, Build 23359 - 32 Bit , 2012/10/08 11:46:26
 on Windows XP, if that makes a difference)

I deleted a file a.txt in revision 1186.
 
        svn log a.txt 
gives 
        svn: E160013: File not found: revision 1197, path '/...
which is not surprising.
 
But what is the canonical way of getting the latest log of this file?
 
svn log a.txt@1100 gives me the history up to rev. 1100
svn log a.txt@1185 gives me the history up to rev. 1185 (which ends at rev 
1132, no newer changes)
svn log a.txt@1186 gives me a file not found error.

Question 1:
How do I get the complete newer history for a.txt@1100?

>From the help text I thought 
svn log a.txt@1100 -r HEAD:1 or something like that shoud do it, but
as the file is not present in HEAD I get a file not found error for all
-r parameters involving HEAD that I tried.


Question 2:
Tortoise SVN has a log view where all files changed in a revision, 
including this deleted one, are shown. (At the moment I do not need to know
how this can be done with command line svn.)
I can get a log for this file from there, but this log stops at revision 1132.

Is my observation correct that the log information for a file
does not include it's deletion?

Is this a good idea? Or am I missing something?

How would one answer the question "when was file a.txt deleted, which 
was present in revision 1100 and is missing now"?

I would expect that the lifecycle of a file in subversion starts with it's 
addition and stops with it's deletion, and that the full log includes both,
but this does not seem to be the case?

Thank you for your time.

Hartmut

 

 
 

Mit freundlichen Grüßen
Dr. Hartmut Niemann 

Siemens AG 
Infrastructure & Cities Sector
Rail Systems Division
Locomotives and Components 
IC RL LOC EN LE 8 
Werner-von-Siemens-Str. 67 
91052 Erlangen, Deutschland 
Tel.: +49 9131 7-34264 
Fax: +49 9131 7-26254 
mailto:hartmut.niem...@siemens.com 

Siemens Aktiengesellschaft: Vorsitzender des Aufsichtsrats: Gerhard Cromme; 
Vorstand: Peter Löscher, Vorsitzender; Roland Busch, Brigitte Ederer, Klaus 
Helmrich, Joe Kaeser, Barbara Kux, Hermann Requardt, Siegfried Russwurm, Peter 
Y. Solmssen, Michael Süß; Sitz der Gesellschaft: Berlin und München, 
Deutschland; Registergericht: Berlin Charlottenburg, HRB 12300, München, HRB 
6684; WEEE-Reg.-Nr. DE 23691322 


Reply via email to