Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Dolphin service menu for Tortoise HG
[Desktop Entry]
Type=Service
X-KDE-ServiceTypes=KonqPopupMenu/Plugin,inode/directory,all/allfiles
X-KDE-Submenu=Mercurial
Actions=Log;Status;Shelve;Diff;Commit;Add;Revert;Rename;Forget;Remove;Update;Search;Synch;Serve;Clone;Init;Ignore;Guess;Recovery;Repoconfig;Userconfig;Aboutthg;
[Desktop Action Log]
Name=Repository Explorer
Icon=tortoisehg/icons/svg/repobrowse.svg
Exec=thg -R "$(hg root --cwd %f)" --newworkbench
[Desktop Action Status]
Name=View File Status
Icon=tortoisehg/icons/svg/status.svg
Exec=thg -R "$(hg root --cwd %f)" status
[Desktop Action Shelve]
Name=Shelve Changes
Icon=tortoisehg/icons/svg/shelve.svg
Exec=thg -R "$(hg root --cwd %f)" shelve
[Desktop Action Diff]
Name=Visual Diff
Icon=tortoisehg/icons/menudiff.ico
Exec=thg -R "$(hg root --cwd %f)" vdiff
[Desktop Action Commit]
Name=Commit
Icon=tortoisehg/icons/svg/commit.svg
Exec=thg -R "$(hg root --cwd %f)" commit
[Desktop Action Add]
Name=Add Files...
Icon=tortoisehg/icons/svg/add.svg
Exec=thg -R "$(hg root --cwd %f)" add %f
[Desktop Action Revert]
Name=Revert Files...
Icon=tortoisehg/icons/svg/revert.svg
Exec=thg -R "$(hg root --cwd %f)" revert %f
[Desktop Action Rename]
Name=Rename Files...
Icon=tortoisehg/icons/svg/recovery.svg
Exec=thg -R "$(hg root --cwd %f)" rename %f
[Desktop Action Forget]
Name=Forget Files...
Icon=tortoisehg/icons/svg/remove.svg
Exec=thg -R "$(hg root --cwd %f)" forget %f
[Desktop Action Remove]
Name=Remove Files...
Icon=tortoisehg/icons/svg/remove.svg
Exec=thg -R "$(hg root --cwd %f)" remove %f
[Desktop Action Update]
Name=Update...
Icon=tortoisehg/icons/svg/checkout.svg
Exec=thg -R "$(hg root --cwd %f)" update
[Desktop Action Search]
Name=Search History
Icon=tortoisehg/icons/svg/repobrowse.svg
Exec=thg -R "$(hg root --cwd %f)" datamine
[Desktop Action Synch]
Name=Synchronize
Icon=tortoisehg/icons/svg/sync.svg
Exec=thg -R "$(hg root --cwd %f)" synch
[Desktop Action Serve]
Name=Web Server
Icon=tortoisehg/icons/svg/proxy.svg
Exec=thg -R "$(hg root --cwd %f)" serve
[Desktop Action Clone]
Name=Clone...
Icon=tortoisehg/icons/svg/clone.svg
Exec=thg clone %f
[Desktop Action Init]
Name=Create Repository Here
Icon=tortoisehg/icons/svg/init.svg
Exec=thg init %f
[Desktop Action Ignore]
Name=Edit Ignore Filter
Icon=tortoisehg/icons/svg/ignore.svg
Exec=thg -R "$(hg root --cwd %f)" hgignore %f
[Desktop Action Guess]
Name=Guess Renames
Icon=tortoisehg/icons/svg/detect_rename.svg
Exec=thg -R "$(hg root --cwd %f)" guess %f
[Desktop Action Recovery]
Name=Recovery...
Icon=tortoisehg/icons/svg/recovery.svg
Exec=thg -R "$(hg root --cwd %f)" recovery %f
[Desktop Action Repoconfig]
Name=Repository settings
Icon=tortoisehg/icons/settings_repo.ico
Exec=thg -R "$(hg root --cwd %f)" repoconfig
[Desktop Action Userconfig]
Name=Global Settings
Icon=tortoisehg/icons/settings_user.ico
Exec=thg -R "$(hg root --cwd %f)" userconfig
[Desktop Action Aboutthg]
Name=About TortoiseHg
Icon=tortoisehg/icons/svg/thg_logo.svg
Exec=thg about
@RuralHunter

This comment has been minimized.

Copy link

@RuralHunter RuralHunter commented Nov 1, 2016

How to install it in Dolphin?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment