changeset 30559 | d83ca854fa21 |
parent 29205 | a0939666b836 |
child 37933 | f71c97d9b97b |
30557:cbeb54ec0481 | 30559:d83ca854fa21 |
---|---|
11 from mercurial import ( |
11 from mercurial import ( |
12 hg, |
12 hg, |
13 ui as uimod, |
13 ui as uimod, |
14 ) |
14 ) |
15 |
15 |
16 myui = uimod.ui() |
16 myui = uimod.ui.load() |
17 repo = hg.repository(myui, path='.', create=True) |
17 repo = hg.repository(myui, path='.', create=True) |
18 |
18 |
19 fl = repo.file('foobar') |
19 fl = repo.file('foobar') |
20 |
20 |
21 def addrev(text, renamed=False): |
21 def addrev(text, renamed=False): |