Known subclasses: dulwich.tests.compat.test_repository.InitNewWorkingDirectoryTestCase

Test for compatibility with git-worktree.
Method create_new_worktree Create a new worktree using git-worktree.
Method setUp Undocumented
Method test_refs Undocumented
Method test_head_equality Undocumented
Method test_bare Undocumented
Method test_git_worktree_list Undocumented
Method _parse_worktree_list Undocumented

Inherited from TestCase (via ObjectStoreTestCase, CompatTestCase):

Method tearDown Undocumented

Inherited from TestCase (via ObjectStoreTestCase, CompatTestCase):

Method tearDown Undocumented

Inherited from TestCase (via ObjectStoreTestCase, CompatTestCase):

Method tearDown Undocumented
def create_new_worktree(self, repo_dir, branch):
Create a new worktree using git-worktree.
Parametersrepo_dirThe directory of the main working tree.
branchThe branch or commit to checkout in the new worktree.
ReturnsThe path to the new working tree.
def test_head_equality(self):
def _parse_worktree_list(self, output):
Undocumented
def test_git_worktree_list(self):
Undocumented
API Documentation for Dulwich, generated by pydoctor at 2018-11-17 19:05:54.