[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: the "direction" of "svn diff" output

From: Peter Samuelson <peter_at_p12n.org>
Date: 2005-08-07 17:27:26 CEST

[Robert P. J. Day]
> $ svn diff -r99:100 ...
> $ svn diff -r100:99
>
> would give "opposite" outputs.

Correct.

> second, what would be compared with the following and what would be
> its directionality?
>
> $ svn diff -r HEAD

From HEAD to the state of the current checkout. If your checkout
hasn't been updated since someone else committed, the more recent
commits will show in a reverse diff. If you've got local uncommitted
changes, those will show in a forward diff.

Peter

Received on Sun Aug 7 17:29:23 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.