strip: fix revset usage (
issue3604)
The `repair` code builds a giant revset query instead of using the "%lr" idiom.
It is inefficient and crash when the number of stripped changeset is too big.
This changeset replaces the bad code by a better revset usage.
i18n-ja: synchronized with
9d9d15928521
histedit: factored out diff/patch logic
This patch is the first step towards a refactoring of the histedit
extension to use underlying graft machinery instead of diff/patch as
discussed in
issue3527. Replacing diff/patch with graft is necessary
to fix, for example,
issue3582.