Commits

Tarek Ziadé committed 87e8793

discard unexisting files - happens on hg rm

Comments (0)

Files changed (1)

     for rev in xrange(repo[kwargs['node']], len(repo)):
         for file_ in repo[rev].files():
             file_ = os.path.join(repo.root, file_)
-            if file_ in seen:
+            if file_ in seen or not os.path.exists(file_):
                 continue
             seen.add(file_)
             if not file_.endswith('.py'):