summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-01-04 10:36:43 +0100
committerSebastian Thiel <byronimo@gmail.com>2015-01-04 10:36:43 +0100
commita8535d1a2485b4e063ab9ef0a2719a1aab8187d3 (patch)
treebc67a55aa22a169734d01acd6a5e63ddc1409122
parente3e8ce69bec72277354eff252064a59f515d718a (diff)
downloadgitpython-a8535d1a2485b4e063ab9ef0a2719a1aab8187d3.tar.gz
Intermediate debug commit for travis ... do not use
-rw-r--r--git/refs/log.py2
-rw-r--r--git/test/test_repo.py4
2 files changed, 4 insertions, 2 deletions
diff --git a/git/refs/log.py b/git/refs/log.py
index 742c9ccd..e0f92fbe 100644
--- a/git/refs/log.py
+++ b/git/refs/log.py
@@ -197,6 +197,8 @@ class RefLog(list, Serializable):
the index is negative
"""
fp = open(filepath, 'rb')
+ # DEBUG
+ print filepath
if index < 0:
return RefLogEntry.from_line(fp.readlines()[index].strip())
else:
diff --git a/git/test/test_repo.py b/git/test/test_repo.py
index 64525ed1..1079cd04 100644
--- a/git/test/test_repo.py
+++ b/git/test/test_repo.py
@@ -588,8 +588,8 @@ class TestRepo(TestBase):
self.failUnlessRaises(NotImplementedError, rev_parse, "@{1 week ago}")
# the last position
- # For some reason, this test fails on travis - lets gather more information
- print self.rorepo
+ # For some reason, this test fails on travis - even though there is a rev log
+ # from all I see there.
assert rev_parse('@{1}') != head.commit
def test_repo_odbtype(self):