fix GitRepository revision function
This commit is contained in:
parent
5115ce2faf
commit
fc528c0f65
@ -52,8 +52,8 @@ class Repository(object):
|
||||
class GitRepository(Repository):
|
||||
|
||||
def revision (self):
|
||||
return repository.refs['HEAD']
|
||||
|
||||
return self.repository.refs['HEAD']
|
||||
|
||||
|
||||
def areTherePendingChanges (self):
|
||||
return repository.is_dirty()
|
||||
|
Loading…
Reference in New Issue
Block a user