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

Re: Re: rails project for google code

From: David Chapman <dcchapman_at_earthlink.net>
Date: 2007-12-06 09:36:20 CET

Thufir wrote:
> Andy Levy <andy.levy <at> gmail.com> writes:
> [...]
>
>> I'm away from a Linux box right now, but what were you attempting to
>> achieve here? What are the contents of ~/rubyCode/?
>>
>>
>>> and then if I use the same command which I initially used to check in the
>>> first time around I get an error. So, I guess I should start with
>>> deleting the "trunk" and getting a clean slate?
>>>
>> And what might that error be? We aren't on your system, we aren't
>> watching you type. If you don't tell us what the error is, we can't
>> tell you where you went wrong, nor what to do.
>>
>
> The error below is apparently due to the repository's /trunk directory being
> fully populated with a tree of software. The MKCOL fails because it can't
> create a directory (/trunk/test) which already exists. To reimport, I should
> delete everything in the way first?
>
> thufir@arrakis ~/rubyCode/foo $
> thufir@arrakis ~/rubyCode/foo $ pwd
> /home/thufir/rubyCode/foo
> thufir@arrakis ~/rubyCode/foo $ ll
> total 0
> thufir@arrakis ~/rubyCode/foo $
> thufir@arrakis ~/rubyCode/foo $ svn checkout
> https://rss-on-rails.googlecode.com/svn/trunk/rss-on-rails --username
> hawat.thufir
> A rss-on-rails/test
> A rss-on-rails/test/unit
> A rss-on-rails/test/unit/item_test.rb
> A rss-on-rails/test/unit/feed_test.rb
> A rss-on-rails/test/unit/node_test.rb
> A rss-on-rails/test/unit/category_test.rb
> A rss-on-rails/test/test_helper.rb
> A rss-on-rails/test/functional
> svn: Caught signal
> thufir@arrakis ~/rubyCode/foo $
> thufir@arrakis ~/rubyCode/foo $ ll
> total 4
> drwxr-xr-x 4 thufir users 4096 Nov 30 20:52 rss-on-rails
> thufir@arrakis ~/rubyCode/foo $
> thufir@arrakis ~/rubyCode/foo $ svn import rss-on-rails/
> https://rss-on-rails.googlecode.com/svn/trunk/rss-on-rails --username
> hawat.thufir
> svn: MKCOL of '/svn/!svn/wrk/76c45449-df54-4d50-8b50-637a5e2b4177/
> trunk/rss-on-rails/test': 405 Method Not Allowed (https://rss-on-
> rails.googlecode.com)
> svn: Your commit message was left in a temporary file:
> svn: 'svn-commit.tmp'
> thufir@arrakis ~/rubyCode/foo $
> thufir@arrakis ~/rubyCode/foo $ cat /etc/gentoo-release
> Gentoo Base System release 1.12.9
> thufir@arrakis ~/rubyCode/foo $
> thufir@arrakis ~/rubyCode/foo $ date
> Fri Nov 30 20:53:38 PST 2007
> thufir@arrakis ~/rubyCode/foo $
> thufir@arrakis ~/rubyCode/foo $
>
The error message isn't very clear, but you've created a working copy on
your disk from the repository and now you are trying to re-import files
from it. "svn import" is used to create a new tree of files in the
repository using an unversioned source tree, not a working copy. "svn
commit" is used to commit changes to an already-existing repository
directory from a working copy.
What is the "caught signal" message in the middle of your transcript?
Did you interrupt the checkout in the middle? That may result in an
invalid ("wedged") working copy, in which case you would need to create
another working copy (or delete the first and start the checkout over
again, if you haven't made any changes in it).

Finally, have you read the Subversion book? If not, an online copy is
available at http://svnbook.red-bean.com/

> thanks,
>
> Thufir
>
> ps: pardon, I haven't had time to formulate my question well, just haven't had
> the time to sit down for more than a few minutes.
>

-- 
    David Chapman         dcchapman@earthlink.net
    Chapman Consulting -- San Jose, CA
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 6 09:36:35 2007

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

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