Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/test-extension.out @ 4074:0f9381cf9723
Try to pass repo.ui to reposetup hooks
The ui object we received in this function may belong to another repo,
which could be confusing from the hook point of view. Trying to use
the ui object from the newly created repo should avoid this confusion.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Thu, 08 Feb 2007 16:31:21 -0200 |
parents | 5d9ede002453 |
children | 622d8ed78b47 |
comparison
equal
deleted
inserted
replaced
4067:c620376b8fd6 | 4074:0f9381cf9723 |
---|---|
1 uisetup called | 1 uisetup called |
2 ui.parentui is None | |
2 reposetup called for a | 3 reposetup called for a |
4 ui == repo.ui | |
3 Foo | 5 Foo |
4 uisetup called | 6 uisetup called |
7 ui.parentui is None | |
5 reposetup called for a | 8 reposetup called for a |
9 ui == repo.ui | |
6 reposetup called for b | 10 reposetup called for b |
11 ui == repo.ui | |
7 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | 12 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
8 uisetup called | 13 uisetup called |
14 ui.parentui is None | |
9 Bar | 15 Bar |