User Tools

Site Tools


svn

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
svn [2011/02/18 14:14] cangianisvn [2012/02/17 14:54] (current) damir
Line 15: Line 15:
   * for algo: <nowiki>svn+ssh://USERNAME@lth.epfl.ch/repos/algo/REPONAME/</nowiki>   * for algo: <nowiki>svn+ssh://USERNAME@lth.epfl.ch/repos/algo/REPONAME/</nowiki>
   * for licos: <nowiki>svn+ssh://USERNAME@lth.epfl.ch/repos/licos/REPONAME/</nowiki>   * for licos: <nowiki>svn+ssh://USERNAME@lth.epfl.ch/repos/licos/REPONAME/</nowiki>
-  * for lth: <nowiki>svn+ssh://USERNAME@lth.epfl.ch/repos/lth/REPONAME</nowiki>+  * for lth[c|i]: <nowiki>svn+ssh://USERNAME@lth.epfl.ch/repos/lth/REPONAME</nowiki>
   * for lcm: <nowiki>svn+ssh://USERNAME@lth.epfl.ch/repos/lcm/REPONAME/</nowiki>   * for lcm: <nowiki>svn+ssh://USERNAME@lth.epfl.ch/repos/lcm/REPONAME/</nowiki>
   * for arni: <nowiki>svn+ssh://USERNAME@lth.epfl.ch/repos/arni/REPONAME</nowiki>   * for arni: <nowiki>svn+ssh://USERNAME@lth.epfl.ch/repos/arni/REPONAME</nowiki>
 +  * for lapmal: <nowiki>svn+ssh://USERNAME@lth.epfl.ch/repos/lapmal/REPONAME</nowiki> 
 +  * 
 Where ''REPONAME'' is the name of the repository. You can see a list of repositories with ''ls'' Where ''REPONAME'' is the name of the repository. You can see a list of repositories with ''ls''
 For example: For example:
Line 57: Line 58:
 ===== Quick User Guide ===== ===== Quick User Guide =====
  
-Almost everything is done with the ''svn'' command. In fact it is a //super// command as it accepts many internal commands. Note that in this section, all the lines starting with ''xxxx>'' are commands that I typed in as an example. By ''URL'' , I mean a repository address as, for example ''svn+ssh: USERNAME@licos.epfl.ch/SVN/trunk''. Arguments in square brackets are optionals. All commands that do not need an ''URL'' are going to be used from withing a local copy under version control.+Almost everything is done with the ''svn'' command. In fact it is a //super// command as it accepts many internal commands. Note that in this section, all the lines starting with ''xxxx>'' are commands that I typed in as an example. By ''URL'' , I mean a repository address as, for example ''svn+ssh: USERNAME@lth.epfl.ch/licos/SVN/trunk''. Arguments in square brackets are optionals. All commands that do not need an ''URL'' are going to be used from withing a local copy under version control.
 <note> <note>
 For a guide of CVS to SVN command follow [[http://svn.collab.net/repos/svn/trunk/doc/user/cvs-crossover-guide.html|this]] link. For a guide of CVS to SVN command follow [[http://svn.collab.net/repos/svn/trunk/doc/user/cvs-crossover-guide.html|this]] link.
Line 70: Line 71:
 to list the content of the [remote] repository. For example: to list the content of the [remote] repository. For example:
 <code> <code>
-licos>svn list svn+ssh://cangiani@licos.epfl.ch/SVN/trunk +damir@iscsrv7:~$ ls /repos/lth 
-web/ +aaaaa      coupled              introsc         matlabde       polarization       sim.donotuse     testacl 
-licos>svn list svn+ssh://cangiani@licos.epfl.ch/SVN/trunk/web +abdel      CS                   iryna           maxup          pspin              sim_zip          testacl1 
-.htaccess.wait +alsan      cyclecodes           isit05          maxwell        puncturing         SourceCoding     testdamir 
-BioReadingGroup/ +ara        densevol             it2010-11       minsum         quantique-2010-11  SourceCodingBP   thesiskorada 
-Papers/ +aref       density_evolution    iterations      mobility       racodes            sparsematrices   treereconstruction 
-TODO +book       dsp2010-11           kr              ncaref         ratesplitting      stability        turbo 
-courses/ +cap        errorfloor           ldlc            netflix        samplede           statphys         turboweight2 
-css+cdi        flipping             ldpcdemo        networkcoding  scaling            statphys2010-11  twod 
-error/ +CDMA       gf                   LDPCequal       newintrosc     scripts            subroutines      vinodhPhD 
-img_base/ +comm       girthvsdiam          leshouches      NIPS           shortcourse        talks            vish 
-inc/ +commnet    gossip               limex           paris05        signalpc           temp             weight_conc 
-index.php +consensus  graphreconstruction  loop_expansion  pdc            sim                test 
-licos/ +corrdecay  ibm                  mac             polargaussian  sim1               test1 
-proj+ 
-pubs+damir@iscsrv7:~$ svn list svn+ssh://lth.epfl.ch/repos/lth/sim 
-research/+36_BAWGNC_BP.ps 
 +36_BAWGNC_BP_5.13625_7.ps 
 +36_BAWGNC_MinSum.ps 
 +36_BAWGNC_MinSum_5_10.ps 
 +36_BEC_BP.ps 
 +36_BSC_BP.ps 
 +data
 +log 
 +param 
 +param36_1024_BEC_BP 
 +param36_8192_BSC_matched 
 +parambec 
 +plotheader.ps 
 +plotmidsection.ps 
 +plottrailer.ps 
 +pp36_1024_BEC_BP 
 +pp36_8192_BSC_BP_matched 
 +ppfiles
 +pptops 
 +pptops36_BEC_BP 
 +protographexample 
 +pstemplate.ps 
 +scaling.ps 
 +simfiles
 +trunk/ 
 </code> </code>
  
Line 92: Line 118:
 to get a local copy of [part of] the repository. For example, with to get a local copy of [part of] the repository. For example, with
 <code> <code>
-licos> cd public_html +damir@iscsrv7:~$ mkdir test 
-licos> svn checkout svn+ssh://cangiani@licos.epfl.ch/SVN/trunk/web licos+damir@iscsrv7:~$ cd test 
 +damir@iscsrv7:~/test$ svn co svn+ssh://lth.epfl.ch/repos/lth/sim sim
 </code> </code>
-I would get a copy of the licos web site in my %%public_html/licos%% directory so that it can be seen from %%http://licos.epfl.ch/~cangiani/licos%%. The %%licos%% directory name above is not mandatory. If omitted svn +I would get a copy of the sim program source code inside the just created test directory. 
-will just use the name of the last directory in the repository (in this case "web"). Now that I have my local copy under version control I can run all the following commands.+The %%sim%% directory name above (the last parameter in the svn co command line) is not mandatory. If omittedsvn 
 +will just use the name of the last directory in the repository (in this case "sim"). Now that I have my local copy under version control I can run all the following commands.
  
 ==== svn status [-u] ==== ==== svn status [-u] ====
svn.txt · Last modified: 2012/02/17 14:54 by damir