Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set REPOS=%1
- set REV=%2
- set PYTHONPATH=c:\csvn\lib\svn-python
- :: send an email
- python "C:\csvn\bin\mailer.py" commit "%REPOS%" "%REV%" C:\csvn\data\conf\mailer.conf
- :: get the author
- for /f "delims=" %%a in ('svn propget svn:author --revprop -r %REV% http://my_server_address') do @set myAuthor=%%a
- :: change author
- if "%myAuthor%"=="me@myself.com" do @set myAuthor=you@myself.com
- :: set svn property
- svn propset --revprop -r %REV% svn:author %myAuthor% http://my_server_address
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement