From 9ce1193c851e98293a237ad3d2d87725c501e89f Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Thu, 15 Oct 2009 14:11:34 +0200 Subject: Added Commit.iter_parents to iterate all parents Renamed Commit.commits to iter_commits repo: assured proper use of the terms revision ( rev ) and reference ( ref ) --- test/git/test_performance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/git/test_performance.py') diff --git a/test/git/test_performance.py b/test/git/test_performance.py index 96f13a2e..77567515 100644 --- a/test/git/test_performance.py +++ b/test/git/test_performance.py @@ -21,7 +21,7 @@ class TestPerformance(object): # return quite a lot of commits, we just take one and hence abort the operation st = time() - for c in self.repo.commits(): + for c in self.repo.iter_commits('0.1.6'): num_commits += 1 c.author c.authored_date -- cgit v1.2.3