Show More
@@ -333,9 +333,9 b' The default interface is text' | |||
|
333 | 333 | $ cp $HGRCPATH.pretest $HGRCPATH |
|
334 | 334 | $ chunkselectorinterface() { |
|
335 | 335 | > "$PYTHON" <<EOF |
|
336 | > from mercurial import hg, ui;\ | |
|
337 |
> repo = hg.repository(ui.ui.load(), ".") |
|
|
338 | > print(repo.ui.interface("chunkselector")) | |
|
336 | > from mercurial import hg, pycompat, ui;\ | |
|
337 | > repo = hg.repository(ui.ui.load(), b".");\ | |
|
338 | > print(pycompat.sysstr(repo.ui.interface(b"chunkselector"))) | |
|
339 | 339 | > EOF |
|
340 | 340 | > } |
|
341 | 341 | $ chunkselectorinterface |
General Comments 0
You need to be logged in to leave comments.
Login now