mercurial/commands.py
changeset 1626 f2b1df3dbcbb
parent 1625 e1bcf7fa983f
child 1633 94c179a92f4a
equal deleted inserted replaced
1625:e1bcf7fa983f 1626:f2b1df3dbcbb
   264            changes=None, text=False):
   264            changes=None, text=False):
   265     if not changes:
   265     if not changes:
   266         changes = repo.changes(node1, node2, files, match=match)
   266         changes = repo.changes(node1, node2, files, match=match)
   267     modified, added, removed, deleted, unknown = changes
   267     modified, added, removed, deleted, unknown = changes
   268     if files:
   268     if files:
   269         modified, added, removed = map(lambda x: filterfiles(x, files),
   269         modified, added, removed = map(lambda x: filterfiles(files, x),
   270                                        (modified, added, removed))
   270                                        (modified, added, removed))
   271 
   271 
   272     if not modified and not added and not removed:
   272     if not modified and not added and not removed:
   273         return
   273         return
   274 
   274