# HG changeset patch
# User Antonio Muci <
a....@inwind.it>
# Date 1779361775 -7200
# Thu May 21 13:09:35 2026 +0200
# Branch stable
# Node ID 64359eb38002436a0600db07c6ace2b0887ed508
# Parent edb6a9b390eb7f58921f27dae285b8b235bc9acf
status: add "Copy Relative Path" action to the working copy's context menu
While the context menu in revdetails (i.e., for a file in an already committed
changeset) contains both "Copy Absolute Path" and "Copy Relative Path", the
context menu for a file in the working copy only contained "Copy Absolute Path".
This changes adds it, in order to make the two menus consistent.
diff --git a/tortoisehg/hgqt/status.py b/tortoisehg/hgqt/status.py
--- a/tortoisehg/hgqt/status.py
+++ b/tortoisehg/hgqt/status.py
@@ -375,6 +375,7 @@ class StatusWidget(QWidget):
'visualDiffFile', 'visualDiffLocalFile', 'copyPatch',
'editLocalFile', 'openLocalFile', 'exploreLocalFile', 'editRejects',
None, 'openSubrepo', 'explore', 'terminal', None, 'copyPath',
+ 'copyRelativePath',
'editMissingFile', None, 'revertWorkingFile', None,
'navigateFileLog', None, 'forgetFile', 'addFile', 'addLargefile',
'guessRename', 'editHgignore', 'removeFile', 'purgeFile', None,