Presentation is loading. Please wait.

Presentation is loading. Please wait.

SVN for VLT CMM Users Basic Command lines- Eclipse.

Similar presentations


Presentation on theme: "SVN for VLT CMM Users Basic Command lines- Eclipse."— Presentation transcript:

1 SVN for VLT CMM Users Basic Command lines- Eclipse

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

3 Starting…. SVN password=CMM password ~/.cmmrc Command line help:
SVNREPO= SVN password=CMM password ~/.cmmrc Command line help: svn help OR svn help <subcommand> Documentation: svn book : svn User Manual for CMM Users. LTSVNOverview 3

4 Working at module level.. command lines
4

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

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

7 Archive a module CMM SVN
Update ChangeLog > cd mymod/src > make clean > cd ../.. >cmmcheckForArchive mymod > cmmArchive mymod “short comment” > cd mymod/src > make clean > cd .. > svn status . option [-q] > svn diff . > svn ci . enter comments

8 Log/History CMM SVN > cmmHistory mymod > cmmLast mymod
> svn log <url/mymod> option [–v] [–r] [-l] >svn info <url/mymod> Creation of ChangeLog file: > cd mymod; svn2cl.sh

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

10 Check installed module
example with module seq: > cd seq/src; make all install > cat $INTROOT/vltMakeInstall.log 11/07/27-09:23 module: seq installed by:sfeyrin from:/home/sfeyrin/SVNTEST/seq/src > svn status –q M include/bobbyErrors.h M include/seqErrors.h => new clean_ERRORS target > svnversion -c

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

12 Working at module level.. Eclipse
12


Download ppt "SVN for VLT CMM Users Basic Command lines- Eclipse."

Similar presentations


Ads by Google