Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN: What is the difference between 'Base Revision' and 'Latest from Repository'?

Tags:

java

eclipse

svn

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!

like image 355
Vikram Avatar asked Mar 04 '13 19:03

Vikram


People also ask

What is base revision in svn?

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.

How do you find the difference between two svn revisions?

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.

How do I compare changes in svn?

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.


2 Answers

"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

like image 57
Rafael Colucci Avatar answered Oct 05 '22 22:10

Rafael Colucci


"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)

like image 36
Larry Shatzer Avatar answered Oct 05 '22 23:10

Larry Shatzer