Commits

Steve Borho committed 1916f7a

finish removing force arguments

Comments (0)

Files changed (1)

     finally:
         f.close()
 
-def build_hg(force, branch, tag):
+def build_hg(branch, tag):
     if onlymsi:
         return
 
-    if force or not os.path.exists('build-hg'):
+    if not os.path.exists('build-hg'):
         run(r'if exist build-hg rmdir /s /q build-hg')
         run(r'hg clone hg-main -u %s build-hg' % branch)
     else:
         desc = '%s %s' % (name, version)
         run(r'..\misc\sign.cmd %s %s %s "%s"' % (cert, pwd, package, desc), 'build-hg', hide=True)
 
-def build_thg(force, branch, tag, name, productid):
+def build_thg(branch, tag, name, productid):
     if not onlymsi:
-        if force or not os.path.exists('build-thg'):
+        if not os.path.exists('build-thg'):
             run(r'if exist build-thg rmdir /s /q build-thg')
             run(r'hg clone tortoisehg -u %s build-thg' % branch)
         else:
 verify_doc_env()
 verify_thg_env()
 get_sdk_envs()
-build_hg(forcehg, hgbranch, hgtag)
+build_hg(hgbranch, hgtag)
 productid = str(uuid.uuid4()).upper()
-build_thg(forcethg, thgbranch, thgtag, packagename, productid)
+build_thg(thgbranch, thgtag, packagename, productid)
 build_thg_installer(packagename, productid)