hgext/fix.py
changeset 38770 260c17eaf3f7
parent 38590 f068495a1c28
child 38811 64535d43c103
equal deleted inserted replaced
38769:e252f136b948 38770:260c17eaf3f7
   265     changed relative to any of the base contexts. Base contexts should be
   265     changed relative to any of the base contexts. Base contexts should be
   266     ancestors of the context being fixed.
   266     ancestors of the context being fixed.
   267     """
   267     """
   268     files = set()
   268     files = set()
   269     for basectx in basectxs:
   269     for basectx in basectxs:
   270         stat = repo.status(
   270         stat = basectx.status(fixctx, match=match, listclean=bool(pats),
   271             basectx, fixctx, match=match, clean=bool(pats), unknown=bool(pats))
   271                               listunknown=bool(pats))
   272         files.update(
   272         files.update(
   273             set(itertools.chain(stat.added, stat.modified, stat.clean,
   273             set(itertools.chain(stat.added, stat.modified, stat.clean,
   274                                 stat.unknown)))
   274                                 stat.unknown)))
   275     return files
   275     return files
   276 
   276