Commits

Matt Mackall committed 2be3001 Merge

Merge with crew

  • Participants
  • Parent commits 6024216, e6a7a6a
  • Tags 0.9.1

Comments (0)

Files changed (1)

File contrib/convert-repo

         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()