equal
deleted
inserted
replaced
108 if elt.tag == 'move': |
108 if elt.tag == 'move': |
109 changes.append((elt.get('from'), rev)) |
109 changes.append((elt.get('from'), rev)) |
110 copies[elt.get('from')] = elt.get('to') |
110 copies[elt.get('from')] = elt.get('to') |
111 else: |
111 else: |
112 changes.append((elt.text.strip(), rev)) |
112 changes.append((elt.text.strip(), rev)) |
113 changes.sort() |
|
114 self.lastrev = rev |
113 self.lastrev = rev |
115 return changes, copies |
114 return util.sort(changes), copies |
116 |
115 |
117 def getfile(self, name, rev): |
116 def getfile(self, name, rev): |
118 if rev != self.lastrev: |
117 if rev != self.lastrev: |
119 raise util.Abort(_('internal calling inconsistency')) |
118 raise util.Abort(_('internal calling inconsistency')) |
120 return open(os.path.join(self.tmppath, name), 'rb').read() |
119 return open(os.path.join(self.tmppath, name), 'rb').read() |