This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
svn_tutorial [2016/03/29 22:28] nimas |
svn_tutorial [2016/03/29 22:40] (current) nimas |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ==== SVN Tutorial ==== | ==== SVN Tutorial ==== | ||
| + | === Starting with SVN === | ||
| First lets assume you have a package called **__mypackage__** which contains your codes and header files (i.e., Root, mypackage ...)\\ | First lets assume you have a package called **__mypackage__** which contains your codes and header files (i.e., Root, mypackage ...)\\ | ||
| Note that **$SVNUSR** variable should be define in your .bashrc file as \\ | Note that **$SVNUSR** variable should be define in your .bashrc file as \\ | ||
| Line 22: | Line 22: | ||
| Go to ''**temp\mypackage**''\\ ''svn add **Root**''\\ you can see the result as 'A Root'; A means Available. \\ ''svn commit **__mypackage__** -m "message"'' \\ you can see the result as 'Adding Root' \\ | Go to ''**temp\mypackage**''\\ ''svn add **Root**''\\ you can see the result as 'A Root'; A means Available. \\ ''svn commit **__mypackage__** -m "message"'' \\ you can see the result as 'Adding Root' \\ | ||
| Now all the files inside ''**__mypackage__**/**Root**'' are in your svn.\\ | Now all the files inside ''**__mypackage__**/**Root**'' are in your svn.\\ | ||
| - | \\ | + | |
| - | -------------------------------------------------------------------------------------------------------------------\\ | + | |
| - | ====Update SVN==== | + | |
| Let's say you have added a file called **mycode.cxx inside** ''**__mypackage__**/**Root**'' directory to your SVN. Once you make changes in **mycode.cxx** you need to update your SVN using following steps:\\ | Let's say you have added a file called **mycode.cxx inside** ''**__mypackage__**/**Root**'' directory to your SVN. Once you make changes in **mycode.cxx** you need to update your SVN using following steps:\\ | ||
| \\ | \\ | ||