Create space in repository

47 views
Skip to first unread message

Erik De Boeck

unread,
Jan 8, 2021, 1:12:25 PM1/8/21
to TortoiseSVN
Hi,

I've got a repository for a relatively small folder (less than 10 MB). However, the repository has seemed to fill itself.

I (being a total layman) assume this is because of all the old versions due to my constant uploading of new versions. So I want to clear up some space.

I've already deleted all the files via the "Repository Browser" (after copying them to a different local folder obviously), but at https://riouxsvn.com/repositories/ my repository is still listed as being 100 % full (50 MB).

How can I "clear" my repository, so I can start from 0 MB again, and upload my local folder as starting point.

Or am I looking at this entirely from the wrong angle?

Thanks in advance for your help!

Kind regards,

Erik

Daniel Sahlberg

unread,
Jan 9, 2021, 1:53:20 PM1/9/21
to TortoiseSVN
Hi,

The idea of a version control system is that you can "go back in time" to older file versions. Subversion tries to only save differences between old and new versions of a file, but if you are using binary files (images, zip files etc.) that's not possible and the whole file is being saved every time.

The only way to remove the old versions is to start over in a brand new repository. But you obviously loose all your history.

If the question is how to remove the repository altogether you'd better contact riouxsvn.com.

Kind regards,
Daniel

Erik De Boeck

unread,
Jan 10, 2021, 3:44:51 AM1/10/21
to TortoiseSVN
Thanks Daniel! I ended up deleting the repository, and then recreating it with the exact same name. So I can start all over again. :)

A bit bizarre that there wasn't a function to "clear" the repository, but it is what it is.

Op zaterdag 9 januari 2021 om 19:53:20 UTC+1 schreef daniel.l...@gmail.com:

Oskar Berggren

unread,
Jan 10, 2021, 3:56:24 AM1/10/21
to TortoiseSVN
Hi,

I don't think it can be considered bizarre. I wonder if you perhaps compare it to something like Google Drive or similar, where you store documents and each document can have their own version history but when you fully delete a document, it is gone, including all versions of it.

But Subversion, and indeed other version control systems, are designed for different use cases. Almost always the files are related to each other and an important use case is to look at how all the files appeared together a week or a year ago. It doesn't make sense to delete a single file and all old versions of it, because then looking at history would not show a complete picture. If the files were source code, the old version would no longer compile.

Different version control systems might offer various features to actually rewrite history, but doing so is normally considered special case functionality, used only in special circumstances and not part of normal operations.

--
You received this message because you are subscribed to the Google Groups "TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tortoisesvn...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn/5f5a9b6f-161a-4f4e-ae77-7c8178326e89n%40googlegroups.com.

Phil Seakins

unread,
Jan 10, 2021, 10:07:19 PM1/10/21
to TortoiseSVN
It's probably a bit late to be buying in on this discussion, especially as OP appears to have deleted his repository. However, SVN has facilities to export the repository. Then there are other tools to manipulate those exports. Then you import the manipulated files back into a fresh repository. I have in fact done just this to get rid of a large accidental commit. I didn't comment earlier because it's so long since I did it I forget how I did it. But it is simple enough to do and is just a matter of doing some google searches plus querying the help to find out how.
I am sorry OP has lost his repo, did you have a backup?

Reply all
Reply to author
Forward
0 new messages