WorkDir: C:\Users\barry\wc\svn\PySVN\Extension
PYTHON: c:\python27.Win64\python.exe
Username: barry

C:\Users\barry\wc\svn\PySVN\Extension\Tests > setlocal

C:\Users\barry\wc\svn\PySVN\Extension\Tests > set PYTHONPATH=C:\Users\barry\wc\svn\PySVN\Extension\Source;C:\Users\barry\wc\svn\PySVN\Extension\Examples\Client 

C:\Users\barry\wc\svn\PySVN\Extension\Tests > set PYSVN=c:\python27.Win64\python.exe C:\Users\barry\wc\svn\PySVN\Extension\Examples\Client\svn_cmd.py --pysvn-testing 01.02.01 --config-dir b:\configdir 

C:\Users\barry\wc\svn\PySVN\Extension\Tests > mkdir testroot-04 

C:\Users\barry\wc\svn\PySVN\Extension\Tests > subst b: C:\Users\barry\wc\svn\PySVN\Extension\Tests\testroot-04 

C:\Users\barry\wc\svn\PySVN\Extension\Tests > cd /d B:\ 

B:\ > svnadmin create b:\repos 

B:\ > rem mkdir 

B:\ > c:\python27.Win64\python.exe C:\Users\barry\wc\svn\PySVN\Extension\Examples\Client\svn_cmd.py --pysvn-testing 01.02.01 --config-dir b:\configdir mkdir file:///b:/repos/trunk -m "test-01 add trunk" 
commit_finalizing .

B:\ > c:\python27.Win64\python.exe C:\Users\barry\wc\svn\PySVN\Extension\Examples\Client\svn_cmd.py --pysvn-testing 01.02.01 --config-dir b:\configdir mkdir file:///b:/repos/trunk/test -m "test-01 add test" 
commit_finalizing .

B:\ > rem Install hooks 

B:\ > echo echo c:\python27.Win64\python.exe C:\Users\barry\wc\svn\PySVN\Extension\Tests\test_04_commit_hook_test_1.py pre-commit %* >b:\pre_test_1.output  1>>b:\repos\hooks\pre-commit.cmd 

B:\ > echo set PYTHONPATH=C:\Users\barry\wc\svn\PySVN\Extension\Source;C:\Users\barry\wc\svn\PySVN\Extension\Examples\Client  1>>b:\repos\hooks\pre-commit.cmd 

B:\ > echo c:\python27.Win64\python.exe C:\Users\barry\wc\svn\PySVN\Extension\Tests\test_04_commit_hook_test_1.py pre-commit %* >>b:\pre_test_1.output  1>>b:\repos\hooks\pre-commit.cmd 

B:\ > echo echo c:\python27.Win64\python.exe C:\Users\barry\wc\svn\PySVN\Extension\Tests\test_04_commit_hook_test_1.py post-commit %* is_revision >b:\post_test_1.output  1>>b:\repos\hooks\post-commit.cmd 

B:\ > echo set PYTHONPATH=C:\Users\barry\wc\svn\PySVN\Extension\Source;C:\Users\barry\wc\svn\PySVN\Extension\Examples\Client  1>>b:\repos\hooks\post-commit.cmd 

B:\ > echo c:\python27.Win64\python.exe C:\Users\barry\wc\svn\PySVN\Extension\Tests\test_04_commit_hook_test_1.py post-commit %* is_revision >>b:\post_test_1.output  1>>b:\repos\hooks\post-commit.cmd 

B:\ > rem Add one dir 

B:\ > c:\python27.Win64\python.exe C:\Users\barry\wc\svn\PySVN\Extension\Examples\Client\svn_cmd.py --pysvn-testing 01.02.01 --config-dir b:\configdir mkdir file:///b:/repos/trunk/test/a -m "pre-commit test 1" 
commit_finalizing .

B:\ > rem pre_test_1.output start ---------------------------------------- 

B:\ > type b:\pre_test_1.output 
c:\python27.Win64\python.exe C:\Users\barry\wc\svn\PySVN\Extension\Tests\test_04_commit_hook_test_1.py pre-commit B:\repos 2-2  
Info: pre-commit test 1
Info: Transaction( B:\repos, 2-2) ...
Info: revproplist() ...
svn:author: barry
svn:date: 2016-04-27T19:31:40.726001Z
svn:log: pre-commit test 1
svn:txn-client-compat-version: 1.9.3
svn:txn-user-agent: SVN/1.9.3 (x64-microsoft-windows) ra_local
Info: changed() ...
trunk/test/a: action='A', kind=<node_kind.dir>, text_mod=0, prop_mod=0
Info: changed( copy_info=True ) ...
trunk/test/a: action='A', kind=<node_kind.dir>, text_mod=0, prop_mod=0 copyfrom_rev=0 copyfrom_path=None
Info: list() ...
/trunk: kind=<node_kind.dir>
/trunk/test: kind=<node_kind.dir>
/trunk/test/a: kind=<node_kind.dir>

B:\ > rem  pre_test_1.output end ------------------------------------------ 

B:\ > rem post_test_1.output start ---------------------------------------- 

B:\ > type b:\post_test_1.output 
c:\python27.Win64\python.exe C:\Users\barry\wc\svn\PySVN\Extension\Tests\test_04_commit_hook_test_1.py post-commit B:\repos 3 2-2 is_revision  
Info: post-commit test 1
Info: Transaction( B:\repos, 3, is_revision=True) ...
Info: revproplist() ...
svn:author: barry
svn:date: 2016-04-27T19:31:41.116770Z
svn:log: pre-commit test 1
Info: changed() ...
trunk/test/a: action='A', kind=<node_kind.dir>, text_mod=0, prop_mod=0
Info: changed( copy_info=True ) ...
trunk/test/a: action='A', kind=<node_kind.dir>, text_mod=0, prop_mod=0 copyfrom_rev=0 copyfrom_path=None
Info: list() ...
/trunk: kind=<node_kind.dir>
/trunk/test: kind=<node_kind.dir>
/trunk/test/a: kind=<node_kind.dir>

B:\ > rem  post_test_1.output end ------------------------------------------ 

B:\ > rem Add two files 

B:\ > c:\python27.Win64\python.exe C:\Users\barry\wc\svn\PySVN\Extension\Examples\Client\svn_cmd.py --pysvn-testing 01.02.01 --config-dir b:\configdir co file:///b:/repos/trunk/test b:\wc 
A B:/wc/a
U B:/wc
update_started B:/wc
Checked out revision 3

B:\ > echo file1 ROOT  1>b:\wc\file1.txt 

B:\ > echo file1 A  1>b:\wc\a\file1.txt 

B:\ > c:\python27.Win64\python.exe C:\Users\barry\wc\svn\PySVN\Extension\Examples\Client\svn_cmd.py --pysvn-testing 01.02.01 --config-dir b:\configdir add b:\wc\file1.txt 
A B:/wc/file1.txt

B:\ > c:\python27.Win64\python.exe C:\Users\barry\wc\svn\PySVN\Extension\Examples\Client\svn_cmd.py --pysvn-testing 01.02.01 --config-dir b:\configdir add b:\wc\a\file1.txt 
A B:/wc/a/file1.txt

B:\ > c:\python27.Win64\python.exe C:\Users\barry\wc\svn\PySVN\Extension\Examples\Client\svn_cmd.py --pysvn-testing 01.02.01 --config-dir b:\configdir checkin -m "Add two files" b:\wc 
A B:/wc/a/file1.txt
A B:/wc/file1.txt
commit_finalizing .
Revision 4

B:\ > rem pre_test_1.output start ---------------------------------------- 

B:\ > type b:\pre_test_1.output 
c:\python27.Win64\python.exe C:\Users\barry\wc\svn\PySVN\Extension\Tests\test_04_commit_hook_test_1.py pre-commit B:\repos 3-3  
Info: pre-commit test 1
Info: Transaction( B:\repos, 3-3) ...
Info: revproplist() ...
svn:author: barry
svn:date: 2016-04-27T19:31:41.460548Z
svn:log: Add two files
svn:txn-client-compat-version: 1.9.3
svn:txn-user-agent: SVN/1.9.3 (x64-microsoft-windows) ra_local
Info: changed() ...
trunk/test/a/file1.txt: action='A', kind=<node_kind.file>, text_mod=1, prop_mod=0
     contents: 'file1 A \r\n'
trunk/test/file1.txt: action='A', kind=<node_kind.file>, text_mod=1, prop_mod=0
     contents: 'file1 ROOT \r\n'
Info: changed( copy_info=True ) ...
trunk/test/a/file1.txt: action='A', kind=<node_kind.file>, text_mod=1, prop_mod=0 copyfrom_rev=0 copyfrom_path=None
     contents: 'file1 A \r\n'
trunk/test/file1.txt: action='A', kind=<node_kind.file>, text_mod=1, prop_mod=0 copyfrom_rev=0 copyfrom_path=None
     contents: 'file1 ROOT \r\n'
Info: list() ...
/trunk: kind=<node_kind.dir>
/trunk/test: kind=<node_kind.dir>
/trunk/test/a: kind=<node_kind.dir>
/trunk/test/a/file1.txt: kind=<node_kind.file>
/trunk/test/file1.txt: kind=<node_kind.file>

B:\ > rem  pre_test_1.output end ------------------------------------------ 

