|
|||||||
| Register | FAQ | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I'm excited to see that BC is now available for Linux! Many thanks to John (aka Ender) for the Gentoo eBuild!
I wanted to use BC3 as an external diff tool for SVN. I tried BC's Subversion integration instructions but they're clearly aimed at Windows and porting the recommended script didn't work as well as I'd like for what I use BC for. I spent a few minutes fiddling and found a hack to do what I want BC to do in Linux: when I type 'svn diff' BC spawns with each comparison in its own tab. To do this, I wrote the following script and put it in /usr/bin/bcompare_svn: Code:
#!/bin/bash /usr/bin/bcompare $6 $7 & exit 0 To make svn invoke my script, I added the following line in the [helpers] section in ~/.subversion/config Code:
diff-cmd=/usr/bin/bcompare_svn |
|
#2
|
|||
|
|||
|
Hi antik,
Thanks for the information. Are you sure about running BC in the background though? At least one Windows that doesn't work because various version control systems create temp files and delete them when the process ends, so if BC isn't blocking it can delete the files before the original window has a chance to load the comparison.
__________________
Craig P Scooter Software |
|
#3
|
|||
|
|||
|
Not sure about the blocking, but might as well complete the script with titles:
Code:
#!/bin/bash bcompare "$6" "$7" -title1="$3" -title2="$5" exit 0 |
|
#4
|
|||
|
|||
|
Rather than popping up <n> different windows for every file changed, has anyone come up with a way to view a whole change-set in the bcompare file browser?
|
|
#5
|
|||
|
|||
|
Hello,
I am not familiar with an automated way to do this, but you could checkout a specific version of the repository to a Temp Diff folder, and then run a Folder Comparison comparing that folder to your folder. Running a Rules-based comparison would show any changed files, and they could be double-clicked to see more detail.
__________________
Aaron P Scooter Software |
![]() |
| Tags |
| subversion |
| Thread Tools | |
| Display Modes | |
|
|