2011年7月31日 星期日

[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

0 意見:

張貼留言