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

Re: Problem sharing new project with existing repository

From: Mark Phippard <markp_at_softlanding.com>
Date: 2005-12-14 18:07:40 CET

Chris Herborth <chrish@pobox.com> wrote on 12/14/2005 10:57:05 AM:

> I've got an existing (and working :-) SVN server on my LAN, accessed
via:
>
> http://{hostname}:8000/svn/utils
>
> Currently, it's got one project in it, itunes2html. I can check out
> this project and manage it with Subclipse no problem.
>
> I've created a new Eclipse project with various directories and files in

> it, and I want to add it to the repository. I right-click the project,
> choose Team -> Share Project... and attempt to send it into the
> repository using the project name ("Widgets").
>
> I get back a 400 Bad Request error from my Apache server. Here's the
> full error from the Eclipse console:
>
> svn: PROPFIND request failed on '/svn/utils/!svn/bc/2/Widgets'
> svn: svn: '/svn/utils/!svn/bc/2/Widgets' path not found
> mkdir -m "Initial import." http://{hostname}:8000/svn/utils/Widgets
> svn: CHECKOUT request failed on '/svn/utils/!svn/ver/2/'
> svn: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>400 Bad Request</title>
> </head><body>
> <h1>Bad Request</h1>
> <p>Your browser sent a request that this server could not understand.<br
/>
> </p>
> <hr>
> <address>Apache/2.0.54 (Win32) DAV/2 SVN/1.1.3 Server at {hostname} Port

> 8000</address>
> </body></html>
>
> The client is Eclipse 3.1 running the current Subclipse with the pure
> Java svn adapter. To my untrained eye, it appears to be trying to check

> out a non-existent directory ("Widgets") instead of importing the
project.
>
> Is this functionality broken (or not implemented) in the current
> Subclipse? It would be obnoxious to have to drop down to the
> command-line to import new projects.

Subclipse uses a better approach than import. It first does a mkdir, then
a checkout of that dir into your existing structure. This turns your
project into a valid WC full of unversioned items that you can then
commit. If we used Import, you would then have to delete your project and
check it out again.

This error message sounds like a configuration issue. The server is
saying it does not understand the CHECKOUT command which is a DAV method.
Have you tried using the command line at all with the same URL. Can you
do svn ls or svn mkdir using the command line client? I am guessiong you
can't.

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
Received on Thu Dec 15 04:07:40 2005

This is an archived mail posted to the Subclipse Users mailing list.

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