TortoiseHg shelve-update-unshelve shortcut

477 Views Asked by At

Using TortoiseHg Workbench, almost every time I pull from a remote repository, I have uncommitted code changes so that I need to shelve them before I update and then unshelve them again.

Is there a way to do this all in one click? I seem to remember being able to do this when I used Git (perhaps with GitHub for Windows).

1

There are 1 best solutions below

0
On

Follow-up or comments

Tried to add button to THG GUI

  1. Defined new tool in Tools menu

enter image description here

  1. Added to toolbar (failed, no buttom on toolbar, I suppose, due to icon size /small/ - using path to big icon file instead of embedded may change visibility result)

enter image description here

  1. Tried to add to Revision Context Menu and use added feature

enter image description here

As you can see - button added, but command failed (for unknown reason): using plain hg for PATH\hg.exe is recommendation from "Define tool" window from THG