The BitKeeper 5.0 release removes SCCS directories from projects and this broke the BitKeeper detection in tkdiff.
The attached patch just runs 'bk root" to see if the local directory is managed by bitkeeper.
It pretty much just rearranges the existing code.