SVN Pre-Commit: Getting name of url when the commit goes -
i need catch url files commited.
example:
my branch checkout http://localhost.home.network:443/svn/test
in branch commited files a.txt , b.txt.
i want catch using svn hook (either pre-commit or post-commit) url svn respository.
if question not clear, ask me , i'll provide information needed.
use svnlook changed
in post commit hook list of changed files. output contains relative paths within repository, , root of repository passed first argument post commit hook.
you can use following bash script post-commit
hook see how works:
#! /bin/bash exec >> /tmp/post-commit.log 2>&1 echo "commit: $0 $*" svnlook changed "$1"
Comments
Post a Comment