/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/git/tests/test_workingtree.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2019-05-28 20:24:00 UTC
  • mfrom: (7296.1.4 fix-sphinx)
  • Revision ID: breezy.the.bot@gmail.com-20190528202400-lwfbjx99w4awut59
Set PATH correctly so pip-installed sphinx is found; fix compatibility with newer versions of Dulwich.

Merged from https://code.launchpad.net/~jelmer/brz/fix-sphinx/+merge/367949

Show diffs side-by-side

added added

removed removed

Lines of Context:
268
268
            ], [b'a'], want_unversioned=True)
269
269
 
270
270
    def test_submodule(self):
271
 
        self.build_tree(['a/'])
 
271
        self.subtree = self.make_branch_and_tree('a', format="git")
272
272
        a = Blob.from_string(b'irrelevant\n')
 
273
        self.build_tree_contents([('a/.git/HEAD', a.id)])
273
274
        with self.wt.lock_tree_write():
274
275
            (index, index_path) = self.wt._lookup_index(b'a')
275
276
            index[b'a'] = IndexEntry(0, 0, 0, 0, S_IFGITLINK, 0, 0, 0, a.id, 0)