CVS 1 - PowerPoint PPT Presentation

1 / 15
About This Presentation
Title:

CVS 1

Description:

Current release CVS 1.11. http://www.cyclic.com. Apache HTTP ... C:conflicted. When conflict occurs, use update to solve!! Multiple developers [add/delete] ... – PowerPoint PPT presentation

Number of Views:27
Avg rating:3.0/5.0
Slides: 16
Provided by: wonk
Category:
Tags: cvs | conflicted

less

Transcript and Presenter's Notes

Title: CVS 1


1
CVS - 1
  • PLUS ???
  • -_-V

2
CVS is..what?
  • Version control system
  • Retrieves old versions
  • Saves disk space
  • merges the work
  • Get this from
  • ftp//prep.ai.mit.edu

3
Revision numbers
1.2.2.3.2.1
Branch 1.2.2.3.2
1.2.2.1
1.2.2.2
1.2.2.3
1.2.2.4
Branch1.2.2
1.1
1.2
1.4
1.5
1.3
Main trunk
1.2.4.3
1.2.4.2
1.2.4.1
Branch1.2.4
4
Basis
  • Concurrent Versions System
  • Current release CVS 1.11
  • http//www.cyclic.com
  • Apache HTTP server
  • Mozilla
  • cvs cvs option command command option

5
Summary
  • Initialize a repository (CVS admin)
  • Initialize a project (project leader)
  • Provide your own space for the project
    (developer)
  • Work!!(developer)
  • Update your work and get the updated work
    (developer)

6
Initialization of repository
  • cvs d /home/CVS init
  • Unable to overwrite
  • Do not touch files in /home/CVS directly. CVS
    will do it for you.
  • chgrp R cvs /home/CVS
  • chmod R gw /home/CVS

7
Use of the repository
  • csh or tcsh
  • setenv CVSROOT /home/CVS
  • bash
  • CVSROOT/home/CVS
  • export CVSROOT
  • Password authentication
  • is coming..later

8
Initialization of the project
  • In the directory where the sources to be imported
    place
  • cvs import m mssg name_of_prj vendor_tag
    release_tag
  • Eggt
  • cvs import m imported sources jail won-ki
    start
  • Do not mess with the files later on.

9
eggt
10
Multiple developerscheckout
  • cvs checkout jail
  • Uupdated
  • /jail
  • Files
  • /CVS/
  • Entries
  • Repository
  • Root

11
Multiple developerscommit
12
Multiple developerscommit
13
Multiple developerscommit
  • cvs commit m blahblah

14
Multiple developersupdate
  • Update the source files
  • Need not to checkout every time!!
  • cvs update
  • Mmodified
  • Uupdated
  • Cconflicted
  • When conflict occurs, use update to solve!!

15
Multiple developersadd/delete
  • File add
  • cvs add file_name
  • cvs update
  • cvs commit m new file added file_name
  • File delete
  • rm file_name
  • cvs delete file_name
  • cvs update
  • cvs commit m file deleted file_name
Write a Comment
User Comments (0)
About PowerShow.com