Hi,
I am using BC 3.3.5 (Build 15075) Pro version on Ubuntu Linux. I am trying to integrate it with a Perforce-compatible source control system. When diff'ing a changelist, this source control system calls the program specified by the env variable $P4DIFF with left and right files as below:
$P4DIFF old-file new-file.
If there are multiple files in the changelist, the source control system makes the above call for each pair and waits for the BC window to be closed before launching the next file pair comparison.
When I set $P4DIFF to /usr/bin/bcompare, things work as expected.
Now, I want ALL comparions of files in the changelist to be shown in one BC window. Luckily, our source control system supports an environment variable, say MULTI_DIFF, which when set to 1, causes the source control system to call P4DIFF with all file pairs, separated by ":". E.g.:
$P4DIFF : /tmp/cache/file1#61 /home/me/file1 : /tmp/cache/file2#18 /home/me/file2 : /tmp/cache/file3#52 /home/me/file3
This fails since this seems to be a wrong command line format for bcompare.exe.
I would like to have BC open all files in a changelist in a SINGLE window simultaneously. To this end, I have the following questions?
1) What is the command line for bcompare.exe for passing multiple pairs of files for comparisons? I am thinking of pointing $P4DIFF to a shell script in which I will invoke bcompare.exe with the files, in the right format (e.g. without the ":" separator, etc.)
2) Will BC open these multiple pairs in multiple tabs in a single window?
3) Is there a way to have the multiple files appear as a listing in a separate pane (similar to package explore pane in Eclipse). An item in such a pane could be labeled with just the file name (e.g file1.java). It would be awesome to be able to jump between multiple files in a changelist at ease (tabs is a little difficult to do, IMO).
I look forward to your answers. And thanks for the wonderful software your company has produced!
I am using BC 3.3.5 (Build 15075) Pro version on Ubuntu Linux. I am trying to integrate it with a Perforce-compatible source control system. When diff'ing a changelist, this source control system calls the program specified by the env variable $P4DIFF with left and right files as below:
$P4DIFF old-file new-file.
If there are multiple files in the changelist, the source control system makes the above call for each pair and waits for the BC window to be closed before launching the next file pair comparison.
When I set $P4DIFF to /usr/bin/bcompare, things work as expected.
Now, I want ALL comparions of files in the changelist to be shown in one BC window. Luckily, our source control system supports an environment variable, say MULTI_DIFF, which when set to 1, causes the source control system to call P4DIFF with all file pairs, separated by ":". E.g.:
$P4DIFF : /tmp/cache/file1#61 /home/me/file1 : /tmp/cache/file2#18 /home/me/file2 : /tmp/cache/file3#52 /home/me/file3
This fails since this seems to be a wrong command line format for bcompare.exe.
I would like to have BC open all files in a changelist in a SINGLE window simultaneously. To this end, I have the following questions?
1) What is the command line for bcompare.exe for passing multiple pairs of files for comparisons? I am thinking of pointing $P4DIFF to a shell script in which I will invoke bcompare.exe with the files, in the right format (e.g. without the ":" separator, etc.)
2) Will BC open these multiple pairs in multiple tabs in a single window?
3) Is there a way to have the multiple files appear as a listing in a separate pane (similar to package explore pane in Eclipse). An item in such a pane could be labeled with just the file name (e.g file1.java). It would be awesome to be able to jump between multiple files in a changelist at ease (tabs is a little difficult to do, IMO).
I look forward to your answers. And thanks for the wonderful software your company has produced!
Comment