tests/test-bundle2.t
changeset 21550 b4f0e15d1dab
parent 21259 ab5040cd5749
parent 21547 565d45919db8
child 21585 652e07debf10
equal deleted inserted replaced
21549:ea3d75ebea6d 21550:b4f0e15d1dab
     5   > """A small extension to test bundle2 implementation
     5   > """A small extension to test bundle2 implementation
     6   > 
     6   > 
     7   > Current bundle2 implementation is far too limited to be used in any core
     7   > Current bundle2 implementation is far too limited to be used in any core
     8   > code. We still need to be able to test it while it grow up.
     8   > code. We still need to be able to test it while it grow up.
     9   > """
     9   > """
       
    10   > 
       
    11   > try:
       
    12   >     import msvcrt
       
    13   >     msvcrt.setmode(sys.stdin.fileno(), os.O_BINARY)
       
    14   >     msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY)
       
    15   >     msvcrt.setmode(sys.stderr.fileno(), os.O_BINARY)
       
    16   > except ImportError:
       
    17   >     pass
    10   > 
    18   > 
    11   > import sys
    19   > import sys
    12   > from mercurial import cmdutil
    20   > from mercurial import cmdutil
    13   > from mercurial import util
    21   > from mercurial import util
    14   > from mercurial import bundle2
    22   > from mercurial import bundle2