def get_svnpath():
svnpathtmp = __file__<EOL>splitsvnpath = svnpathtmp.split('<STR_LIT:/>')<EOL>if len(splitsvnpath) == <NUM_LIT:1>:<EOL><INDENT>svnpath = os.path.abspath('<STR_LIT:.>') + '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>svnpath = '<STR_LIT>'<EOL>for i in range(len(splitsvnpath)-<NUM_LIT:3>):<EOL><INDENT>svnpath += splitsvnpath[i] + '<STR_LIT:/>'<EOL><DEDENT><DEDENT>return svnpath<EOL>
This subroutine gives back the path of the whole svn tree
installation, which is necessary for the script to run.