Remove svn2cl.xsl from SVN and grab it from the Subversion SVN repository when it is not available.

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5340 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
pabs3 2007-10-21 01:46:03 +00:00
parent 206b303668
commit a45e5ca60a
2 changed files with 8 additions and 463 deletions

View file

@ -235,6 +235,14 @@ def CreateChangeLog():
import win32com.client
import codecs
if not os.path.isfile(SVN2CL_XSL):
import urllib
print 'downloading svn2cl.xsl stylesheet...'
SVN2CL_XSL = urllib.urlretrieve('http://svn.collab.net/repos/svn/trunk/contrib/client-side/svn2cl/svn2cl.xsl','svn2cl.xsl')[0]
print 'generating ChangeLog...'
changelog = os.path.join(newverdir,'ChangeLog')