You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Paulo Matos <po...@netvisao.pt> on 2004/05/12 17:27:42 UTC
Subversion newbie
Hi all,
I'm a new subversion user coming from cvs. I've setup svn as an http
server and in shorewall I allowed traffic through 80 and 443 ports (http
and https). Now, I'm trying to import a tree:
pocm@gemini:~$ svn import repos
http://descartes.no-ip.com/var/svn/repos/ -m "Initial Isabelle and
CQuest import. Isabelle copy is version of 10May2004."
svn: PROPFIND request failed on '/var/svn/repos'
svn: PROPFIND of '/var/svn/repos': 405 Method Not Allowed
(http://descartes.no-ip.com)
Can someone help? Couldn't find what the problem might be. :-/
/var/svn/repos is the repository path at descartes.
Cheers,
Paulo Matos
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Subversion newbie
Posted by Paulo Matos <po...@netvisao.pt>.
The client is indeed behind a proxy but the server isn't. I set up in
the client servers config file a new group and the proxy server and port
but I received the same error.
Now in the server I've started
svnserve -d
And then I tried in the client:
pocm@gemini:~$ svn import repos svn://descartes.no-ip.com/var/svn/repos/
-m "Initial Isabelle and CQuest import. Isabelle copy is version of
10May2004."
And I get:
svn: No repository found in 'svn://descartes.no-ip.com/var/svn/repos'
But I do have a repository there:
descartes root # svnlook info /var/svn/repos
2004-05-11 23:57:06 +0100 (Tue, 11 May 2004)
0
Any help would be appreciated.
Cheers,
Paulo Matos
On Wed, 2004-05-12 at 18:31, Ben Collins-Sussman wrote:
> On Wed, 2004-05-12 at 12:27, Paulo Matos wrote:
>
> > pocm@gemini:~$ svn import repos
> > http://descartes.no-ip.com/var/svn/repos/ -m "Initial Isabelle and
> > CQuest import. Isabelle copy is version of 10May2004."
> > svn: PROPFIND request failed on '/var/svn/repos'
> > svn: PROPFIND of '/var/svn/repos': 405 Method Not Allowed
> > (http://descartes.no-ip.com)
>
> Probably a web proxy blocking DAV requests. See the FAQ about proxies:
>
> http://subversion.tigris.org/project_faq.html#proxy
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Subversion newbie
Posted by Ben Collins-Sussman <su...@collab.net>.
On Wed, 2004-05-12 at 12:27, Paulo Matos wrote:
> pocm@gemini:~$ svn import repos
> http://descartes.no-ip.com/var/svn/repos/ -m "Initial Isabelle and
> CQuest import. Isabelle copy is version of 10May2004."
> svn: PROPFIND request failed on '/var/svn/repos'
> svn: PROPFIND of '/var/svn/repos': 405 Method Not Allowed
> (http://descartes.no-ip.com)
Probably a web proxy blocking DAV requests. See the FAQ about proxies:
http://subversion.tigris.org/project_faq.html#proxy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Subversion newbie
Posted by Scott Lawrence <sl...@pingtel.com>.
On Wed, 2004-05-12 at 14:00, Paulo Matos wrote:
> Gentoo installed the initial repository in /var/svn/repos, so I didn't
> change it.
> When I pass the url to svn I need to pass:
> http://<server_addr>/<absolute_path_to_repository>
> right?
the path part of the repository URL goes through a mapping step in
Apache in order to become an absolute path, so it depends on your apache
configuration. For example, in my server:
<Location /rep>
DAV svn
# any "/rep/foo" URL will map to a repository /scm/rep/foo
SVNParentPath /scm/rep
...
</Location>
the URL path '/rep/foo' would become '/scm/rep/foo'
--
Scott Lawrence
Consulting Engineer
Pingtel Corp.
sip:slawrence@pingtel.com
+1.781.938.5306 x162
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Subversion newbie
Posted by Paulo Jorge de Oliveira Cantante de Matos <po...@netvisao.pt>.
It seems it has to do with the proxy I have at work. At home I can
import everything smoothly. :D Very nice.
Cheers,
Paulo Matos
On Wed, 2004-05-12 at 20:15, Paulo Matos wrote:
> Yes, I already did that.
>
> Thanks,
>
> Paulo Matos
>
> On Wed, 2004-05-12 at 19:46, John Hampton wrote:
> > Paulo Matos wrote:
> > > That way I get to input my username and password but I get yet another
> > > error:
> > > pocm@gemini:~$ svn import repos http://descartes.no-ip.com/svn/repos/ -m
> > > "Initial Isabelle and CQuest import. Isabelle copy is version of
> > > 10May2004."
> > > Authentication realm: <http://descartes.no-ip.com:80> Subversion
> > > repository
> > > Password for 'pocm':
> > > Authentication realm: <http://descartes.no-ip.com:80> Subversion
> > > repository
> > > Username: pmatos
> > > Password for 'pmatos':
> > > svn: MKACTIVITY of
> > > /svn/repos/!svn/act/b0212645-3eda-0310-b8cc-e391f900ef1d: 400 Bad
> > > Request (http://descartes.no-ip.com)
> > >
> > > Any ideas?
> >
> > Did you add your user to /var/svn/conf/svnusers via htpasswd2 ?
> >
> > If not try:
> > htpasswd2 -c /var/svn/conf/svnusers <username>
> >
> > -John
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: users-help@subversion.tigris.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
--
Paulo J. Matos : pocm [_at_] mega . ist . utl . pt
Instituto Superior Tecnico - Lisbon
Computer and Software Eng. - A.I.
- > http://mega.ist.utl.pt/~pocm
---
-> God had a deadline...
So, he wrote it all in Lisp!
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Subversion newbie
Posted by Paulo Matos <po...@netvisao.pt>.
Yes, I already did that.
Thanks,
Paulo Matos
On Wed, 2004-05-12 at 19:46, John Hampton wrote:
> Paulo Matos wrote:
> > That way I get to input my username and password but I get yet another
> > error:
> > pocm@gemini:~$ svn import repos http://descartes.no-ip.com/svn/repos/ -m
> > "Initial Isabelle and CQuest import. Isabelle copy is version of
> > 10May2004."
> > Authentication realm: <http://descartes.no-ip.com:80> Subversion
> > repository
> > Password for 'pocm':
> > Authentication realm: <http://descartes.no-ip.com:80> Subversion
> > repository
> > Username: pmatos
> > Password for 'pmatos':
> > svn: MKACTIVITY of
> > /svn/repos/!svn/act/b0212645-3eda-0310-b8cc-e391f900ef1d: 400 Bad
> > Request (http://descartes.no-ip.com)
> >
> > Any ideas?
>
> Did you add your user to /var/svn/conf/svnusers via htpasswd2 ?
>
> If not try:
> htpasswd2 -c /var/svn/conf/svnusers <username>
>
> -John
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Subversion newbie
Posted by John Hampton <su...@pacopablo.com>.
Paulo Matos wrote:
> That way I get to input my username and password but I get yet another
> error:
> pocm@gemini:~$ svn import repos http://descartes.no-ip.com/svn/repos/ -m
> "Initial Isabelle and CQuest import. Isabelle copy is version of
> 10May2004."
> Authentication realm: <http://descartes.no-ip.com:80> Subversion
> repository
> Password for 'pocm':
> Authentication realm: <http://descartes.no-ip.com:80> Subversion
> repository
> Username: pmatos
> Password for 'pmatos':
> svn: MKACTIVITY of
> /svn/repos/!svn/act/b0212645-3eda-0310-b8cc-e391f900ef1d: 400 Bad
> Request (http://descartes.no-ip.com)
>
> Any ideas?
Did you add your user to /var/svn/conf/svnusers via htpasswd2 ?
If not try:
htpasswd2 -c /var/svn/conf/svnusers <username>
-John
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Subversion newbie
Posted by Paulo Matos <po...@netvisao.pt>.
That way I get to input my username and password but I get yet another
error:
pocm@gemini:~$ svn import repos http://descartes.no-ip.com/svn/repos/ -m
"Initial Isabelle and CQuest import. Isabelle copy is version of
10May2004."
Authentication realm: <http://descartes.no-ip.com:80> Subversion
repository
Password for 'pocm':
Authentication realm: <http://descartes.no-ip.com:80> Subversion
repository
Username: pmatos
Password for 'pmatos':
svn: MKACTIVITY of
/svn/repos/!svn/act/b0212645-3eda-0310-b8cc-e391f900ef1d: 400 Bad
Request (http://descartes.no-ip.com)
Any ideas?
Cheers,
Paulo Matos
On Wed, 2004-05-12 at 19:08, John Hampton wrote:
> Paulo Matos wrote:
> > Gentoo installed the initial repository in /var/svn/repos, so I didn't
> > change it.
> > When I pass the url to svn I need to pass:
> > http://<server_addr>/<absolute_path_to_repository>
> > right?
>
> No. the url should be http://<server_addr>/svn/repos. Now, if you're
> using gentoo you also have to make sure that you have -D SVN and -D DAV
> in /etc/conf.d/apache2. If you don't have those in /etc/conf.d/apache2,
> add them and then restart apache. That should work for you.
>
> -John
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Subversion newbie
Posted by John Hampton <su...@pacopablo.com>.
Paulo Matos wrote:
> Gentoo installed the initial repository in /var/svn/repos, so I didn't
> change it.
> When I pass the url to svn I need to pass:
> http://<server_addr>/<absolute_path_to_repository>
> right?
No. the url should be http://<server_addr>/svn/repos. Now, if you're
using gentoo you also have to make sure that you have -D SVN and -D DAV
in /etc/conf.d/apache2. If you don't have those in /etc/conf.d/apache2,
add them and then restart apache. That should work for you.
-John
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Subversion newbie
Posted by Paulo Matos <po...@netvisao.pt>.
Gentoo installed the initial repository in /var/svn/repos, so I didn't
change it.
When I pass the url to svn I need to pass:
http://<server_addr>/<absolute_path_to_repository>
right?
Cheers,
Paulo Matos
On Wed, 2004-05-12 at 18:48, Ryan Wilcox wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 5/12/04, at 6:27 PM, Paulo Matos said:
>
> >$ svn import repos http://descartes.no-ip.com/var/svn/repos/
>
> >/var/svn/repos is the repository path at descartes.
>
> Are you *sure*? I thought repository paths looked like:
> http://descartes.no-ip.com/svn/repos/
> ?
>
> At least that's what my paths look like (although the actual repository files
> are stored in /usr/local/svn or some such).
>
> Hope this helps,
> _Ryan Wilcox
>
> ================================================================
> Wilcox Development Solutions: http://www.wilcoxd.com
> Toolsmiths for the Internet Age PGP: 0x2F4E9C31
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGP SDK 3.0.3
>
> iQA/AwUBQKJjcG2DtKgvTpwxEQIoAgCg+Fm84kbm02hamtuBpzZtIQzCHUUAn02r
> 6S8EXUHIswFB2bdUjEWbVT8j
> =cMws
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Subversion newbie
Posted by Ryan Wilcox <ry...@mac.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 5/12/04, at 6:27 PM, Paulo Matos said:
>$ svn import repos http://descartes.no-ip.com/var/svn/repos/
>/var/svn/repos is the repository path at descartes.
Are you *sure*? I thought repository paths looked like:
http://descartes.no-ip.com/svn/repos/
?
At least that's what my paths look like (although the actual repository files
are stored in /usr/local/svn or some such).
Hope this helps,
_Ryan Wilcox
================================================================
Wilcox Development Solutions: http://www.wilcoxd.com
Toolsmiths for the Internet Age PGP: 0x2F4E9C31
-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.0.3
iQA/AwUBQKJjcG2DtKgvTpwxEQIoAgCg+Fm84kbm02hamtuBpzZtIQzCHUUAn02r
6S8EXUHIswFB2bdUjEWbVT8j
=cMws
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org