Show More
@@ -306,7 +306,11 b' def perfstartup(ui, repo, **opts):' | |||||
306 | timer, fm = gettimer(ui, opts) |
|
306 | timer, fm = gettimer(ui, opts) | |
307 | cmd = sys.argv[0] |
|
307 | cmd = sys.argv[0] | |
308 | def d(): |
|
308 | def d(): | |
309 | os.system("HGRCPATH= %s version -q > /dev/null" % cmd) |
|
309 | if os.name != 'nt': | |
|
310 | os.system("HGRCPATH= %s version -q > /dev/null" % cmd) | |||
|
311 | else: | |||
|
312 | os.environ['HGRCPATH'] = '' | |||
|
313 | os.system("%s version -q > NUL" % cmd) | |||
310 | timer(d) |
|
314 | timer(d) | |
311 | fm.end() |
|
315 | fm.end() | |
312 |
|
316 |
General Comments 0
You need to be logged in to leave comments.
Login now