equal
deleted
inserted
replaced
1 #! /usr/bin/env python |
1 #! /usr/bin/env python |
2 |
2 |
3 import sys |
3 import sys |
4 |
4 |
5 from mercurial import ui, hg |
5 from mercurial import ui, hg |
|
6 from mercurial import util |
|
7 |
|
8 util.rcpath = lambda : [] |
6 |
9 |
7 if len(sys.argv)>1 and sys.argv[1] in ["-h","--help"]: |
10 if len(sys.argv)>1 and sys.argv[1] in ["-h","--help"]: |
8 print """ |
11 print """ |
9 This utility just prints the length of the longest path |
12 This utility just prints the length of the longest path |
10 in the revision graph from revison 0 to the current one. |
13 in the revision graph from revison 0 to the current one. |