im trying to validate a filename on first commit. In the repository i have this files: change1.sql c开发者_开发技巧hange2.sql [...]
Users cant create files whit the same filename. How can i validate this in pre-commit?
Please help.
try
$SVNLOOK info -t "$TXN" "$REPOS" > /var/log/lastcommit$TXN.log
$SVNLOOK changed -t "$TXN" "$REPOS" >> /var/log/lastcommit$TXN.log
so lastcommit100-3f.log would contain:
root
2011-05-21 09:23:48 +0000 (Sat, 21 May 2011)
31
Meldung an ERM schicken.TASK-78
U enexus-release-management/JavaSource/org/enexus/PreCommitServlet.java
精彩评论