tests/test-filelog.py
changeset 28743 83373fc2b287
parent 26098 ce26928cbe41
child 28744 6537e14301ef
equal deleted inserted replaced
28742:a08c90d622eb 28743:83373fc2b287
     1 #!/usr/bin/env python
     1 #!/usr/bin/env python
     2 """
     2 """
     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 mercurial import ui, hg
     5 from __future__ import absolute_import
     6 from mercurial.node import nullid, hex
     6 from mercurial import (
       
     7     hg,
       
     8     ui,
       
     9 )
       
    10 from mercurial.node import (
       
    11     hex,
       
    12     nullid,
       
    13 )
     7 
    14 
     8 myui = ui.ui()
    15 myui = ui.ui()
     9 repo = hg.repository(myui, path='.', create=True)
    16 repo = hg.repository(myui, path='.', create=True)
    10 
    17 
    11 fl = repo.file('foobar')
    18 fl = repo.file('foobar')