##// END OF EJS Templates
statprof: require input file...
Gregory Szorc -
r30845:262c2be8 stable
parent child Browse files
Show More
@@ -800,6 +800,10 b' def main(argv=None):'
800 else:
800 else:
801 assert False, "unhandled option %s" % o
801 assert False, "unhandled option %s" % o
802
802
803 if not path:
804 print('must specify --file to load')
805 return 1
806
803 load_data(path=path)
807 load_data(path=path)
804
808
805 display(**displayargs)
809 display(**displayargs)
@@ -92,4 +92,10 b' Various statprof formatters work'
92 $ cat ../out
92 $ cat ../out
93 \[\[\d+.* (re)
93 \[\[\d+.* (re)
94
94
95 statprof can be used as a standalone module
96
97 $ $PYTHON -m mercurial.statprof hotpath
98 must specify --file to load
99 [1]
100
95 $ cd ..
101 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now