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

RE: Avoid Deletion of File in Subversion!

From: <prasad.tengali_at_wipro.com>
Date: 2007-04-12 06:32:43 CEST

Hi Andy,

So can you tell how do I recover a file once it is deleted?

Regards,
Prasad

-----Original Message-----
From: Andy Levy [mailto:andy.levy@gmail.com]
Sent: Thursday, April 12, 2007 3:35 AM
To: Prasad Tengali (WT01 - Embedded Systems)
Cc: users@subversion.tigris.org
Subject: Re: Avoid Deletion of File in Subversion!

On 4/10/07, prasad.tengali@wipro.com <prasad.tengali@wipro.com> wrote:
>
>
> Hi All,
>
> I have been using Subversion for over 6 months now and of late I am
pondering over one question:
> "Is it possible to restrict a user to delete a file in Subversion".
>
> Kindly let me know if anyone of you has a way out here.

Out of the box, no. A delete is the same as a write, so if the user
still needs write permission, they can delete.

A pre-commit hook script like svnperms.py allows more fine-grained
control of things like this.

But remember, even if someone does delete a file, it's not really gone.
It can be recovered from the repository - it's just no longer visible at
the HEAD revision.

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 12 06:35:05 2007

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