equal
deleted
inserted
replaced
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') |