RE: implementing pre-commit-hook to prevent overwriting files under tags-dir
From: Johan Corveleyn <johan.corveleyn_at_uz.kuleuven.ac.be>
Date: Fri, 25 Sep 2009 13:01:14 +0200
> Van: Marc Lustig [mailto:ml_at_marclustig.com]
It's the grep part of the command: "grep ^tags/" will not match "project/tags/...". It only matches if "tags" is at the very beginning of the line (because "^" matches beginning of line).
So I guess that snippet only works for repositories that have "tags" at the root of the repository, and not below individual project folders...
Johan
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
|
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.