Asif
Asif

Reputation: 1302

svn diff without checkout

Is it possible to find out a recursive diff between two tags of a project in remote repository?

In other words if i know the location of 2 tags are https://myrepo.com/project/tags/v1 and https://myrepo.com/project/tags/v2 respectively, can i find the recursive diff between the 2 without having the code checked out on my machine?

Upvotes: 2

Views: 976

Answers (2)

sebasgo
sebasgo

Reputation: 3861

svn diff works with URLs, too. If you have the SVN command line tools already installed, all you have to do is to run:

svn diff https://myrepo.com/project/tags/v1 https://myrepo.com/project/tags/v2 > v1tov2.diff

After this v1tov2.diff will contain the unified diff between the two tags.

Upvotes: 0

Anders Abel
Anders Abel

Reputation: 69310

With the command line tool:

svn diff https://myrepo.com/project/tags/v1 https://myrepo.com/project/tags/v2

Upvotes: 0

Related Questions