Skip to content
Snippets Groups Projects
Commit 2be3001847cb authored by Matt Mackall's avatar Matt Mackall
Browse files

Merge with crew

No related branches found
Tags 0.9.3
No related merge requests found
......@@ -28,7 +28,8 @@
self.path = path
def getheads(self):
return [file(self.path + "/HEAD").read()[:-1]]
fh = os.popen("GIT_DIR=%s git-rev-parse --verify HEAD" % self.path)
return [fh.read()[:-1]]
def catfile(self, rev, type):
if rev == "0" * 40: raise IOError()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment