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

RE: Deleting files from revs

From: Méresse Christophe <christophe.meresse_at_nagra.com>
Date: 2007-01-13 11:32:16 CET

> -----Original Message-----
> From: lightbulb432 [mailto:veerukrishnan@hotmail.com]
> Sent: samedi, 13. janvier 2007 10:55
> To: users@subversion.tigris.org
> Subject: Deleting files from revs
>
>
>
> Let's say hypothetically you delete some files from the middle of the
> sequence of files in repository/db/revs or
> repository/db/revprops...what
> happens? Do you break your entire repository?

Yes, it will be corrupted

>
> If you have a million revisions of your work in the repository and you
> decide you don't need all changes more than a certain amount
> of time old. If
> you simply go and delete, say, the first 5000 files, I'm
> guessing you don't
> just remove the logs of those changes and versions, but
> rather break your
> repository because those files store diffs rather than the
> entire set of
> files, right?

Yes

> Is there a way that Subversion accounts for people wanting to
> get rid of
> several changes and make, say, revisions 1 through 10,000
> merged into one
> file representing the state at revision 10,000 only...do you
> understand what
> I'm saying? I'd guess (even with Subversion's efficient
> storage) that there
> are people who don't need outdated version info beyond a
> certain revision or
> date, and would like to retrieve some of that disk space...

You have to dump you repository with the "-r LOWER" option ("-r 10000" in this case).
And then recreate a new repository and load your dump.

> What goes in repository/db/transactions? It always seems to
> be empty...

I think it's not empty during the transactions (commit) and I think that pending transaction are stored there (not certain)

> Thanks.

Regards
Christophe

> View this message in context:
http://www.nabble.com/Deleting-files-from-revs-tf2970750.html#a8312765
Sent from the Subversion Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jan 13 11:32:36 2007

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