/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/test_uncommit.py

  • Committer: Jelmer Vernooij
  • Date: 2018-11-17 00:47:52 UTC
  • mfrom: (7182 work)
  • mto: This revision was merged to the branch mainline in revision 7305.
  • Revision ID: jelmer@jelmer.uk-20181117004752-6ywampe5pfywlby4
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
 
96
96
        # If this tree isn't bound, local=True raises an exception
97
97
        self.assertRaises(errors.LocalRequiresBoundBranch,
98
 
            uncommit.uncommit, tree.branch, tree=tree, local=True)
 
98
                          uncommit.uncommit, tree.branch, tree=tree,
 
99
                          local=True)
99
100
 
100
101
    def test_uncommit_remove_tags(self):
101
102
        tree, history = self.make_linear_tree()
117
118
        tree.merge_from_branch(copy.branch)
118
119
        tree.branch.tags.set_tag('pointsatmerged', b'merged')
119
120
        history.append(tree.commit('merge'))
120
 
        self.assertEqual(b'merged', tree.branch.tags.lookup_tag('pointsatmerged'))
 
121
        self.assertEqual(
 
122
            b'merged', tree.branch.tags.lookup_tag('pointsatmerged'))
121
123
        self.assertEqual(history[2], tree.last_revision())
122
124
        self.assertEqual((3, history[2]), tree.branch.last_revision_info())
123
125
        tree.branch.tags.set_tag(u"pointsatexisting", history[1])