On Thu, 21 Jul 2011 11:06:00 +0000, David Weintraub wrote: > I have a pre-commit hook that allows you to set a directory as > "add-only". This was mainly for the tags directory. You can create a > tag, but once created, it can't be modified.
The devil's advocate wants to know it this script accidentally also allows adding new files/directories *within* a tag; thus getting interesting results when accidentally executing svn cp $base/trunk $base/tags/blub -m "$message" twice (a directory named trunk within the tag). Andreas -- "Totally trivial. Famous last words." From: Linus Torvalds <torvalds@*.org> Date: Fri, 22 Jan 2010 07:29:21 -0800