tests/test-filelog.py
changeset 28805 efc739551c17
parent 28744 6537e14301ef
child 29205 a0939666b836
equal deleted inserted replaced
28804:ce49c8d4f0bb 28805:efc739551c17
     3 Tests the behavior of filelog w.r.t. data starting with '\1\n'
     3 Tests the behavior of filelog w.r.t. data starting with '\1\n'
     4 """
     4 """
     5 from __future__ import absolute_import, print_function
     5 from __future__ import absolute_import, print_function
     6 from mercurial import (
     6 from mercurial import (
     7     hg,
     7     hg,
     8     ui,
     8     ui as uimod,
     9 )
     9 )
    10 from mercurial.node import (
    10 from mercurial.node import (
    11     hex,
    11     hex,
    12     nullid,
    12     nullid,
    13 )
    13 )
    14 
    14 
    15 myui = ui.ui()
    15 myui = uimod.ui()
    16 repo = hg.repository(myui, path='.', create=True)
    16 repo = hg.repository(myui, path='.', create=True)
    17 
    17 
    18 fl = repo.file('foobar')
    18 fl = repo.file('foobar')
    19 
    19 
    20 def addrev(text, renamed=False):
    20 def addrev(text, renamed=False):