Re: [viewvc-users] "Annotate" error on RHEL5

Will Yardley <[email protected]> Tue, 8 Apr 2014 20:24:56 -0700
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <[email protected]>
On Tue, Apr 08, 2014 at 10:45:42PM -0400, C. Michael Pilato wrote:

> Hrm... you've stumped me on this one.  Subversion is clearly complaining
> because it doesn't like the format of a path (or maybe URL) it has been
> asked to use as the basepath for a longer one.  Usually when Subversion
> is making this kind of complaint, it's due to a path that has a trailing
> slash, or a URL that's not URI-encoded properly ... that kind of thing.
 
I'm just using
root_parents = /srv/foo.example.com/subversion: svn

this path has a bunch of repos in it; the behavior is the same for each.

/bin/pwd from within one of the repos reports what you'd expect:
/srv/foo.example.com/subversion/bar for repo bar (/srv is a separate
mountpoint, but it's not a symlink, and none of the elements of the repo
path is a symlink either).

> What does the ViewVC rootpath in question look like here?  Are you able
> to debug ViewVC enough to figure out where the non-compliant path is
> coming from?

I tried syslogging 'path' from markup_or_annotate, and it contains a
list, with two elements of the path:

['ldap', 'find_associated_hosted_accounts.py']

(ldap is a subdir of the SVN repo).

It seems to maybe be dying at line 1979 of viewvc.py:
blame_source, revision = request.repos.annotate(path, rev, False)

If you can give me a general idea of where to poke around, I can try to
debug it a bit.

w

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=3076136

To unsubscribe from this discussion, e-mail: [[email protected]].