bjoern michaelsen - Sun Microsystems - Hamburg Germany wrote:
> Hi list,
>
> since we now have subversion, we might as well use the new features it  
> provides. I wrote a precommit hook on the weekend that does some  
> precommit sanity checks:
> - It rejects commits changing files in a cws and outside of it (thus
>   hopefully preventing some accidental commits to a master

How should that be possible when you svn switch a complete tree to a cws
(which you should do)?

> - Adding a new module has to be properly announced in the commit message

There's no modules anymore but one big tree. That check imho is moot.

> - Adding a new toplevel dir in a module has to be properly announced in
>   the commit message (this hopefully prevents accidental commit of
>   output trees)

Err? Why should that be disallowed? And how does that help? For adding
output trees you'd need a svn add on that anyway, so... If people do
that you can't help them anyway...

Regards,

Rene

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to