Show More
@@ -466,12 +466,7 b' class changectx(basectx):' | |||
|
466 | 466 | (source == 'compatibility' and |
|
467 | 467 | self._changeset.filesremoved is not None)): |
|
468 | 468 | return self._changeset.filesremoved or [] |
|
469 | ||
|
470 | removed = [] | |
|
471 | for f in self.files(): | |
|
472 | if f not in self: | |
|
473 | removed.append(f) | |
|
474 | return removed | |
|
469 | return scmutil.computechangesetfilesremoved(self) | |
|
475 | 470 | |
|
476 | 471 | @propertycache |
|
477 | 472 | def _copies(self): |
@@ -1993,3 +1993,12 b' def computechangesetfilesadded(ctx):' | |||
|
1993 | 1993 | if not any(f in p for p in ctx.parents()): |
|
1994 | 1994 | added.append(f) |
|
1995 | 1995 | return added |
|
1996 | ||
|
1997 | def computechangesetfilesremoved(ctx): | |
|
1998 | """return the list of files removed in a changeset | |
|
1999 | """ | |
|
2000 | removed = [] | |
|
2001 | for f in ctx.files(): | |
|
2002 | if f not in ctx: | |
|
2003 | removed.append(f) | |
|
2004 | return removed |
General Comments 0
You need to be logged in to leave comments.
Login now