/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_commit.py

  • Committer: Vincent Ladeuil
  • Author(s): Jelmer Vernooij
  • Date: 2018-02-26 13:20:45 UTC
  • mfrom: (6861.1.3 even-more-foreign)
  • Revision ID: v.ladeuil+lp@free.fr-20180226132045-miq28gtt3inmcqdi
Some more foreign branch test fixes.

Also, fix some misisng spaces.

Notably, this changes the expectations with regard to directories reported by Tree.list_files():

If a tree does not support versioned empty directories, implicit directories will still be reported as
versioned, for consistency with Bazaar. Empty directories are of unknown (?) status.

Merged from https://code.launchpad.net/~jelmer/brz/even-more-foreign/+merge/338464

Show diffs side-by-side

added added

removed removed

Lines of Context:
235
235
        wt = self.make_branch_and_tree('.')
236
236
        wt.add(['a'], None, ['file'])
237
237
        a_id = wt.path2id('a')
 
238
        self.assertEqual('a', wt.id2path(a_id))
238
239
        def fail_message(obj):
239
240
            raise errors.BzrCommandError("empty commit message")
240
241
        self.assertRaises(errors.BzrCommandError, wt.commit,