equal
deleted
inserted
replaced
130 """get a file context from this changeset""" |
130 """get a file context from this changeset""" |
131 if fileid is None: |
131 if fileid is None: |
132 fileid = self.filenode(path) |
132 fileid = self.filenode(path) |
133 return filectx(self._repo, path, fileid=fileid, |
133 return filectx(self._repo, path, fileid=fileid, |
134 changectx=self, filelog=filelog) |
134 changectx=self, filelog=filelog) |
135 |
|
136 def filectxs(self): |
|
137 """generate a file context for each file in this changeset's |
|
138 manifest""" |
|
139 for f in util.sort(mf): |
|
140 yield self.filectx(f, fileid=mf[f]) |
|
141 |
135 |
142 def ancestor(self, c2): |
136 def ancestor(self, c2): |
143 """ |
137 """ |
144 return the ancestor context of self and c2 |
138 return the ancestor context of self and c2 |
145 """ |
139 """ |