hgext/convert/git.py
changeset 5121 ef338e34a906
parent 4873 28b23b9073a8
child 5246 7d3dcdd92a1a
equal deleted inserted replaced
5120:514c06098e9c 5121:ef338e34a906
    46             h = m[3]
    46             h = m[3]
    47             p = (m[1] == "100755")
    47             p = (m[1] == "100755")
    48             s = (m[1] == "120000")
    48             s = (m[1] == "120000")
    49             self.modecache[(f, h)] = (p and "x") or (s and "l") or ""
    49             self.modecache[(f, h)] = (p and "x") or (s and "l") or ""
    50             changes.append((f, h))
    50             changes.append((f, h))
    51         return changes
    51         return (changes, {})
    52 
    52 
    53     def getcommit(self, version):
    53     def getcommit(self, version):
    54         c = self.catfile(version, "commit") # read the commit hash
    54         c = self.catfile(version, "commit") # read the commit hash
    55         end = c.find("\n\n")
    55         end = c.find("\n\n")
    56         message = c[end+2:]
    56         message = c[end+2:]