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

RE: AW: Temporary commit block on a file

From: Thompson, Graeme (AELE) <Graeme.Thompson_at_smiths-aerospace.com>
Date: 2007-10-11 17:48:18 CEST

Another option is to require a lock on a file before committing, you will want to write a pre commit hook script to enforce that a lock is required to commit a file.

This would make you think about what files to really *meant* to change.....

> -----Original Message-----
> From: Felix Gilcher [mailto:felix.gilcher@exozet.com]
> Sent: 11 October 2007 16:40
> To: Ajay Gautam; users@subversion.tigris.org
> Subject: AW: Temporary commit block on a file
>
> Hi,
> use a pre-commit hook that checks the filename an rejects any
> commit with that name.
>
> regards
>
> felix
>
> -----Ursprüngliche Nachricht-----
> Von: Ajay Gautam [mailto:ajay610@gmail.com]
> Gesendet: Donnerstag, 11. Oktober 2007 17:30
> An: users@subversion.tigris.org
> Betreff: Temporary commit block on a file
>
> Is it possible to temporarily block a file from being committed.
>
> Here is what I need:
> The file in question is one that hold valuable system properties.
> I modify this file to debug a specific issue.
> (Make a mental note to revert this file before I commit).
>
> Unfortunately, my mental notes aren't enforced properly. More likely
> than not, I would end up committing this file, and later on (who know
> if ever), I will have to revert my changes (sigh)
>
> I need a way to force-break a commit, in case I commit this file. One
> possible way could be to put something in comments that would flag the
> inappropriateness of the commit, when svn looks at it...
>
> Am I making any sense here?
>
> Is this possible ? (I spent a few minutes on google and couldn't find
> anything useful)
>
> All help would be highly appreciated.
>
> Thanks
>
> Ajay
>
>
> --
> Talk is cheap, show me the code.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
> --
> Felix Gilcher
> Head of IT Development
>
> E-Mail: mailto:felix.gilcher@exozet.com
> URL: http://www.exozet.com/
> Tel: +49 (30) 2 46 56 0 - 0
> Fax: +49 (30) 2 46 56 0 - 29
>
> Exozet Berlin GmbH
> Oberbaum City
> Rotherstraße 20
> 10245 Berlin
>
> Geschäftsführer: Frank Alexander Zahn
> Handelsregisternummer: HRB 58797 Amtsgericht Charlottenburg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
> ______________________________________________________________________
> CAUTION: This message was sent via the Public Internet and
> its authenticity cannot be guaranteed.
>
> ______________________________________________________
>

 
************************************************
The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email.
************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 11 17:52:17 2007

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.