Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Subversion: How to find the differences between two tags?

Tags:

diff

svn

I know that a diff between two tags lists the 'files' which have been changed between those two tags by the following method.

svn diff tag1 tag2 |grep Index:

Is there any property in Subversion or some technique to find out revision numbers which caused those files to change (i.e differences between tag1 version of the file and tag2 version of the same file)?

Thx Vandana

like image 987
user394475 Avatar asked Jul 17 '10 04:07

user394475


People also ask

How do you find the difference between two svn revisions?

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. TARGET s may be all working copy paths or all URL s.

How do I compare codes in svn?

Go to the repository browser (<right click>/TortoiseSVN/Repo-browser/<enter URL>). Open right click menu on branch B, select 'Mark for comparison'. Then open right click menu on branch A, select 'Compare URLs' or 'Show differences as unified diff'.

Which command is used to show the difference between two revisions?

The diff command is used to compare different revisions of files. The default action is to compare your working files with the revisions they were based on, and report any differences that are found. If any file names are given, only those files are compared.

What is the use of svn diff command?

The svn diff command reveals the differences between your working copy and the copy in the master SVN repository.


1 Answers

with svn version 1.9.7, although my tags are not in the same branch, it works !

svn diff --old=URL_TAG_1 --new=URL_TAG_2
like image 58
Arnaud Grandville Avatar answered Oct 14 '22 15:10

Arnaud Grandville