Rubyforge svn import

T

transfire

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

transfire

Tom said:

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://[email protected]//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?
Nope, not at this time...

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

Thanks,
T.
 
T

transfire

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.
 
J

Jonas Pfenniger

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)
 
T

Tom Copeland

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://[email protected]//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
 
T

Tom Copeland

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
 
T

transfire

Tom said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top