Show More
@@ -2,8 +2,14 | |||||
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 | |||
|
6 | ||||
5 | import sys |
|
7 | import sys | |
6 |
from mercurial import |
|
8 | from mercurial import ( | |
|
9 | node, | |||
|
10 | revlog, | |||
|
11 | util, | |||
|
12 | ) | |||
7 |
|
13 | |||
8 | for fp in (sys.stdin, sys.stdout, sys.stderr): |
|
14 | for fp in (sys.stdin, sys.stdout, sys.stderr): | |
9 | util.setbinary(fp) |
|
15 | util.setbinary(fp) |
General Comments 0
You need to be logged in to leave comments.
Login now