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

Re: delting old revision files from repo will only delete the headrevision,plus filename case problem

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2005-11-27 00:30:57 CET

h.larsen@risoe.dk wrote:
> I came across the following (for me) surprising behaviour:
> Repository looks like this with only two files Fa and Fb, just for
> simplicity:
> Revision 1: Fa:1; Fb:1;
> Revision 2: Fa:2; Fb:1;
> Revision 3: Fa:3; Fb:1;
> Revision 4: Fa:4; Fb:1;
> If I open repobrovser into revision 1 and delete Fa:1 (using delete
> button) I get the following repository:
> Revision 1: Fa:1; Fb:1; <-- Fa:1 is still there although I deleted it
> Revision 2: Fa:2; Fb:1;
> Revision 3: Fa:3; Fb:1;
> Revision 4: Fa:4; Fb:1;
> Revision 5: Fb:1; <-- Fa:4 is gone in stead!
> I.e. I thought to delete Fa:1 but I deleted the head version of Fa! In
> fact, Fa:1 disappears from the repro-browser file list right after
> delete, but re-opening the repo-browser reveals its still present in rev
> 1.
> I would argue that TSVN is somewhat misleading the user here, because it
> deletes, without warning, a different file as the one I was expecting to
> delete, and it removes the file from the file-list, whereas the file
> actually remains.

I agree, the delete option should only appear when viewing the HEAD

> I guess I still have stuff to learn here, but to me it seems not
> possible to get rid of old revisions. Right?

You cannot delete *any* historical data. That is the purpose of a
revision control system to preserve data. The only way to do it is
described in the subversion book, and requires that you dump the
repository, use svndumpfilter, then reload it.

> You will probably ask why I would want to delete old versioned files.
> The reason is that I have got a repository haunted by duplicate file
> names differing only in case. When I checkout one of the old revisions,
> I get the (in)famous "missing file" error. So I simply thought to get
> rid of the ones with the "wrong" name. But that does not seem to be
> possible. So I basically cant checkout these revisions, or can I?

I think you are right. It is not possible, at least on windows, to check
out a complete revision which contains files differing only in case. Of
course you can do "Save as..." from the repo browser.


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Sat Nov 26 23:32:19 2005

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.