顯示具有 CVS-cervisia 標籤的文章。 顯示所有文章
顯示具有 CVS-cervisia 標籤的文章。 顯示所有文章

2012年3月9日 星期五

[cvs] cvs update according to date


cvs command operation



U_D3_CableRG]# cvs -f -q update -l -d -P -D 2012-06-04 -r ProjectName. 2>&1



must under ProjectName then type.



CVS checkout by date:



cvs co -D "2012-06-07" ProjectName



cvs history -a -c -D 2012-09-20


review all commits by all users since 2012-09-20

cvs co -D "2010-10-10 22:15:59 GMT" ProjectName



2011年7月31日 星期日

[cvs] Upload new file to Repository with Cervisia


Cervisia





  1. Commit

    Choose POS_system (Which fold you add new file)

    Press "commit" (Upload all file again)

  2. Update

    Choose POS_system (Which fold you add new file)

    Press "Update" (Update all file again)

  3. Display new file in Screen

    Now appear new file in POS_system on display screen.

  4. Add version

    Choose which new file you add.



    For example:

    Choose test1.form

    Press "Add"

    Press "commit"

    Now test1.form have revision








[cvs] Work at another project with Cervisia



  1. No set enviroment -- Server don't know which Repository you want

    set enviroment variable

    type echo $SHELL <-- to understand which shell I use














    .cshrc

     

    .bash_profile

    #CVS Environment variables

    setenv CVSROOT $HOME/cvsroot

    setenv CVSEDITOR emacs

     

    #CVS Environment variables

    export CVSROOT=$HOME/cvsroot

    export CVSEDITOR=emacs



    Check enviroment

    In the terminal type:

    env <-- after this command will show enviroment variable


  2. Upload Original New_project into Repository

    If I have one directory call project.

    type cd /XXX/XXX/projectname <-- under directory of projectname

    cvs import -m "dir structure" XXX(projectname) XXX(yourname) start

    "dir structure" <-- any name you can pick

     
    XXX(projectname)   <--   you under at which directory

    "XXX(yourname)" and "start" are really unimportant - they are just version and "vendor" labels.


  3. Use Cervisia download New_project

    Repository : :pserver:luke@127.0.0.1:2401/home/luke/cvsroot/

    luke <-- depend on which user you use

    /home/luke/cvsroot/ <-- depend on which Repository you upload the new project



    Module :POS_system <-- depend on you. You can choose any name



    Working folder : /home/luke/test5 <-- You can choose any working folder you like.



    And press "OK"


  4. Open Sandbox (This is mean working folder)

    Choose the working folder before

    Working folder : /home/luke/test5 <-- You can choose any working folder you like.



    And press "OK" --> Start to work

2011年7月29日 星期五

Cervisia operation document


Cervisia operation document




  • Checkout (load the project into work place : Export all code from Repository to sandbox(working place))

    Click the "Repository" menu then the "Checkout..." menu item.

    Repository : :pserver:luke@127.0.0.1:/XXX/XXX/cvsroot (/XXX/XXX/ depend on your directory)

    Module : resume (depend on you) <-- what is your Project name(or tag)









    Branch Tag: 1.68 (which version you update you want)

    working fold : /XXX/XXX/XXX (sandbox)



    Press "OK"

     


  • Browse log of file

    View -> Browse Log(Ctrl + L)

     


  • Update to which Branch Tag you want

    Advanced -> Update to Tag/Date (choose which date of code you want watch)









     



Reference :




  • http://www.osnews.com/story/6096/Learning_CVS_Using_KDE_s_Cervisia/page3/