Commit 12b2f12a authored by Matt Mackall's avatar Matt Mackall

Merge with crew

......@@ -28,7 +28,8 @@ class convert_git:
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()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment