清理SVN存储库,删除不需要的旧状态 [英] Cleaning the SVN repositories removing old states that are not needed

查看:612
本文介绍了清理SVN存储库,删除不需要的旧状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

在我们的服务器中,我们空间不足...:((

我们的存储库中有几件事占据了大量空间,因此不应该存在.

即,如果必须为客户制作CDROM,则将其放置在存储库中,当然,如果对其进行了版本控制,则将其另一个副本放置在存储库中.

此处使用subversion存储库的原因有两个:

1.分享:让其他用户访问网络中所需的文件.
2.上一个版本:忍受通过一个更新调用可以获得最新版本的代码.

在程序完成之前,版本历史记录很有趣,届时,能够浏览历史记录并删除某些版本(例如,从第一个版本到第10个版本)的更改会很有趣.直接能够删除一些旧文件.

有可能吗?

先感谢您! :thumbsup:

Hello all,

In our server we are getting out of space... :((

There are several things in our repositories that occupy a lot of space and that should not be there.

i.e. if a cdrom has to be made for the customer this is placed inside the repository and of course, if it gets versioned, then another copy of it is placed inside.

The subversion repository here is used for two reasons:

1. SHARE: getting the different users to access the desired files in the network.
2. LAST VERSION: endure that via an update call one can get the latest version of the code.

version history is interesting until the program has been finished, at that point, it would be interesting to be able to navigate the history and remove the changes for, let''s say some versions, or from the first to the 10th version, or directly being able to remove some old files.

Is that possible?

Thank you in advance! :thumbsup:

推荐答案

Subversion存储系统以及其他版本控制系统存储的本质是:您可以删除任何所需的信息,但是没有任何信息永远被删除.这是系统的重点.

是否有空间不足…做任何您想做的事,但不要放弃您的代码库历史记录.该存储库全都放在一个位置,您可以将其移动到任何其他磁盘上而没有任何风险.我认为与丢失代码库(甚至是历史记录)相比,新磁盘的成本要小得多.那是什么问题呢?

—SA
The nature of the Subversion storage system and probably other Revision Control System''s storage is this: you can delete whatever you want, but no information is deleted, ever. This is the whole point of the system.

Out of space or not… do whatever you want, but don''t give up your code base history. The repository is all in one place, you can move it on any other disk without any risk. I think the cost of new disk is ridiculously small compared to the cost of lost code base, even the history. So, what''s the problem?

—SA


这篇关于清理SVN存储库,删除不需要的旧状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