equal
deleted
inserted
replaced
25 return [ hg.hex(x) for x in h ] |
25 return [ hg.hex(x) for x in h ] |
26 |
26 |
27 def putfile(self, f, e, data): |
27 def putfile(self, f, e, data): |
28 self.repo.wwrite(f, data, e) |
28 self.repo.wwrite(f, data, e) |
29 if self.repo.dirstate.state(f) == '?': |
29 if self.repo.dirstate.state(f) == '?': |
30 self.repo.dirstate.update([f], "a") |
30 self.repo.dirstate.add(f) |
31 |
31 |
32 def copyfile(self, source, dest): |
32 def copyfile(self, source, dest): |
33 self.repo.copy(source, dest) |
33 self.repo.copy(source, dest) |
34 |
34 |
35 def delfile(self, f): |
35 def delfile(self, f): |