##// END OF EJS Templates
record: removed 'has_key' usage...
Renato Cunha -
r11564:9bbfeba3 default
parent child Browse files
Show More
@@ -486,7 +486,8 b' def dorecord(ui, repo, commitfunc, *pats'
486
486
487 # 3a. apply filtered patch to clean repo (clean)
487 # 3a. apply filtered patch to clean repo (clean)
488 if backups:
488 if backups:
489 hg.revert(repo, repo.dirstate.parents()[0], backups.has_key)
489 hg.revert(repo, repo.dirstate.parents()[0],
490 lambda key: key in backups)
490
491
491 # 3b. (apply)
492 # 3b. (apply)
492 if dopatch:
493 if dopatch:
General Comments 0
You need to be logged in to leave comments. Login now