Page 1 of 1

How to put files in SVN first time

Posted: Sat Mar 17, 2007 11:56 am
by RobInk
Hi,

I got a PM from Stasys (http://forum.joomla.org/index.php?action=profile;u=44) asking how to put files in SVN the first time.

Logging it here for future questions/answers.

Robin

p.s. still need to answer this one  ;)

Re: How to put files in SBN first time

Posted: Sat Mar 17, 2007 1:26 pm
by brian
You might want to correct the typo in the subject title and then delete this post

Re: How to put files in SVN first time

Posted: Sat Mar 17, 2007 1:43 pm
by RobInk
Done, thanks Brain  ;) No need to delete the post...

Re: How to put files in SVN first time

Posted: Sat Mar 17, 2007 1:52 pm
by ianmac
To start off your SVN you need to create a directory on your local computer.  In that directory, execute the following:

svn co --username http://joomlacode.org/svn/ .

This will checkout the empty repository into the directory you created.

Copy the files you want to checkin into this directory.

Then do:

svn add (svn add * to add everything)

Then:
svn commit

And you are done.

See http://svnbook.red-bean.com/nightly/en/ ... cle.update for more information on the basic working cycle.

Refer to: http://svnbook.red-bean.com/nightly/en/ ... ing.layout

For information on repository layout if you want a recommendation as to how to layout your repository (i.e. with branch, tag and trunk)


Ian

Re: How to put files in SVN first time

Posted: Sat Mar 17, 2007 3:48 pm
by brian
These video tutorials are pretty good.

http://www.gforgegroup.com/training/

Re: How to put files in SVN first time

Posted: Sun Mar 18, 2007 3:00 pm
by Stasys
Solved  :pop

Thanks Rob, Ian and Brian  ;)

Re: How to put files in SVN first time

Posted: Sat Jan 26, 2008 6:12 pm
by annerajb
is the username and password the same one for joomlacode.org??

Re: How to put files in SVN first time

Posted: Sat Jan 26, 2008 6:27 pm
by Tonie
Yes, it is. After a project is granted, a script runs ever so often that sets the correct to SVN of that project.

Re: How to put files in SVN first time

Posted: Sat Jan 26, 2008 11:00 pm
by annerajb
well mine have never worked :(