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

AW: Temporary commit block on a file

From: Felix Gilcher <felix.gilcher_at_exozet.com>
Date: 2007-10-11 17:39:56 CEST

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
Received on Thu Oct 11 17:43:00 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.