Show More
@@ -227,7 +227,14 b' def wrapchangelog(unfichangelog, filtere' | |||
|
227 | 227 | cl = copy.copy(unfichangelog) |
|
228 | 228 | cl.filteredrevs = filteredrevs |
|
229 | 229 | |
|
230 | class filteredchangelog(cl.__class__): | |
|
230 | cl.__class__ = type( | |
|
231 | 'filteredchangelog', (filteredchangelogmixin, cl.__class__), {} | |
|
232 | ) | |
|
233 | ||
|
234 | return cl | |
|
235 | ||
|
236 | ||
|
237 | class filteredchangelogmixin(object): | |
|
231 | 238 |
|
|
232 | 239 |
|
|
233 | 240 |
|
@@ -250,7 +257,7 b' def wrapchangelog(unfichangelog, filtere' | |||
|
250 | 257 | |
|
251 | 258 |
|
|
252 | 259 |
|
|
253 |
|
|
|
260 | for i in super(filteredchangelogmixin, self).revs(start, stop): | |
|
254 | 261 |
|
|
255 | 262 |
|
|
256 | 263 | |
@@ -285,17 +292,17 b' def wrapchangelog(unfichangelog, filtere' | |||
|
285 | 292 |
|
|
286 | 293 | |
|
287 | 294 |
|
|
288 |
|
|
|
295 | return super(filteredchangelogmixin, self).headrevs(revs) | |
|
289 | 296 | |
|
290 | 297 |
|
|
291 | 298 |
|
|
292 | 299 |
|
|
293 | 300 |
|
|
294 |
|
|
|
301 | super(filteredchangelogmixin, self).strip(*args, **kwargs) | |
|
295 | 302 | |
|
296 | 303 |
|
|
297 | 304 |
|
|
298 |
|
|
|
305 | r = super(filteredchangelogmixin, self).rev(node) | |
|
299 | 306 |
|
|
300 | 307 |
|
|
301 | 308 |
|
@@ -306,29 +313,25 b' def wrapchangelog(unfichangelog, filtere' | |||
|
306 | 313 |
|
|
307 | 314 |
|
|
308 | 315 |
|
|
309 |
|
|
|
316 | return super(filteredchangelogmixin, self).node(rev) | |
|
310 | 317 | |
|
311 | 318 |
|
|
312 | 319 |
|
|
313 | 320 |
|
|
314 | 321 |
|
|
315 |
|
|
|
322 | return super(filteredchangelogmixin, self).linkrev(rev) | |
|
316 | 323 | |
|
317 | 324 |
|
|
318 | 325 |
|
|
319 | 326 |
|
|
320 | 327 |
|
|
321 |
|
|
|
328 | return super(filteredchangelogmixin, self).parentrevs(rev) | |
|
322 | 329 | |
|
323 | 330 |
|
|
324 | 331 |
|
|
325 | 332 |
|
|
326 | 333 |
|
|
327 |
|
|
|
328 | ||
|
329 | cl.__class__ = filteredchangelog | |
|
330 | ||
|
331 | return cl | |
|
334 | return super(filteredchangelogmixin, self).flags(rev) | |
|
332 | 335 | |
|
333 | 336 | |
|
334 | 337 | class repoview(object): |
General Comments 0
You need to be logged in to leave comments.
Login now