Isn't this a one-line fix? Just calling os.path.samepath in the "osutils.relpath" function instead of expecting "head" and "base" to be identical seems to fix it for me. os.path.samepath doesn't exist on Windows but that should be easy to fix.
I would submit a patch, but I have no idea how to write a test case. So I clicked hopefully on the Guide to Testing Bazaar at http://doc.bazaar-vcs.org/bzr.dev/en/developer-guide/testing.html, but it appears to be a broken link.
Isn't this a one-line fix? Just calling os.path.samepath in the "osutils.relpath" function instead of expecting "head" and "base" to be identical seems to fix it for me. os.path.samepath doesn't exist on Windows but that should be easy to fix.
I would submit a patch, but I have no idea how to write a test case. So I clicked hopefully on the Guide to Testing Bazaar at doc.bazaar- vcs.org/ bzr.dev/ en/developer- guide/testing. html, but it appears to be a broken link.
http://