Commits

Pierre-Yves David committed cb08076

fold: work around potential bug with filtering

Folded revision may be becomes filtered leading to a crash of the replaced rset.

  • Participants
  • Parent commits 218b540
  • Branches default

Comments (0)

Files changed (1)

File hgext/evolve.py

         finally:
             tr.release()
         ui.status('%i changesets folded\n' % len(revs))
-        if repo.revs('. and %ld', revs):
+        if repo['.'].rev() in revs:
             hg.update(repo, newid)
     finally:
         lockmod.release(lock, wlock)