comparison tests/test-import.t @ 3453:32ed5b6fadd3

grab: add a command to grab a commit and update to it This patch adds anew command `hg grab` which will pick a commit and put it on the top of the working directory parent and updates to it. Earlier grab was an alias for `hg rebase -r <rev> -d .` which is now deleted to make sure `hg grab` resolves to the grab command and that alias. Continuing interrupted grab functionality is also there using the evolvestate class. Tests are also added for the new introduced command.
author Pulkit Goyal <7895pulkit@gmail.com>
date Thu, 11 Jan 2018 20:03:20 +0530
parents 9f42f819267b
children 995ed7aac8a6
comparison
equal deleted inserted replaced
3449:4a1dc4854648 3453:32ed5b6fadd3