B:\ > rem post_test_1.output start ---------------------------------------- 

B:\ > type b:\post_test_1.output 
c:\python27.Win64\python.exe C:\Users\barry\wc\svn\PySVN\Extension\Tests\test_04_commit_hook_test_1.py post-commit B:\repos 4 3-3 is_revision  
Info: post-commit test 1
Info: Transaction( B:\repos, 4, is_revision=True) ...
Info: revproplist() ...
svn:author: barry
svn:date: 2016-04-27T19:31:41.866829Z
svn:log: Add two files
Info: changed() ...
trunk/test/a/file1.txt: action='A', kind=<node_kind.file>, text_mod=1, prop_mod=0
     contents: 'file1 A \r\n'
trunk/test/file1.txt: action='A', kind=<node_kind.file>, text_mod=1, prop_mod=0
     contents: 'file1 ROOT \r\n'
Info: changed( copy_info=True ) ...
trunk/test/a/file1.txt: action='A', kind=<node_kind.file>, text_mod=1, prop_mod=0 copyfrom_rev=0 copyfrom_path=None
     contents: 'file1 A \r\n'
trunk/test/file1.txt: action='A', kind=<node_kind.file>, text_mod=1, prop_mod=0 copyfrom_rev=0 copyfrom_path=None
     contents: 'file1 ROOT \r\n'
Info: list() ...
/trunk: kind=<node_kind.dir>
/trunk/test: kind=<node_kind.dir>
/trunk/test/a: kind=<node_kind.dir>
/trunk/test/a/file1.txt: kind=<node_kind.file>
/trunk/test/file1.txt: kind=<node_kind.file>

B:\ > rem  post_test_1.output end ------------------------------------------ 

B:\ > rem Mod one file Mod one prop 

B:\ > echo file1 ROOT ln 2  1>b:\wc\file1.txt 

B:\ > c:\python27.Win64\python.exe C:\Users\barry\wc\svn\PySVN\Extension\Examples\Client\svn_cmd.py --pysvn-testing 01.02.01 --config-dir b:\configdir propset svn:eol-style native b:\wc\a\file1.txt 
property_added B:/wc/a/file1.txt

B:\ > c:\python27.Win64\python.exe C:\Users\barry\wc\svn\PySVN\Extension\Examples\Client\svn_cmd.py --pysvn-testing 01.02.01 --config-dir b:\configdir checkin -m "Mod one file Mod one prop" b:\wc 
M B:/wc/a/file1.txt
M B:/wc/file1.txt
commit_finalizing .
Revision 5

B:\ > rem pre_test_1.output start ---------------------------------------- 

B:\ > type b:\pre_test_1.output 
c:\python27.Win64\python.exe C:\Users\barry\wc\svn\PySVN\Extension\Tests\test_04_commit_hook_test_1.py pre-commit B:\repos 4-4  
Info: pre-commit test 1
Info: Transaction( B:\repos, 4-4) ...
Info: revproplist() ...
svn:author: barry
svn:date: 2016-04-27T19:31:42.179359Z
svn:log: Mod one file Mod one prop
svn:txn-client-compat-version: 1.9.3
svn:txn-user-agent: SVN/1.9.3 (x64-microsoft-windows) ra_local
Info: changed() ...
trunk/test/a/file1.txt: action='R', kind=<node_kind.file>, text_mod=1, prop_mod=1
     svn:eol-style: native
     contents: 'file1 A \n'
trunk/test/file1.txt: action='R', kind=<node_kind.file>, text_mod=1, prop_mod=0
     contents: 'file1 ROOT ln 2 \r\n'
Info: changed( copy_info=True ) ...
trunk/test/a/file1.txt: action='R', kind=<node_kind.file>, text_mod=1, prop_mod=1 copyfrom_rev=0 copyfrom_path=None
     svn:eol-style: native
     contents: 'file1 A \n'
trunk/test/file1.txt: action='R', kind=<node_kind.file>, text_mod=1, prop_mod=0 copyfrom_rev=0 copyfrom_path=None
     contents: 'file1 ROOT ln 2 \r\n'
Info: list() ...
/trunk: kind=<node_kind.dir>
/trunk/test: kind=<node_kind.dir>
/trunk/test/a: kind=<node_kind.dir>
/trunk/test/a/file1.txt: kind=<node_kind.file>
/trunk/test/file1.txt: kind=<node_kind.file>

B:\ > rem  pre_test_1.output end ------------------------------------------ 

B:\ > rem post_test_1.output start ---------------------------------------- 

B:\ > type b:\post_test_1.output 
c:\python27.Win64\python.exe C:\Users\barry\wc\svn\PySVN\Extension\Tests\test_04_commit_hook_test_1.py post-commit B:\repos 5 4-4 is_revision  
Info: post-commit test 1
Info: Transaction( B:\repos, 5, is_revision=True) ...
Info: revproplist() ...
svn:author: barry
svn:date: 2016-04-27T19:31:42.585645Z
svn:log: Mod one file Mod one prop
Info: changed() ...
trunk/test/a/file1.txt: action='R', kind=<node_kind.file>, text_mod=1, prop_mod=1
     svn:eol-style: native
     contents: 'file1 A \n'
trunk/test/file1.txt: action='R', kind=<node_kind.file>, text_mod=1, prop_mod=0
     contents: 'file1 ROOT ln 2 \r\n'
Info: changed( copy_info=True ) ...
trunk/test/a/file1.txt: action='R', kind=<node_kind.file>, text_mod=1, prop_mod=1 copyfrom_rev=0 copyfrom_path=None
     svn:eol-style: native
     contents: 'file1 A \n'
trunk/test/file1.txt: action='R', kind=<node_kind.file>, text_mod=1, prop_mod=0 copyfrom_rev=0 copyfrom_path=None
     contents: 'file1 ROOT ln 2 \r\n'
Info: list() ...
/trunk: kind=<node_kind.dir>
/trunk/test: kind=<node_kind.dir>
/trunk/test/a: kind=<node_kind.dir>
/trunk/test/a/file1.txt: kind=<node_kind.file>
/trunk/test/file1.txt: kind=<node_kind.file>

B:\ > rem  post_test_1.output end ------------------------------------------ 

B:\ > rem Delete one file 

B:\ > c:\python27.Win64\python.exe C:\Users\barry\wc\svn\PySVN\Extension\Examples\Client\svn_cmd.py --pysvn-testing 01.02.01 --config-dir b:\configdir rm b:\wc\a\file1.txt 
D B:/wc/a/file1.txt

B:\ > c:\python27.Win64\python.exe C:\Users\barry\wc\svn\PySVN\Extension\Examples\Client\svn_cmd.py --pysvn-testing 01.02.01 --config-dir b:\configdir checkin -m "Delete one file" b:\wc 
D B:/wc/a/file1.txt
commit_finalizing .
Revision 6

B:\ > rem pre_test_1.output start ---------------------------------------- 

B:\ > type b:\pre_test_1.output 
c:\python27.Win64\python.exe C:\Users\barry\wc\svn\PySVN\Extension\Tests\test_04_commit_hook_test_1.py pre-commit B:\repos 5-5  
Info: pre-commit test 1
Info: Transaction( B:\repos, 5-5) ...
Info: revproplist() ...
svn:author: barry
svn:date: 2016-04-27T19:31:42.898158Z
svn:log: Delete one file
svn:txn-client-compat-version: 1.9.3
svn:txn-user-agent: SVN/1.9.3 (x64-microsoft-windows) ra_local
Info: changed() ...
trunk/test/a/file1.txt: action='D', kind=<node_kind.file>, text_mod=0, prop_mod=0
Info: changed( copy_info=True ) ...
trunk/test/a/file1.txt: action='D', kind=<node_kind.file>, text_mod=0, prop_mod=0 copyfrom_rev=0 copyfrom_path=None
Info: list() ...
/trunk: kind=<node_kind.dir>
/trunk/test: kind=<node_kind.dir>
/trunk/test/a: kind=<node_kind.dir>
/trunk/test/file1.txt: kind=<node_kind.file>

B:\ > rem  pre_test_1.output end ------------------------------------------ 

B:\ > rem post_test_1.output start ---------------------------------------- 

B:\ > type b:\post_test_1.output 
c:\python27.Win64\python.exe C:\Users\barry\wc\svn\PySVN\Extension\Tests\test_04_commit_hook_test_1.py post-commit B:\repos 6 5-5 is_revision  
Info: post-commit test 1
Info: Transaction( B:\repos, 6, is_revision=True) ...
Info: revproplist() ...
svn:author: barry
svn:date: 2016-04-27T19:31:43.241949Z
svn:log: Delete one file
Info: changed() ...
trunk/test/a/file1.txt: action='D', kind=<node_kind.file>, text_mod=0, prop_mod=0
Info: changed( copy_info=True ) ...
trunk/test/a/file1.txt: action='D', kind=<node_kind.file>, text_mod=0, prop_mod=0 copyfrom_rev=0 copyfrom_path=None
Info: list() ...
/trunk: kind=<node_kind.dir>
/trunk/test: kind=<node_kind.dir>
/trunk/test/a: kind=<node_kind.dir>
/trunk/test/file1.txt: kind=<node_kind.file>

B:\ > rem  post_test_1.output end ------------------------------------------ 

B:\ > endlocal
