Index: static/upload.py =================================================================== --- static/upload.py (revision 101) +++ static/upload.py (working copy) @@ -480,7 +480,9 @@ base = "http" + base[5:] logging.info("Guessed Google Code base = %s", base) else: - ErrorExit("Unrecognized svn project root: %s" % url) + base = url + "/" + #print netloc + #ErrorExit("Unrecognized svn project root: %s" % url) return base ErrorExit("Can't find URL in output from svn info") @@ -495,12 +497,14 @@ logging.getLogger().setLevel(logging.DEBUG) elif verbosity >= 2: logging.getLogger().setLevel(logging.INFO) - base = GuessBase() - CheckForUnknownFiles() - data = RunShell("svn diff", args) + #base = GuessBase() + base = "http://svn.scipy.org/svn/numpy/trunk" + #CheckForUnknownFiles() + data = RunShell("hg diff", args) + #print data count = 0 for line in data.splitlines(): - if line.startswith("Index:"): + if line.startswith("diff"): count += 1 logging.info(line) if not count: