contrib/undumprevlog
changeset 48875 6000f5b25c9b
parent 47150 8d3c2f9d4af7
equal deleted inserted replaced
48874:af0b21d5a930 48875:6000f5b25c9b
     1 #!/usr/bin/env python3
     1 #!/usr/bin/env python3
     2 # Undump a dump from dumprevlog
     2 # Undump a dump from dumprevlog
     3 # $ hg init
     3 # $ hg init
     4 # $ undumprevlog < repo.dump
     4 # $ undumprevlog < repo.dump
     5 
     5 
     6 from __future__ import absolute_import, print_function
       
     7 
     6 
     8 import sys
     7 import sys
     9 from mercurial.node import bin
     8 from mercurial.node import bin
    10 from mercurial import (
     9 from mercurial import (
    11     encoding,
    10     encoding,