]> Tony Duckles's Git Repositories (git.nynim.org) - svn2svn.git/commit
Support before-commit hook option (--pre-commit)
authorTony Duckles <tony@nynim.org>
Tue, 21 Aug 2012 04:05:51 +0000 (23:05 -0500)
committerTony Duckles <tony@nynim.org>
Tue, 21 Aug 2012 04:27:53 +0000 (23:27 -0500)
commitb25f76a20a87afd1127da0c64825a27afbfda57a
tree0e93ada2d02bb853ff89b2f7bff4a5950afc262c
parent836ea21acaf16a9734865f0311be9981ccaa77ed
Support before-commit hook option (--pre-commit)

Allow the caller to optionally run a shell script before each
replayed commit. This could be useful if you wanted to modify the
replayed file/directory contents, e.g. strip-out a certain file at a
certain source revision, etc.

* svn2svn/run/svnreplay.py (commit_from_svn_log_entry): Support
  beforecommit hook.
* tests/t0103*: Add unit-tests for new --pre-commit option.

* svn2svn/run/svnreplay.py (main): Minor tweaks to command-line
  argument help-text.
* svn2svn/shell.py (_run_raw_command): Fix typo
README.mkd
svn2svn/run/svnreplay.py
svn2svn/shell.py
tests/t0103-replay-beforecommit.sh [new file with mode: 0755]
tests/t0103/before-commit.sh [new file with mode: 0755]