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

Merge with crew

Loading
...@@ -28,7 +28,8 @@ ...@@ -28,7 +28,8 @@
self.path = path self.path = path
def getheads(self): 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): def catfile(self, rev, type):
if rev == "0" * 40: raise IOError() 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