https://defect.opensolaris.org/bz/show_bug.cgi?id=16611



--- Comment #2 from Knut Anders Hatlen <[email protected]> 2010-07-21 
16:51:48 UTC ---
It looks like the sources were checked out with an old version of svn. I see
the same thing when I try to use Subversion 1.1 to check out some other
sources. When I run svn info on those checkouts, even with newer versions of
svn, the repository root is missing. Running svn update with a newer version
upgrades the storage format of the local copy and fixes the issue.

Since we already have minimum version requirements on Subversion (1.4, I think,
because we use the --xml option), I don't think we need to try to make the
parser understand these older checkouts.

It would be nice if it didn't blow up because of it, though.
SubversionRepository.setDirectoryName() [1] already has code to disable history
for the repository if the svn info command fails, by calling setWorking(false).
I think we should do the same if we for some reason don't understand the output
from the command.

[1]
http://src.opensolaris.org/source/xref/opengrok/trunk/src/org/opensolaris/opengrok/history/SubversionRepository.java#setDirectoryName

-- 
Configure bugmail: https://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
opengrok-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opengrok-dev

Reply via email to