1
edit
Changes
→0.5 Release, January 31, 2008
'''Bugfixing''' - made changes to symbostore.py as per comments in the bug review.
=== Done:===
* Re-wrote the pdbStreamFile.write as a triple-quoted string
<pre> pdbStreamFile.write('''SRCSRV: ini ------------------------------------------------\r\nVERSION=1\r\n
SRCSRV: variables ------------------------------------------\r\n
CVS_EXTRACT_CMD=%fnchdir%(%CVS_WORKINGDIR%)cvs.exe -d %fnvar%(%var2%) checkout -r %var4% %var3%\r\n
CVS_EXTRACT_TARGET=%targ%\%var2%\%fnbksl%(%var3%)\%fnfile%(%var1%)\r\nCVS_WORKING_DIR=%targ%\%var2%\%fnbksl%(%var3%)\r\n
MYSERVER=:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot\r\n
SRCSRVTRG=%CVS_WORKING_DIR%\r\nSRCSRVCMD=%CVS_EXTRACT_CMD%\r\n
SRCSRV: source files ---------------------------------------\r\n''')
pdbStreamFile.write(fileStream)
# can't do string interpolation because the source server also uses this and so there are % in the above
pdbStreamFile.write("SRCSRV: end ------------------------------------------------\r\n\n")
</pre>
* Removed unecessary information, and tested it to be sure it still worked
(which it does from the indexing end of things)
SourceIndex
=== Upcoming and awaiting feedback :===
* I did not move the gathering of filenames because as I see it, if I do this