Thursday, September 16, 2010

CVS Quickie

Here's a quick quide to CVS (Concurrent Version System)...

Checkout:  cvs co myproj

Update:   cvs update

Import a Project:   cvs import -m "message" myproj -releasetag -vendortag

Find out Modifications:   cvs diff -c

Read the log:   cvs log logfilename

Create a tag:   cvs tag -c mytag

Delete a tag:   cvs tag -d mytag

Commit changes:   cvs commit -m file1 file2

Add directories:   cvs add dirname

Remove Files:   cvs remove filename

Add Files:   cvs add filename

Create Branch:   cvs tag -b branchname

Merging Branches:   cvs update -kk -j branchname

More to come...

Stumble Upon Toolbar

IBM Base ClearCase Quickie

Here's a quick reference for IBM Base ClearCase...

Create a VOB:   cleartool mkvob -tag vob-tag -stgloc -auto

Create a dynamic view:   cleartool mkview -tag atag  storage-location

Delete a dynamic view:   cleartool rmview -tag atag


Create a snapshot view:   cleartool mkview -snapshot -tag atag -stgloc -auto apathname


Delete a snapshot view:    cleartool rmview apathname

Checkout an element:   cleartool co anelement

List all checkouts of elements:    cleartool lsco anelement

Checkin an element:   cleartool ci anelement

Uncheckout an element:    cleartool unco anelement

Present Working View:    cleartool pwv


See contents of config-spec:    cleartool  catcs
Edit a config-spec:    cleartool edcs

Information of an element:    cleartool describe anelement
More to come...

Stumble Upon Toolbar
Related Posts with Thumbnails