The first question a newcomer Subversion May ask to himself- What is this and how can I use it in my work? Speaking shortly Subversion Can be characterized as a version control system which tracks the history of file and directory changes over time. All versioned files and directories reside as a tree structure (just like a general filesystem) in Subversion Repository. both versioned files and directories can have versioned metadata-properties. changes to such a tree are committed by clients to a repository in a single atomic transaction. each commit operation creates a newer snapshot of the whole tree which provided des all recent changes made in that commit operation as well as all previous unchanged data. such a snapshot is called Revision . Subversion Repository starts its life from Revision 0 where only the root directory exists. then as files and directories are imported into a repository, changes to them are committed-New revisions are created, and each successful commit operation increases the revision number by one:
subversion doesn' t actually keep the whole contents in every revision. for every n-th revision it uses smart mechanisms to store only the differences that were made in that n-th Revision itself (I. e. data differences between revisions N-1 and N ). so, revisions allow you to retrieve any version of a file, or directory, or even of the whole tree (since a single revision is created for the whole repository tree) at any time, no changes will be lost. each revision is a permanent snapshot of a tree, I. e. if an item is added to a subversion repository it can not be removed from the repository entirely, because it can be always found in those revisions where it was added and changed. although in this case item history is broken and it no longer exists in the repository starting with the revision where it's deleted.
A common scenario of using a subversion repository is working with a copy of any subtree of a repository tree on a local computer and publishing results of this work into the repository. in other words, a client somehow changes files and directories taken from a repository and then commits his \ her changes into the repository. local versioned data tree is calledWorking copy(WC ).