Wiki source code of VersionControl

Version 8.1 by Sergiu Dumitriu on 2008/03/10

Show last authors
1 1 Version Control
2
3 Any change made to a document is saved under Version Control. You can see the version of a document by looking at the bottom of the document. For example, on the following document the version is 5.4 and has last been modified by "Sergiu":
4
5 {image:versioncontrol1.png}
6
7 As the image shows, the document version consists of two numbers, separated by a dot: <tt>&lt;Major&gt;.&lt;Minor&gt;</tt>. The XWiki versioning system allows the distinction between major and minor edits. When [editing a page>Features.PageEditing], the user has the option to decide whether his edit brings major or minor changes to the document. Saving a major version will increase the first component and reset the second to "1", while a minor version will just increase the second component.
8
9 If you click on the "History" button when viewing a page you can see all the versions that were previously saved and decide to compare versions together or set a given version as the current version:
10
11 {image:versioncontrol2.png}
12
13 You can also compare 2 versions and see the differences:
14
15 {image:versioncontrol3.png}

Get Connected