WorkDir: L:\wc\pysvn\trunk\pysvn\Extension PYTHON: c:\python25\python.exe Username: barry L:\wc\pysvn\trunk\pysvn\Extension\Tests > setlocal L:\wc\pysvn\trunk\pysvn\Extension\Tests > set PYTHONPATH=L:\wc\pysvn\trunk\pysvn\Extension\Source;L:\wc\pysvn\trunk\pysvn\Extension\Examples\Client L:\wc\pysvn\trunk\pysvn\Extension\Tests > set PYSVN=c:\python25\python.exe L:\wc\pysvn\trunk\pysvn\Extension\Examples\Client\svn_cmd.py --pysvn-testing 01.02.01 --config-dir b:\configdir L:\wc\pysvn\trunk\pysvn\Extension\Tests > mkdir testroot-04 L:\wc\pysvn\trunk\pysvn\Extension\Tests > subst b: L:\wc\pysvn\trunk\pysvn\Extension\Tests\testroot-04 L:\wc\pysvn\trunk\pysvn\Extension\Tests > cd /d b:\ B:\ > svnadmin create b:\repos B:\ > rem mkdir B:\ > c:\python25\python.exe L:\wc\pysvn\trunk\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" B:\ > c:\python25\python.exe L:\wc\pysvn\trunk\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" B:\ > rem Install hooks B:\ > rem echo echo svnlook info %1 -t %2 ^>b:\test_1.output >b:\repos\hooks\pre-commit.cmd B:\ > rem echo svnlook info %1 -t %2 ^>^>b:\test_1.output >>b:\repos\hooks\pre-commit.cmd B:\ > rem echo echo svnlook changed %1 -t %2 ^>^>b:\test_1.output >>b:\repos\hooks\pre-commit.cmd B:\ > rem echo svnlook changed %1 -t %2 ^>^>b:\test_1.output >>b:\repos\hooks\pre-commit.cmd B:\ > echo echo c:\python25\python.exe L:\wc\pysvn\trunk\pysvn\Extension\Tests\test_04_pre_commit_test_1.py %* >b:\test_1.output 1>>b:\repos\hooks\pre-commit.cmd B:\ > echo set PYTHONPATH=L:\wc\pysvn\trunk\pysvn\Extension\Source;L:\wc\pysvn\trunk\pysvn\Extension\Examples\Client 1>>b:\repos\hooks\pre-commit.cmd B:\ > echo c:\python25\python.exe L:\wc\pysvn\trunk\pysvn\Extension\Tests\test_04_pre_commit_test_1.py %* >>b:\test_1.output 1>>b:\repos\hooks\pre-commit.cmd B:\ > rem Add one dir B:\ > c:\python25\python.exe L:\wc\pysvn\trunk\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" B:\ > rem test_1.output start ---------------------------------------- B:\ > type b:\test_1.output c:\python25\python.exe L:\wc\pysvn\trunk\pysvn\Extension\Tests\test_04_pre_commit_test_1.py b:\repos 2-2 Info: pre commit test 1 Info: Transaction( b:\repos, 2-2) ... Info: revproplist() ... svn:log: pre-commit test 1 svn:check-locks: true svn:author: barry svn:date: 2008-10-12T11:04:04.078898Z Info: changed() ... trunk/test/a: action='A', kind=, text_mod=0, prop_mod=0 Info: changed( copy_info=True ) ... trunk/test/a: action='A', kind=, text_mod=0, prop_mod=0 copyfrom_rev=0 copyfrom_path=None B:\ > rem test_1.output end ------------------------------------------ B:\ > rem Add two files B:\ > c:\python25\python.exe L:\wc\pysvn\trunk\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 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:\python25\python.exe L:\wc\pysvn\trunk\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:\python25\python.exe L:\wc\pysvn\trunk\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:\python25\python.exe L:\wc\pysvn\trunk\pysvn\Extension\Examples\Client\svn_cmd.py --pysvn-testing 01.02.01 --config-dir b:\configdir checkin -m "Add two files" b:\wc A wc/a/file1.txt A wc/file1.txt Revision 4 B:\ > rem test_1.output start ---------------------------------------- B:\ > type b:\test_1.output c:\python25\python.exe L:\wc\pysvn\trunk\pysvn\Extension\Tests\test_04_pre_commit_test_1.py b:\repos 3-3 Info: pre commit test 1 Info: Transaction( b:\repos, 3-3) ... Info: revproplist() ... svn:log: Add two files svn:check-locks: true svn:author: barry svn:date: 2008-10-12T11:04:06.912889Z Info: changed() ... trunk/test/a/file1.txt: action='A', kind=, text_mod=1, prop_mod=0 contents: 'file1 A \r\n' trunk/test/file1.txt: action='A', kind=, text_mod=1, prop_mod=0 contents: 'file1 ROOT \r\n' Info: changed( copy_info=True ) ... trunk/test/a/file1.txt: action='A', kind=, text_mod=1, prop_mod=0 copyfrom_rev=0 copyfrom_path=None contents: 'file1 A \r\n' trunk/test/file1.txt: action='A', kind=, text_mod=1, prop_mod=0 copyfrom_rev=0 copyfrom_path=None contents: 'file1 ROOT \r\n' B:\ > rem 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:\python25\python.exe L:\wc\pysvn\trunk\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 B:\ > c:\python25\python.exe L:\wc\pysvn\trunk\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 wc/a/file1.txt M wc/file1.txt Revision 5 B:\ > rem test_1.output start ---------------------------------------- B:\ > type b:\test_1.output c:\python25\python.exe L:\wc\pysvn\trunk\pysvn\Extension\Tests\test_04_pre_commit_test_1.py b:\repos 4-4 Info: pre commit test 1 Info: Transaction( b:\repos, 4-4) ... Info: revproplist() ... svn:log: Mod one file Mod one prop svn:check-locks: true svn:author: barry svn:date: 2008-10-12T11:04:08.655342Z Info: changed() ... trunk/test/a/file1.txt: action='R', kind=, text_mod=1, prop_mod=1 svn:eol-style: native contents: 'file1 A \n' trunk/test/file1.txt: action='R', kind=, 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=, 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=, text_mod=1, prop_mod=0 copyfrom_rev=0 copyfrom_path=None contents: 'file1 ROOT ln 2 \r\n' B:\ > rem test_1.output end ------------------------------------------ B:\ > rem Delete one file B:\ > c:\python25\python.exe L:\wc\pysvn\trunk\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:\python25\python.exe L:\wc\pysvn\trunk\pysvn\Extension\Examples\Client\svn_cmd.py --pysvn-testing 01.02.01 --config-dir b:\configdir checkin -m "Delete one file" b:\wc D wc/a/file1.txt Revision 6 B:\ > rem test_1.output start ---------------------------------------- B:\ > type b:\test_1.output c:\python25\python.exe L:\wc\pysvn\trunk\pysvn\Extension\Tests\test_04_pre_commit_test_1.py b:\repos 5-5 Info: pre commit test 1 Info: Transaction( b:\repos, 5-5) ... Info: revproplist() ... svn:log: Delete one file svn:check-locks: true svn:author: barry svn:date: 2008-10-12T11:04:10.698218Z Info: changed() ... trunk/test/a/file1.txt: action='D', kind=, text_mod=0, prop_mod=0 Info: changed( copy_info=True ) ... trunk/test/a/file1.txt: action='D', kind=, text_mod=0, prop_mod=0 copyfrom_rev=0 copyfrom_path=None B:\ > rem test_1.output end ------------------------------------------ B:\ > endlocal