Commits

Henri Sivonen committed 00ba700

Use hg for the parser

Comments (0)

Files changed (1)

 svnCmd = 'svn'
 tarCmd = 'tar'
 scpCmd = 'scp'
+hgCmd = 'hg'
 
 buildRoot = '.'
 svnRoot = 'https://whattf.svn.cvsdude.com/'
 moduleNames = [
   "syntax",
   "util",
-  "htmlparser",
   "xmlparser",
   "validator",
 ]
   for mod in moduleNames:
     runCmd('"%s" co "%s" "%s"' % (svnCmd, svnRoot + mod + '/trunk/', mod))
   runCmd('"%s" co http://jing-trang.googlecode.com/svn/branches/validator-nu jing-trang' % (svnCmd))
+  runCmd('"%s" pull http://hg.mozilla.org/projects/htmlparser/ htmlparser' % (hgCmd))
 
 def selfUpdate():
   runCmd('"%s" co "%s" "%s"' % (svnCmd, svnRoot + 'build' + '/trunk/', 'build'))
   for arg in argv:
     if arg.startswith("--svn="):
       svnCmd = arg[6:]
+    elif arg.startswith("--hg="):
+      hgCmd = arg[5:]
     elif arg.startswith("--java="):
       javaCmd = arg[7:]
     elif arg.startswith("--jar="):