[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svn import repository?

From: Sander Smeenk <ssmeenk_at_freshdot.net>
Date: 2002-01-18 15:11:58 CET

Hey,

This error I get when I try to import a new project tells me nothing,
and the link to "NEW USERS START HERE!!" documentation on
subversion.tigris.org is down too, so this is my next resort.

Can someone explain this error:

| % svn import http://host.com:6969/svn/repos helloworld helloworld
| svn_error: #21075 : <RA layer's server request failed>
| The CHECKOUT request failed (http #409) (/svn/repos/$svn/bln/0)

If I try importing a repository on the server itself, it works:

| matrix:/extra/test# ./hello
| Hello World!
| matrix:/extra/text# cd ..
| matrix:/extra# svn import file:///var/svn test
| Adding (bin) ./hello
| Adding ./hello.c
| Commit succeeded.

I sniffed the conversation between my station and the server.
I hope this is usefull for you, because I don't know what all these
special HTTP result-codes mean... It goes a little something like this:
(my hostname was replaced by host.com)

# set nowrap

| OPTIONS /svn/repos HTTP/1.1
| User-Agent: SVN/0.7.0 neon/0.17.2
| Keep-Alive:
| Connection: TE, Keep-Alive
| TE: trailers
| Content-Length: 104
| Content-Type: text/xml
| Host: host.com:6969
|
| <?xml version="1.0" encoding="utf-8"?><D:options xmlns:D="DAV:"><D:activity-collection-set/></D:options>HTTP/1.1 200 OK
| Date: Fri, 18 Jan 2002 12:43:01 GMT
| Server: Apache/2.0.28Debian (Unix) DAV/2 SVN/0.7.0
| DAV: 1
| DAV: version-control,checkout,working-resource
| DAV: merge,baseline,activity,version-controlled-collection
| MS-Author-Via: DAV
| Allow: OPTIONS,GET,HEAD,POST,DELETE,TRACE,PROPFIND,PROPPATCH,COPY,MOVE
| Content-Length: 189
| Keep-Alive: timeout=15, max=100
| Connection: Keep-Alive
| Content-Type: text/xml; charset="utf-8"
|
| <?xml version="1.0" encoding="utf-8"?>
| <D:options-response xmlns:D="DAV:">
| <D:activity-collection-set><D:href>/svn/repos/$svn/act/</D:href></D:activity-collection-set></D:options-response>
| MKACTIVITY /svn/repos/$svn/act//bc140c2b-d21d-b211-a94e-ad11f89a19b0 HTTP/1.1
| User-Agent: SVN/0.7.0 neon/0.17.2
| Connection: TE
| TE: trailers
| Host: host.com:6969
|
| HTTP/1.1 201 Created
| Date: Fri, 18 Jan 2002 12:43:01 GMT
| Server: Apache/2.0.28Debian (Unix) DAV/2 SVN/0.7.0
| Cache-Control: no-cache
| Location: http://host.com/svn/repos/$svn/act/bc140c2b-d21d-b211-a94e-ad11f89a19b0
| Content-Length: 311
| Content-Type: text/html; charset=ISO-8859-1
|
| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
| <html><head>
| <title>201 Created</title>
| </head><body>
| <h1>Created</h1>
| <p>Activity /svn/repos/$svn/act/bc140c2b-d21d-b211-a94e-ad11f89a19b0 has been created.</p>
| <hr />
| <address>Apache/2.0.28Debian Server at host.com Port 80</address>
| </body></html>
| PROPFIND /svn/repos HTTP/1.1
| User-Agent: SVN/0.7.0 neon/0.17.2
| Connection: TE
| TE: trailers
| Depth: 0
| Content-Length: 141
| Content-Type: text/xml
| Host: host.com:6969
|
| <?xml version="1.0" encoding="utf-8"?>
| <propfind xmlns="DAV:"><prop>
| <version-controlled-configuration xmlns="DAV:"/>
| </prop></propfind>
| HTTP/1.1 207 Multi-Status
| Date: Fri, 18 Jan 2002 12:43:02 GMT
| Server: Apache/2.0.28Debian (Unix) DAV/2 SVN/0.7.0
| Content-Length: 382
| Content-Type: text/xml; charset="utf-8"
|
| <?xml version="1.0" encoding="utf-8"?>
| <D:multistatus xmlns:D="DAV:">
| <D:response xmlns:lp1="DAV:" xmlns:lp2="svn:">
| <D:href>/svn/repos/</D:href>
| <D:propstat>
| <D:prop>
| <lp1:version-controlled-configuration><D:href>/svn/repos/$svn/vcc/default</D:href></lp1:version-controlled-configuration>
| </D:prop>
| <D:status>HTTP/1.1 200 OK</D:status>
| </D:propstat>
| </D:response>
| </D:multistatus>
| PROPFIND /svn/repos/$svn/vcc/default HTTP/1.1
| User-Agent: SVN/0.7.0 neon/0.17.2
| Connection: TE
| TE: trailers
| Depth: 0
| Content-Length: 119
| Content-Type: text/xml
| Host: host.com:6969
|
| <?xml version="1.0" encoding="utf-8"?>
| <propfind xmlns="DAV:"><prop>
| <checked-in xmlns="DAV:"/>
| </prop></propfind>
| HTTP/1.1 207 Multi-Status
| Date: Fri, 18 Jan 2002 12:43:02 GMT
| Server: Apache/2.0.28Debian (Unix) DAV/2 SVN/0.7.0
| Content-Length: 348
| Content-Type: text/xml; charset="utf-8"
|
| <?xml version="1.0" encoding="utf-8"?>
| <D:multistatus xmlns:D="DAV:">
| <D:response xmlns:lp1="DAV:" xmlns:lp2="svn:">
| <D:href>/svn/repos/$svn/vcc/default</D:href>
| <D:propstat>
| <D:prop>
| <lp1:checked-in><D:href>/svn/repos/$svn/bln/0</D:href></lp1:checked-in>
| </D:prop>
| <D:status>HTTP/1.1 200 OK</D:status>
| </D:propstat>
| </D:response>
| </D:multistatus>
| CHECKOUT /svn/repos/$svn/bln/0 HTTP/1.1
| User-Agent: SVN/0.7.0 neon/0.17.2
| Connection: TE
| TE: trailers
| Content-Length: 185
| Host: host.com:6969
|
| <?xml version="1.0" encoding="utf-8"?><D:checkout xmlns:D="DAV:"><D:activity-set><D:href>/svn/repos/$svn/act//bc140c2b-d21d-b211-a94e-ad11f89a19b0</D:href></D:activity-set></D:checkout>HTTP/1.1 409 Conflict
| Date: Fri, 18 Jan 2002 12:43:02 GMT
| Server: Apache/2.0.28Debian (Unix) DAV/2 SVN/0.7.0
| Content-Length: 289
| Content-Type: text/html; charset=iso-8859-1
|
| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
| <html><head>
| <title>409 Conflict</title>
| </head><body>
| <h1>Conflict</h1>
| Could not CHECKOUT resource /svn/repos/$svn/bln/0. [409, #0]<p />
| <hr />
| <address>Apache/2.0.28Debian Server at host.com Port 80</address>
| </body></html>

#set wrap

Kind regards,
Sander.

-- 
| Daylight savings time - why are they saving it and where do they keep it?
| 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8  9BDB D463 7E41 08CE C94D
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:57 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.