Nam G VU
Nam G VU

Reputation: 35434

How to compare two SVN revisions using TortoiseSVN command line?

Let's say we have two revisions needed to be compare i.e. r1 and r2.

Normally we 1) open SVN log using TortoiseSVN, then 2) pick up the two revision from the log, and 3) compare them - details as snapshots below.

My question is how can we do the same thing via TortoiseSVN command-line, i.e. TortoiseProc.exe?

p.s.

Looking at official guide from TortoiseSVN page, link me to /command:showcommand but I failed to build a successful complete command call with its arguments such as url1, url2, revision1, and revision2

I'm using local SVN repository created at folder F:\Desktop\aa on my PC; checked-out at F:\Desktop\aaco

My command that failed is as below

tortoiseproc /command:showcompare /url1:file:///F:/Desktop/aaco /revision1:1 /url2:file:///F:/Desktop/aaco /revision2:3

enter image description here

enter image description here

enter image description here

Upvotes: 2

Views: 1083

Answers (1)

Nam G VU
Nam G VU

Reputation: 35434

The correct command should be as below - the url must point to the local repo folder instead of the checkout one.

tortoiseproc /command:showcompare /url1:file:///F:/Desktop/aa /revision1:1 /url2:file:///F:/Desktop/aa /revision2:3

Upvotes: 1

Related Questions