equal
deleted
inserted
replaced
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:] |