Version Control with Subversion

  • 330 views
Uploaded on

A brief introduction to the principles of version control with subversion.

A brief introduction to the principles of version control with subversion.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
330
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
3
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Version Control with Subversion
    Chris Murray
    epiGenesys – a University of Sheffield company
    @chrismurray0
  • 2. Subversion
    An open-source, centralised version control system (VCS)
    Lets you store files on a central server and track in detail any changes made over time
    Especially useful when sharing files with a team
  • 3. Alternatives
    A distributed VCS does not require a central server, it can be used entirely locally, e.g. Git
    A distributed VCS can still share files via a central server, but it can be slightly more complicated to do so
    Some systems are distributed but can also behave like they are centralised, e.g. Bazaar
  • 4. Get started
    Create a repository, then…
    Repository
    Revision
    0
    Working Copy
    Checkout
    A special folder
    on a server
    Creates a folder
    on your computer
    (initially EMPTY)
    Done using a software tool
  • 5. Add some files to the working copy, then…
    Put files in
    Repository
    Revision
    0+1
    Working Copy
    Commit
    A special folder
    on a server
    A folder on
    your computer
    (containing your FILES)
    Done using a software tool
  • 6. Get files out
    You can have many working copies…
    Working Copy
    Checkout
    Repository
    Revision
    0+1
    New folders onyour computer (each containing all your FILES)
    Working Copy
    Checkout
  • 7. Commit
    Amend some files in a working copy, then…
    Change the files
    Working Copy
    Repository
    Revision
    0+1+2
    Folders onyour computer
    (now containing DIFFERENT files)
    Working Copy
  • 8. Get the latest files
    Working copies must be updated separately…
    Working Copy
    Repository
    Revision
    0+1+2
    Folders onyour computer
    (now containing SAME files)
    Working Copy
    Update
  • 9. Get older files
    Specify a ‘revision’…
    Working Copy
    Repository
    Revision
    0+1+2
    Folders onyour computer
    (now containing DIFFERENT files)
    Working Copy
    Update R=1
  • 10. Sharing files
    Working copies can be on different computers…
    Working Copy
    Working Copy
    Repository
    Revision
    0+1+2+…
    Working Copy
    Working Copy
  • 11. Links
    Subversion: http://subversion.apache.org
    Git: http://git-scm.com
    Bazaar: http://bazaar.canonical.com
    Versions: http://www.versionsapp.com