Week 13 Flashcards
What does a version control system do?
Tracks changes to source code
Helps integrate your changes with changes from someone else
Lets you manage parallel streams of development on the code
What are the two types of version control system approaches?
Centralized vs distributed control
What are the differences between centralized and distributed version control systems?
Both have the concept of a master repository
Centralized control runs all the major commands and log information through the master repository.
Distributed places a more extensive copy of the history in the local working copy.
Which of the two types of version control systems are better for online and offlie operations
Centralized is better if you have access to online
Distributed makes working offline easier, but merging revisions can require more complex algorithms
Which of the two types of version control systems are more convenient for users?
The distributed is more easy for users, but te centralized is easier to manage and build.
Describe the lock-modify-unlock system
You can exclude other uses from accessing a file by locking it. It also serializes all changes to the files. There are no conflicts because only one person can access at a time.
Describe the copy-modify-merge mode of operation?
You can get your own editable copy of the file and change as you like.
Merge your changes with everyone elses when you’re ready
What is a trunk?
The one main stream of development
What is a branch?
Side-development projects
What is a tag?
STable checkpoints that you might want to call back
What is a merge?
Sometimes the branch recombines with the trunk.
What belongs in a version control system?
Anything that is an original document.
source code
Documentation
supporting images
What doesn’t belong in a version control system?
Anything that is derived.
Object files
pdf files
executable files
What does svn stand for?
Subversion
What behaviour mode does subversion have?
copy-modify-merge