[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Rubyforge svn import

Trans

8/1/2006 3:59:00 PM

How to do an initial svn import to Rubyforge? Is it possible to use
Darcs instead somehow?

7 Answers

Tom Copeland

8/2/2006 12:56:00 AM

0

On Wed, 2006-08-02 at 01:00 +0900, transfire@gmail.com wrote:
> How to do an initial svn import to Rubyforge?

There are some notes on that here:

http://rubyforge.org/docman/view.php/5/460/fa...

> Is it possible to use
> Darcs instead somehow?

Nope, not at this time...

Yours,

tom



Trans

8/2/2006 8:27:00 PM

0


Tom Copeland wrote:
> On Wed, 2006-08-02 at 01:00 +0900, transfire@gmail.com wrote:
> > How to do an initial svn import to Rubyforge?
>
> There are some notes on that here:
>
> http://rubyforge.org/docman/view.php/5/460/fa...

Thanks, I looked at that but it isn't very clear. It's says nothing of
having branches, tags and trunk for instance. Also, do you setup a
local svn repo first or not? And the import example:

svn import svn+ssh://fred@rubyforge.org//var/svn/rubyinstaller

doesn't seem right either --there is no mention of the actual local
directory. How does it know where to get the files?

> > Is it possible to use
> > Darcs instead somehow?
>
> Nope, not at this time...

I'm going to try overlaying the two with darcs under subversion.

Thanks,
T.

Trans

8/2/2006 8:37:00 PM

0

Well, I just went for it and it seems to startout okay but then I get:

svn: File already exists: filesystem '/var/svn/facets/db',
transaction '26-1', path 'trunk'

Any ideas?

Thanks,
T.

zimba.tm@gmail.com

8/3/2006 9:17:00 AM

0

On 02/08/06, transfire@gmail.com <transfire@gmail.com> wrote:
> Well, I just went for it and it seems to startout okay but then I get:
>
> svn: File already exists: filesystem '/var/svn/facets/db',
> transaction '26-1', path 'trunk'
>
> Any ideas?

Do you already have some files in your repo ? I don't think you can
remove the repo and start over easily. What you can do is get your
files trough "svn up", put your new files, mess with "svn add" and
then "svn commit" your changes. Some times you have to "svn up" when
it says there are conflicts (don't know why, seems buggy but it should
work)

--
Cheers,
zimbatm

http://zimba...

Tom Copeland

8/3/2006 1:43:00 PM

0

On Thu, 2006-08-03 at 05:30 +0900, transfire@gmail.com wrote:
> > There are some notes on that here:
> >
> > http://rubyforge.org/docman/view.php/5/460/fa...
>
> Thanks, I looked at that but it isn't very clear. It's says nothing of
> having branches, tags and trunk for instance.

Yup, I'm not sure how much detail to put there... and actually, I'm not
really very svn-savvy, so if anyone wants to give me more material to
put, I'd be happy to post it.

> Also, do you setup a
> local svn repo first or not?

Hm, I don't think so.

> And the import example:
>
> svn import svn+ssh://fred@rubyforge.org//var/svn/rubyinstaller
>
> doesn't seem right either --there is no mention of the actual local
> directory. How does it know where to get the files?

Yup, if the PATH is omitted svn assumes ".".

Yours,

Tom



Tom Copeland

8/3/2006 1:43:00 PM

0

On Thu, 2006-08-03 at 05:40 +0900, transfire@gmail.com wrote:
> Well, I just went for it and it seems to startout okay but then I get:
>
> svn: File already exists: filesystem '/var/svn/facets/db',
> transaction '26-1', path 'trunk'
>
> Any ideas?

Hm, are you importing from an existing repo? Is that how Svn does it,
or does it expect just a directory tree of files like CVS does?

Yours,

Tom



Trans

8/3/2006 2:56:00 PM

0


Tom Copeland wrote:
> On Thu, 2006-08-03 at 05:40 +0900, transfire@gmail.com wrote:
> > Well, I just went for it and it seems to startout okay but then I get:
> >
> > svn: File already exists: filesystem '/var/svn/facets/db',
> > transaction '26-1', path 'trunk'
> >
> > Any ideas?
>
> Hm, are you importing from an existing repo? Is that how Svn does it,
> or does it expect just a directory tree of files like CVS does?

Just a directory tree of files like CVS.

My last post seemed to have been lost. Oh well. One of the things I had
mentioned was that using darcs+subvversion in the same repo has a
problem which causes darcs to get out of whack becuase subversion is
adding .svn entries into the _darcs control directory. But I think I
figured out the fix. SVN's global_ignore setting in the
etc/subversion/config file needs a "_darcs" entry added to it --I'm not
sure if it needs to be _darcs or _darcs/* or _darcs/**/* or what exatly
though.

T.