Show More
@@ -265,6 +265,21 b' def computechangesetfilesremoved(ctx):' | |||||
265 | return removed |
|
265 | return removed | |
266 |
|
266 | |||
267 |
|
267 | |||
|
268 | def computechangesetfilesmerged(ctx): | |||
|
269 | """return the list of files merged in a changeset | |||
|
270 | """ | |||
|
271 | merged = [] | |||
|
272 | if len(ctx.parents()) < 2: | |||
|
273 | return merged | |||
|
274 | for f in ctx.files(): | |||
|
275 | if f in ctx: | |||
|
276 | fctx = ctx[f] | |||
|
277 | parents = fctx._filelog.parents(fctx._filenode) | |||
|
278 | if parents[1] != node.nullid: | |||
|
279 | merged.append(f) | |||
|
280 | return merged | |||
|
281 | ||||
|
282 | ||||
268 | def computechangesetcopies(ctx): |
|
283 | def computechangesetcopies(ctx): | |
269 | """return the copies data for a changeset |
|
284 | """return the copies data for a changeset | |
270 |
|
285 |
General Comments 0
You need to be logged in to leave comments.
Login now