[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] Re: CVS fails to work with locations having slash at end
|
Igor,
You wrote,
> I can just only login to locations such as :pserver:user@xxxxxxxx:/cvsroot/
> (slash at end of the path), but when exploring deeper I get errors "The CVS
> repository reported problems. protocol error: directory /cvsroot/project is
> not under /cvsroot/". Changing location to :pserver:user@xxxxxxxx:/cvsroot/
> fixes the problem, but I use CVS server where I have no control and can't
> change authentication rules to allow such location. Other CVS tools allows
> using cvsroot paths with slash at end.
I am looking into this issue but I need some clarification on your
situation.
First, I'll share my findings:
- I tried the following cvs command from the command line
cvs -d :pserver:user@host:/repo/ login
This login is reject with the message "no such repository"
even though the repository named repo exists and conections
without the trailing slash succeed.
- From Eclipse, including the trailing slash causes authentication
to fail as above but we do not pass the message from CVS on to the
user (a PR for this has been raised but it is really a side issue)
Therefore, it appears that it is pserver that doesn't like the trailing
slash.
The solution would be to not allow the user to specify a trailing slash in
a repository location. However, from what you've written, it sounds like
you need to be able to include the trailing slash due to the way your
server is
configured. Is this so? If it is, can you let me know how your server is
configured so we can look into this in more depth?
Thanks,
Mike