equal
deleted
inserted
replaced
1 #!/usr/bin/env python3 |
1 #!/usr/bin/env python3 |
2 # Dump revlogs as raw data stream |
2 # Dump revlogs as raw data stream |
3 # $ find .hg/store/ -name "*.i" | xargs dumprevlog > repo.dump |
3 # $ find .hg/store/ -name "*.i" | xargs dumprevlog > repo.dump |
4 |
4 |
5 from __future__ import absolute_import, print_function |
|
6 |
5 |
7 import sys |
6 import sys |
8 from mercurial.node import hex |
7 from mercurial.node import hex |
9 from mercurial import ( |
8 from mercurial import ( |
10 encoding, |
9 encoding, |