While comparing a local file in workspace with the one in repository, I came across: Compare with >> 'Base revision' and Compare with >> 'Latest from repository'.
So, I want to know what is the difference between 'Base Revision' and 'Latest from Repository'?
Thanks!
BASE revision. The current base revision of a file or folder in your working copy. This is the revision the file or folder was in, when the last checkout, update or commit was run. The BASE revision is normally not equal to the HEAD revision.
Display the differences between two paths. The ways you can use svn diff are: Use just svn diff'to display local modifications in a working copy. Display the changes made to TARGET s as they are seen in REV between two revisions.
Pick the two revisions you want to compare then use Context Menu → Compare Revisions. If you want to compare the same item in two different trees, for example the trunk and a branch, you can use the repository browser to open up both trees, select the file in both places, then use Context Menu → Compare Revisions.
"Base revision" is the last revision you have obtained from the repository. "Latest from repository" is the most recent code that the repository has.
Source: when-does-svn-base-become-equal-to-the-head
"Base revision" is also known as BASE
, which is: The revision number of an item in a working copy. If the item has been locally modified, this refers to the way the item appears without those local modifications.
"Latest from repository" is HEAD
, which is: The latest (or "youngest") revision in the repository.
(Taken from here)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With