Wiki source code of VersionControl

Version 8.1 by Sergiu Dumitriu on 2008/03/10

Hide last authors
Vincent Massol 1.1 1 1 Version Control
2
Sergiu Dumitriu 6.1 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":
Vincent Massol 5.3 4
Vincent Massol 1.1 5 {image:versioncontrol1.png}
6
Sergiu Dumitriu 6.1 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
Vincent Massol 1.3 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:
Vincent Massol 1.1 10
11 {image:versioncontrol2.png}
12
Vincent Massol 1.7 13 You can also compare 2 versions and see the differences:
Vincent Massol 1.1 14
15 {image:versioncontrol3.png}
16
17

Get Connected