Inconsistent Diff behavior
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
TortoiseBZR |
Confirmed
|
Low
|
Unassigned |
Bug Description
The behavior of Diff in various menus is not consistent.
This relates to user configured diff programs and modifying a file under version control.
Steps:
1) Modify a text file currently in version control by adding a line of text.
2) Right click on that file in Windows Explorer. Tortoise Bazaar -> Diff
3) Observe that it launches the DEFAULT diff program, not the user configured default.
4) Select 'Using' drop down from the default diff window, select another diff program (eg. WinMerge or Diffuse)
5) Observe error:
External Diff
Description
C:/program files/winmerge/
Status
bzr: ERROR: Path(s) are not versioned: C:
\testBazaar\
[OK] [Cancel]
6) Back in Windows Explorer, Rick Click that source file. Tortoise Bazaar -> Revert
7) From the Revert dialog, select Diff (button at the bottom, as it is)
8) Observe the correct launch of user configured diff program with modification vs last commit!
So, we seem to have an issue at (3) where the user configured diff program is not used by the context menu 'diff'.
We also have an issue from that dialog where the manually selected diff program will not launch.
However we know it all should work because (8) shows exactly what I am after, a diff of the current vs last commit with my user configured diff program.
As I know TortoiseBzr simply invokes `bzr qdiff` command (qdiff command from QBzr plugin). Therefore most likely this problem has roots in QBzr plugin (behaviour of qdiff command).
Gary, what do you think?