Re: rails project for google code
From: Mando Escamilla <mando.escamilla_at_gmail.com>
Date: 2007-12-07 22:17:36 CET
Very, very true. I was thinking that no "work" had been done yet, but
-- Mando On Dec 7, 2007 10:19 AM, Jeremy Pereira <jeremyp@jeremyp.net> wrote: > > On 6 Dec 2007, at 15:58, Mando Escamilla wrote: > > > > On Dec 6, 2007 9:39 AM, Thufir <hawat.thufir@gmail.com> wrote: > I think that this works, but I may be doing it in a weird way. Normally, > of course, I won't be deleting directories. Does it matter the path > where I am when I make the commit? That is, ~/foo versus ~/foo/rss-on- > rails versus ~/foo/rss-on-rails/config/ and so forth? for any of those > it will figure itself out? > > thufir_at_arrakis ~/Desktop/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 > > According to this, you've got your Rails project imported one directory > too deep. rss-on-rails is IN trunk, when it should BE trunk. > > Basically, you shouldn't be checking out > https://rss-on-rails.googlecode.com/svn/trunk/rss-on-rails, you should > check out https://rss-on-rails.googlecode.com/svn/trunk and your Rails > directories should be in there. > > It's not a big deal, really: it's only convenience/best-practice. > > If you want to fix it, you can do something like this (make sure you have > a copy of your Rails project in ~/rails): > > thufir@arrakis ~/Desktop/foo/ $ svn checkout > https://rss-on-rails.googlecode.com/svn/trunk --username hawat.thufir . > thufir@arrakis ~/Desktop/foo/ $ cd trunk > thufir@arrakis ~/Desktop/foo/trunk/ $ svn rm rss-on-rails > thufir@arrakis ~/Desktop/foo/trunk/ $ svn ci -m "Removing erroneous > rss-on-rails directory." . > thufir@arrakis ~/Desktop/foo/trunk/ $ cp -R ~/rails/* . > thufir@arrakis ~/Desktop/foo/trunk/ $ ls -al > total 68 > > > You'd lose all your history by doing that. I'd do this: > > thufir@arrakis ~/Desktop/foo/ $ svn checkout > https://rss-on-rails.googlecode.com/svn/trunk --username hawat.thufir . > thufir@arrakis ~/Desktop/foo/ $ cd trunk/rss-on-rails > thufir@arrakis ~/Desktop/foo/trunk/ $ svn mv * .. > thufir@arrakis ~/Desktop/foo/trunk/ $cd .. > thufir@arrakis ~/Desktop/foo/trunk/ $ svn rm rss-on-rails > thufir@arrakis ~/Desktop/foo/trunk/ $ svn ci -m "Removing erroneous > rss-on-rails directory." . > > > >Received on Fri Dec 7 22:18:03 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.