Manuals

Disable context menu entries

As of version 1.5.0 and later, TortoiseSVN allows you to disable (actually, hide) context menu entries. Since this is a feature which should not be used lightly but only if there is a compelling reason, there is no GUI for this and it has to be done directly in the registry. This can be used to disable certain commands for users who should not use them. But please note that only the context menu entries in the explorer are hidden, and the commands are still available through other means, e.g. the command line or even other dialogs in TortoiseSVN itself!

The registry keys which hold the information on which context menus to show are HKEY_CURRENT_USER\Software\TortoiseSVN\ContextMenuEntriesMaskLow and HKEY_CURRENT_USER\Software\TortoiseSVN\ContextMenuEntriesMaskHigh.

Each of these registry entries is a DWORD value, with each bit corresponding to a specific menu entry. A set bit means the corresponding menu entry is deactivated.

Tabel C.1. Menu entries and their values

NilaiMenu entry
0x0000000000000001Checkout
0x0000000000000002Mutahirkan
0x0000000000000004Komit
0x0000000000000008Tambah
0x0000000000000010Pulihkan
0x0000000000000020Membersihkan
0x0000000000000040Selesaikan
0x0000000000000080Saklar
0x0000000000000100Impor
0x0000000000000200Ekspor
0x0000000000000400Buat Repositori Di Sini
0x0000000000000800Cabang/Tag
0x0000000000001000Gabung
0x0000000000002000Hapus
0x0000000000004000Ganti nama
0x0000000000008000Mutahirkan ke revisi
0x0000000000010000Diff
0x0000000000020000Tampilkan Log
0x0000000000040000Edit Konflik
0x0000000000080000Relokasi
0x0000000000100000Periksa modifikasi
0x0000000000200000Abaikan
0x0000000000400000Browser Repositori
0x0000000000800000Blame
0x0000000001000000Buat Patch
0x0000000002000000Terapkan Patch
0x0000000004000000Grafik revisi
0x0000000008000000Lock (Kunci)
0x0000000010000000Lepaskan Kunci
0x0000000020000000Properti-Properti
0x0000000040000000Diff dengan URL
0x0000000080000000Hapus item-item tidak berversi
0x0000000100000000Merge All
0x0000000200000000Diff with previous version
0x0000000400000000Paste
0x0000000800000000Upgrade salinan bekerja
0x0000001000000000Diff later
0x0000002000000000Diff with 'filename'
0x0000004000000000Unified diff
0x2000000000000000Pengaturan
0x4000000000000000Bantuan
0x8000000000000000Tentang


Example: to disable the Relocate the Delete unversioned items and the Settings menu entries, add the values assigned to the entries like this:

0x0000000000080000
+ 0x0000000080000000
+ 0x2000000000000000
= 0x2000000080080000
      

The lower DWORD value (0x80080000) must then be stored in HKEY_CURRENT_USER\Software\TortoiseSVN\ContextMenuEntriesMaskLow, the higher DWORD value (0x20000000) in HKEY_CURRENT_USER\Software\TortoiseSVN\ContextMenuEntriesMaskHigh.

To enable the menu entries again, simply delete the two registry keys.

TortoiseSVN homepage