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