Fix our svn source of a branch recognition mechanism
Unless there's some sneaky way to call svn that I'm not aware of
(certainly possible!) when you retrieve a file's copyfrom-rev in
a:
svn log -v --xml URL
... it sometimes gives you the copyfrom-rev which doesn't actually
match the true copyfrom-rev. So, this adds in logic to detect that
*and* correct our idea of the true nature of the source.