contrib/undumprevlog
changeset 6466 9c426da6b03b
parent 6433 ec5d77eb3431
child 13970 d13913355390
--- a/contrib/undumprevlog	Thu Apr 03 17:17:39 2008 +0200
+++ b/contrib/undumprevlog	Fri Apr 04 16:39:44 2008 +0200
@@ -6,6 +6,9 @@
 import sys
 from mercurial import revlog, node, util, transaction
 
+for fp in (sys.stdin, sys.stdout, sys.stderr):
+    util.set_binary(fp)
+
 opener = util.opener('.', False)
 tr = transaction.transaction(sys.stderr.write, opener, "undump.journal")
 while 1: