Example #1
0
 def test_is_commit_in_orphaned_subtree(self):
     client = GitClient(self.local_path)
     self.assertTrue(
         client.is_commit_in_orphaned_subtree(self.dangling_version))
     self.assertFalse(
         client.is_commit_in_orphaned_subtree(self.no_br_tag_version))
     self.assertFalse(
         client.is_commit_in_orphaned_subtree(self.diverged_branch_version))
Example #2
0
 def test_orphaned_overflow(self):
     client = GitClient(self.local_path)
     # this failed when passing all ref ids to git log
     self.assertFalse(
         client.is_commit_in_orphaned_subtree(self.last_version))
Example #3
0
 def test_orphaned_overflow(self):
     client = GitClient(self.local_path)
     # this failed when passing all ref ids to git log
     self.assertFalse(client.is_commit_in_orphaned_subtree(self.last_version))
Example #4
0
 def test_is_commit_in_orphaned_subtree(self):
     client = GitClient(self.local_path)
     self.assertTrue(client.is_commit_in_orphaned_subtree(self.dangling_version))
     self.assertFalse(client.is_commit_in_orphaned_subtree(self.no_br_tag_version))
     self.assertFalse(client.is_commit_in_orphaned_subtree(self.diverged_branch_version))