Hi there.. Sorry for asking such simple questions but my host doesn''t
seem
to wipe my subversion repository when I ask for it to be removed, so every
time I test I need to make a new one.. What a mess!
I think I kind of got that, but what I don''t understand is how do the
import
so that my app is structured like that in the repository. Say I have the
following directory structure:
/var/www/trunk1
/var/www/trunk2
/var/www/trunk3
..and I want to import trunk1 into my repository. I tried:
cd /var/www/trunk1
svn import . http://my.repo.url/myproject --username myuser
But this didn''t work. It didn''t put trunk1 as the root of my
project. I
also tried this:
cd /var/www
svn import trunk1 http://my.repo.url/myproject --username myuser
But this didn''t work either, it had the same effect.
I can''t cd to /var/www and import . because that will import too much.
Please straighten me out! I must be misunderstanding something very
simple. Thanks muchly.
On 8/18/06, Devin Ben-Hur <devin@ben-hur.net>
wrote:>
> Gene Horodecki wrote:
> > I''ve been wrestling with this all night, I''m hoping
someone can help. I
> > followed the exact steps in:
> >
> > http://wiki.rubyonrails.org/rails/pages/HowtoUseRailsWithSubversion
> >
<http://wiki.rubyonrails.org/rails/pages/HowtoUseRailsWithSubversion>
> >
> > ..but when I open a new ''Checkout project from SVN''
in RadRails, it
> > opens up the second level dirs as the project dirs (ie. app, log,
> > script, etc), leaving me with a mess of projects.
>
> Subclipse wants your svn url to name the parent of the directory
you''re
> going to check out.
> So, if your target repository for svn checkout is:
> http://svn.myserver.net/svn/myproject/trunk/
> Tell subclipse to use:
> http://svn.myserver.net/svn/myproject/
>
> And select trunk/ as the directory you''re checking out. Be sure
to use
> the Next button instead of Finish in the dialogue so you can give it a
> meaningful project name in your eclipse workspace, as it will default to
> being named ''trunk''.
>
> --
> Devin Ben-Hur 503/860-4114 mailto:devin@ben-hur.net
>
> You may not have noticed, but we live in one of the safest,
> most peaceful, times in human history. In the US, the three
> leading causes of death are: killing yourself, killing yourself,
> and killing yourself <http://tinyurl.com/msxhq>.
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.11.2/422 - Release Date: 8/17/2006
>
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060818/a15a3c9e/attachment.html