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

Re: [TSVN] [BUG] cannot save revision from log dialog for deleted file

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-08-09 19:34:12 CEST

Benoit Cerrina wrote:
> What I did
> From the repo browser, I displayed an older revision of the
> directory, this gave me access to a deleted file
> Right click on this file and select show log.
> In the log select a revision (536), right click and select "Save
> revision To"
> Choose a directory and file name
> What it did
> Output an error message indicating that the file doesn't exists in
> revision 561 (which is true but irrelevant), error dialog attached.
> The chosen file was created but empty
> What I expected
> The appropriate revision is saved in the appropriate directory

Well, the appropriate revision *was* saved in the directory. Think about
it: you saved the file from the revision in which the file was deleted,
i.e. the file didn't exist anymore. So a file with 0 bytes is what you
should expect.

But I changed it so that deleted files get saved from rev-1 (the last
revision the file still existed).
Done in revision 4107.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Aug 9 19:34:34 2005

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