~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_status.py

  • Committer: Vincent Ladeuil
  • Date: 2012-02-14 17:22:37 UTC
  • mfrom: (6466 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6468.
  • Revision ID: v.ladeuil+lp@free.fr-20120214172237-7dv7er3n4uy8d5m4
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
        self.assertContainsRe(output.getvalue(), 'empty commit')
47
47
 
48
48
    def make_multiple_pending_tree(self):
49
 
        config.GlobalConfig().set_user_option('email', 'Joe Foo <joe@foo.com>')
 
49
        config.GlobalStack().set('email', 'Joe Foo <joe@foo.com>')
50
50
        tree = self.make_branch_and_tree('a')
51
51
        tree.commit('commit 1', timestamp=1196796819, timezone=0)
52
52
        tree2 = tree.bzrdir.clone('b').open_workingtree()
102
102
 
103
103
    def test_pending_with_ghosts(self):
104
104
        """Test when a pending merge's ancestry includes ghosts."""
105
 
        config.GlobalConfig().set_user_option('email', 'Joe Foo <joe@foo.com>')
 
105
        config.GlobalStack().set('email', 'Joe Foo <joe@foo.com>')
106
106
        tree = self.make_branch_and_tree('a')
107
107
        tree.commit('empty commit')
108
108
        tree2 = tree.bzrdir.clone('b').open_workingtree()