How to add new context menu item in qlog?
After my first little success in customizing qbzr, now I want to add a new context menu item when looking at a revision and a file in qlog. Please look at the screenshot: http://
There I want to have a new entry (like 'Save file on this revision as...') which allows me to save the selected file at the chosen revision to a specified path.
I understand that I have to modify qlog.py and add in FileListContain
self.file_
And then I have to write this method save_revert_file. At the beginning, it should look like show_file_content, but I will have to change the last three lines, right? Any hints on how I get a standard save-file-
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- QBzr Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- André Bachmann
- Solved:
- Last query:
- Last reply: