Subversion for beginners brief Information

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

1 comments

Comments 1 - 1 of 1 previous next Post a comment

Post a comment
Embed Video
Edit your comment Cancel

Favorites, Groups & Events

Subversion for beginners brief Information - Presentation Transcript

  1. Subversion
  2. What is Version Control?
    • Normally when we save things we loose previous changes.
    • Lets se we have a file and has been edit many tings since its creation.
    • We cannot track of the changes done.
    • Version control track changes and adds a number to each changes called VERSION or REVISION.
    • Here nothing is lost. Its saved and be be retrieved anytime.
  3. What is Subversion?
    • It’s a free version control software.
    • In our case we user Tortoise SVN UI tool.
  4. Terminology
    • Repository
    • Check out
    • Working copy
    • Commits or check-in
    • Revert.
    • Updates.
    • Conflicts.
  5. Repository
    • Place where data is stored.
    • The repository is a central database of every version of every file.
    • Internally, they store deltas of each change which are not human editable.
  6. Checkout
    • To pull the data from repository to your local machine.
  7. Working copy
    • This is what comes out of the repository
    • It’s just a normal directory on your local machine.
    • All changes or edits are done here.
  8. Commits or check-in
    • Changes done in working copy remains locally until committed back to the repository or SVN.
    • Check ins saves your local copies or local changes into repository for ever.
    • Always add a log message while committing to track what changes were made in a particular commit.
    • Each commit creates a new version in repository.
    • I.e. new REVISION NUMBER.
  9. Revert
    • Removing the changes made locally and bringing back the file to the state as it was in repository.
    • Lets say we did some modifications on a file. And in many cases we mess up with it.
    • Now, we want to start from a fresh.
    • Reverting a file and do it again.
  10. Updates.
    • Synch your local working copies with the changes done on the repository by others.
    • Lets say some body modifies a file and have committed it in repository.
    • Updating working copy will bring those changes to you and keep it in synch.
  11. Conflicts
    • Nobody will every want to see this!
    • Lets say more then one person is working on a file.
    • Person A have done changes locally and committed it back to repository.
    • Mean while, Person B also did similar change.
    • Now before committing when Person B updates a local copy he gets conflicts.
    • Conflicts has to be resolved for your changes to be committed back.
  12. Important notes.
    • Always update your working copies regularly.
    • If more people are working on it then update daily or on hourly basis based on work.
    • Always add a log message while committing.
    • Update your local copy before starting working on it and before committing.
    • Its better not to check in half completed things which may break things for others.
    • Always see what files you are committing. Do not commit things which are not required.

+ Mohammed Bin MahmoodMohammed Bin Mahmood, 7 months ago

custom

608 views, 0 favs, 2 embeds more stats

A brief information about usage of Subversion. SVN

More info about this document

© All Rights Reserved

Go to text version

  • Total Views 608
    • 603 on SlideShare
    • 5 from embeds
  • Comments 1
  • Favorites 0
  • Downloads 23
Most viewed embeds
  • 4 views on http://mohammed-bin-mahmood.blogspot.com
  • 1 views on http://www.blogger.com

more

All embeds
  • 4 views on http://mohammed-bin-mahmood.blogspot.com
  • 1 views on http://www.blogger.com

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories