/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/per_workingtree/test_unversion.py

  • Committer: Jelmer Vernooij
  • Date: 2020-08-10 15:00:17 UTC
  • mfrom: (7490.40.99 work)
  • mto: This revision was merged to the branch mainline in revision 7521.
  • Revision ID: jelmer@jelmer.uk-20200810150017-vs7xnrd1vat4iktg
Merge lp:brz/3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
176
176
        # and removed, so 'a' needs to be restored. We also have a conflict
177
177
        # because 'a' is still an existing directory
178
178
        num_conflicts = tree_b.merge_from_branch(tree_a.branch)
179
 
        self.assertEqual(4, num_conflicts)
 
179
        if tree_b.has_versioned_directories():
 
180
            self.assertEqual(4, num_conflicts)
 
181
        else:
 
182
            self.assertEqual(3, num_conflicts)
180
183
 
181
184
        self.assertThat(
182
185
            tree_b,