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

AW: SVN - restriction to checkout only the latest version

From: Markus Schaber <m.schaber_at_3s-software.com>
Date: Tue, 24 May 2011 08:02:51 +0200

Hi, Rado,

> Von: [radoo] [mailto:ondas.radovan_at_gmail.com]
>
> I have a question whether subversion has possibility to allow checkout
> only the latest version of the repository.

No.
 
> My idea is (due to security) to allow only access only to the latest
> revision of the file stored in subversion repository.

My gut feeling is that if you try to base security on an assumption like
this, something in your security design is fundamentally broken.

> Or is there an option to set which would tell to keep only the latest
> version or last 10 versions?

You can either dump the repository from that revision, and then build a
new repository from the dump. Maybe svndumpfilter can also help.

If your problem is that you accidentally committed some files into the
repository which should not be seen by anyone, that your problem could
be solved by an action like that.

Maybe you try to describe us the problem you want to solve, and then we
can help you to find a (better) solution?

Best regards

Markus Schaber

___________________________
We software Automation.

3S-Smart Software Solutions GmbH
Markus Schaber | Developer
Memminger Str. 151 | 87439 Kempten | Germany | Tel. +49-831-54031-0 |
Fax +49-831-54031-50

Email: m.schaber@3s-software.com | Web: http://www.3s-software.com
CoDeSys internet forum: http://forum.3s-software.com
Download CoDeSys sample projects:
http://www.3s-software.com/index.shtml?sample_projects

Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner |
Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915
Received on 2011-05-24 08:03:30 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.