Skip to main content

How to install and setup cvs


This setup is only basic manual.I created it after successfully install and setup cvs.The different step that I faced while reading references thru internet makes me create new manual so I will not forget in the future.I am happy if you feel it's useful.

Software requirement

  1. Installation step
    Install CVS and WinCVSa) Install cvsnt-2.5.0.3.2382 and WinCVS

    (Sometimes it's already bundled with Wincvs,if not just install it separately)

    b) Go to Control Panel,click twice on CVSNT Server

    c)Choose Repository Configuration, click Add


    d)Then choose location,make new folder if you do not have it yet.For example my Location is F:/Repositories/MyRepo.

    At Name I put as /MyRepo to make people outside see it just as /MyRepo not F:/Repositories/MyRepo.Then click OK,usually it will prompt you "F:/Repositories/MyRepo,but is not a valid CVS repository.Do you want to initialise it?" Just click Yes.


    e)Go to About tab, and start the service.

    Install python 2.5
    a)The installation is straightforward but make sure you install it for all user.

    b)In customization make sure the Tcl/Tk features available.
    <
    c)Just next next until you complete the installation

    Install pywin32 (Optional)
    Just follow the step straightforward


    Install WinMerge
    Just follow the step straightforward
  2. Configuration of WinCVS
    a)Browse folder for example mine is F:\Projects

    b)Go to Admin menu,select Preferences,click on CVS tab.

    At Home, just choose folder that you like.Home directory is where CVS and WinCVS will look for local,user –specific configuration.
    Then check on Alternate CVS executable,browse where cvs.exe


    c)Click on WinCvs tab.
    Check on External diff:,browse where location that you install WinMerge.

    At Python DLL, put python25.dll.If you install Python 2.4 just put it as python24.dll.Same goes with other versions.

    After that, click on Command Dialogs, and in Skip Dialogs, check on Graph.


  3. Import module
    Actually I tried it several time ,after facing failure several times then it's success.So maybe my steps is quite odd but my objective here to make sure that Eclipse can checkout the project from CVS server.If you not developing project using Eclipse maybe you can just follow the tutorial link that I refered.
    a)Right-click on MyProject,Import Filter will pop-up ,just click OK.But in case if you to filter the file just click Edit and edit whatever you want.


    b)Then Import Setting like figure below will pop-up.Repository path is the location where our project is stored in the repository.
    If you not importing third party source,check on Don't create vendor branch or release tags.

    Then we will set up the CVSROOT connection string.

    c)I choose pserver protocol.At Repository Path I just type : Administrator:cunid@localhost:/MyRepo

    The format is username:password@hostname/repositoryname

    Username is the computer username,password is your computer password,hostname is the name of your computer.You can refer the scrip at links that I provided.

    I am not quite sure what the hell proxy is all about.But you can try and tell me.Thanks in advance.


    d)Then click on Import option tab,check on Create CVS directories while importing. Then OK. ***** CVS exited normally with code 0 ***** means that you code is correct else there's something wrong.Ok,the configuration is complete.Then you can search other command at Internet.
  4. To add user
    cvs passwd -r Administrator -a syikin



  5. Connection string
    :pserver:Administrator:cunid@localhost:/MyRepo
    p/s:Please email me if you want manual with picture,I am quite lazy to upload those pictures.I'll send to you if you email me.

    Useful links that I refered
    http://freenet-homepage.de/ogiesen/wincvsnt-tour-ext.html

    http://ssi7.cs.tamu.edu/ssi/tutorials/cvsNt/addUsers.pdf

Comments

Popular posts from this blog

Search Solution Basics

When is it a good time to create a customized search solution? You're developing an external knowledge base for user support. You're in the mood for a fun Friday night. The sales reps just started using the Sales Cloud in Lightning Experience. You want to put your company branding in the search bar. What differentiates SOSL from SOQL? Syntax SOSL searches the search index instead of the org database. SOSL searches more efficiently when you don't know in which object the data resides. All of the above. SOSL works with: REST only SOAP only REST, SOAP, and Apex SOQL only What does a search for a single object look like in SOSL? FIND {cloud} RETURNING Account FIND in ACCOUNT RETURNING "cloud" FIND "cloud" in ACCOUNT FIND (cloud) RIGHT NOW! What does a search for multiple objects look like in SOSL? FIND {sneakers} RETURNING ALL ARTICLES FIND {sneakers} in ALL OBJECTS FIND {sneakers} RETURNING Product2, Content

Process Builder is not fired when field update is called from Approval Process

Scenario In Final Approvals section ; in Approval Process we have field update to update Status field. In Process Builder , we have some action that need to be done when Status field is updated in Approval Process.However this process builder is not fired. Solution To handle this, in Field Update in Approval Process , check Re-evaluated Workflow Rules after Field Change as picture below. What happen if field updated from Approval Process. Workflow - does not fires untill Re-evaluate workflow checkbox is ticked on your field update Process Builder - does not fires untill Re-evaluate workflow checkbox is ticked on your field update Trigger - will fire if conditions are matched This is explained in article here  . Field Updates That Re-evaluate Workflow Rules If  Re-evaluate Workflow Rules After Field Change  is enabled for a field update action, Salesforce  re-evaluates all workflow rules on the object if the field update results in a change to the value of the fi

Tips and Tricks : Test class for Invocable method

Issue : I got 100% coverage in my sandbox but when run validation for deployment it returns 0% coverage It turn out that in my sandbox, I am depending on Process Builder to Invocable Apex class, as long I manipulate test data that fire Process Builder it will call Invocable class. This is not useful when deploying it to Production although it gets deployed together with Process Builder. The correct way is to direct call Invocable method inside test class itself. Example of class : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 global class MyCustomObject_StatusUpdate_Util { @InvocableMethod ( label = ' Update Quote Status ' ) public static void updateQuote ( Request [] requests ) { Set < Id > setOppId = new Set < Id >(); List < SBQQ__Quote__c > listQuoteToUpdate = new List < SBQQ__Quote__c >(); for ( Request request : requests ) {