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

Re: Can I prevent a file from being modified?

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: Fri, 22 Jul 2011 11:50:35 -0500

On 7/22/2011 11:36 AM, David Weintraub wrote:
>
> This allows you to add in directories directly under the "tags"
> directory via an "svn cp", but you can't add anything under those
> directories.
>
> I don't make a distinction between files, and directories. It is
> possible to use "svn add" to add in empty directories and files
> directly under the /tags directory, so it's not entirely secure from
> maliciousness. However, it really wouldn't do anything more than be
> annoying and since this is version control, the culprit could easily
> be caught.

Yes, the revision control part is always there. While we tend to use
tags to get simple human-generated, human-readable names for specific
revisions (through the convention of never committing changes there),
all you really have to do to be sure you have a particular version is
use the path_at_revision syntax in your workflow. It is impossible for
that to ever be changed through subversion client operations.

-- 
   Les Mikesell
    lesmikesell_at_gmail.com
Received on 2011-07-22 18:51:14 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.