Hi there,
I recently added Beyond Compare as the Diff/Merge utility to use when doing 2/3 way merges from our Source Control Surround SCM.
The command line I have are as follows:
2 way: <path>\bcomp.exe "%1" "%2"
3 way: <path>\bcomp.exe "%1" "%2" "%3"
When a merge/diff is required BC fires up okay, without any problems. The files appear to be in the correct panes, and the merge looks good. Surround "waits" for Bcomp.exe to return (die) before detecting that the merged file is saved to disk so it can proceed checking the file in etc.
As soon as I drop OR enter any text into the "Enter a filename" combo box at the bottom of the window for the merged file, the BCOMP.EXE process dies off causing Surround to take over and realize that the merge file has not been changed, so no checkin etc.
I wrote a batch file to test my theory.. It simply calls BCOMP with 3 files as parameters, and calls "pause" when bcomp.exe is finished... And sure enough, pause appears as soon as I touch the filename combo.
Am I firing up BC correctly? Missing a parameter? Any help you can provide would be great...
Cheers
M
I recently added Beyond Compare as the Diff/Merge utility to use when doing 2/3 way merges from our Source Control Surround SCM.
The command line I have are as follows:
2 way: <path>\bcomp.exe "%1" "%2"
3 way: <path>\bcomp.exe "%1" "%2" "%3"
When a merge/diff is required BC fires up okay, without any problems. The files appear to be in the correct panes, and the merge looks good. Surround "waits" for Bcomp.exe to return (die) before detecting that the merged file is saved to disk so it can proceed checking the file in etc.
As soon as I drop OR enter any text into the "Enter a filename" combo box at the bottom of the window for the merged file, the BCOMP.EXE process dies off causing Surround to take over and realize that the merge file has not been changed, so no checkin etc.
I wrote a batch file to test my theory.. It simply calls BCOMP with 3 files as parameters, and calls "pause" when bcomp.exe is finished... And sure enough, pause appears as soon as I touch the filename combo.
Am I firing up BC correctly? Missing a parameter? Any help you can provide would be great...
Cheers
M
Comment