Mercurial > hgsubversion
comparison tests/test_util.py @ 1342:c6b01fd34694 stable
trying to fix progress output
| author | Augie Fackler <raf@durin42.com> |
|---|---|
| date | Wed, 08 Jul 2015 19:45:04 -0400 |
| parents | 0f1f88e71138 |
| children | e597714cb420 |
comparison
equal
deleted
inserted
replaced
| 1339:74e82a7da393 | 1342:c6b01fd34694 |
|---|---|
| 744 def getgraph(self, repo): | 744 def getgraph(self, repo): |
| 745 """Helper function displaying a repository graph, especially | 745 """Helper function displaying a repository graph, especially |
| 746 useful when debugging comprehensive tests. | 746 useful when debugging comprehensive tests. |
| 747 """ | 747 """ |
| 748 # Could be more elegant, but it works with stock hg | 748 # Could be more elegant, but it works with stock hg |
| 749 _ui = ui.ui() | 749 _ui = testui() |
| 750 _ui.setconfig('extensions', 'graphlog', '') | 750 _ui.setconfig('extensions', 'graphlog', '') |
| 751 extensions.loadall(_ui) | 751 extensions.loadall(_ui) |
| 752 graphlog = extensions.find('graphlog') | 752 graphlog = extensions.find('graphlog') |
| 753 templ = """\ | 753 templ = """\ |
| 754 changeset: {rev}:{node|short} (r{svnrev}) | 754 changeset: {rev}:{node|short} (r{svnrev}) |
