SVN for VLT CMM Users Basic Command lines

SVN for VLT CMM Users Basic Command lines. Eclipse

Agenda 1. Working at module level… CMM/SVN : create, checkout, modify, archive 2. Working at assembly level… checkout, branch, tag 3. Questions 2

Starting…. • SVNREPO=http: //svnhq 1. hq. eso. org/p 1/ • SVN password=CMM password ~/. cmmrc • Command line help: svn help OR svn help <subcommand> • Documentation: • svn book : http: //svnbook. red-bean. com/ • svn User Manual for CMM Users. https: //www. eso. org/sdd/bin/view/SDDPublic/V LTSVNOverview 3

Working at module level. . command lines 4

Find a module Example with module insc: > svn cat $SVNREPO/Module. Map | grep insc VLTSW/INS/inschk __no_suitable_place_yet__/inschk inscore __no_suitable_place_yet__/inscore → location: $SVNREPO/trunk/VLTSW/INS/insc

Modify a module CMM > cmm. Modify mymod SVN > svn co <url/mymod> > cd mymod; edit files… add files… > svn add myfile 6

Archive a module CMM Update Change. Log SVN > cd mymod/src > make clean > cd. . /. . > svn status. >cmmcheck. For. Archive mymod > cmm. Archive mymod “short comment” option [-q] > svn diff. > svn ci. enter comments 7
![Log/History CMM > cmm. History mymod SVN > svn log <url/mymod> option [–v] [–r] Log/History CMM > cmm. History mymod SVN > svn log <url/mymod> option [–v] [–r]](http://slidetodoc.com/presentation_image_h2/6579166f834279751075b90cd109b353/image-8.jpg)
Log/History CMM > cmm. History mymod SVN > svn log <url/mymod> option [–v] [–r] [-l] > cmm. Last mymod >svn info <url/mymod> Creation of Change. Log file: > cd mymod; svn 2 cl. sh 8

Modify same module again CMM > cmm. Modify mymod SVN > cd mymod; > svn status -u edit, rm, mv files… > svn update. edit, rm, mv files… > svn rm myfile … {svn revert, svn mv} > cmm. Archive mymod “comments” … > svn ci. 9

Check installed module example with module seq: > cd seq/src; make all install > cat $INTROOT/vlt. Make. Install. log 11/07/27 -09: 23 module: seq http: //svnhq 1. hq. eso. org/p 1/trunk/VLTSW/HOS/seq@213787+, installed by: sfeyrin from: /home/sfeyrin/SVNTEST/seq/src > svn status –q M include/bobby. Errors. h M include/seq. Errors. h => new clean_ERRORS target > svnversion -c

Create a new module Example creation module in sandbox/<username>: > svn mkdir $SVNREPO/sandbox/<username> > svn co $SVNREPO/sandbox/<username> > get. Template. For. Directory MODROOT_WS newmod > cd newmod edit files… > svn add newmod > svn propset sinner <username> newmod {svn status ; svn proplist -v newmod} > svn ci.

Working at module level. . Eclipse 12
- Slides: 12