On Aug 30, 2009, at 21:40, Ben Kim wrote:
> When I do diff st -u,
> it shows that file1 is different in the repo. For example, it says
> * 614 file1
> Status against revision: 656
> (* is the comment.)
> Then when I do
> svn diff file1
> it does not show the difference with version 656. It just shows
> whether I
> have a local modification against the version I last updated to (614).
> Only when I do
> svn diff -r656 file1
> I get the difference.
> Is this supposed to be?
Yes. The program behaves correctly.
> Is there a switch to make this happen without -r656?
I think the switch is "-r656" :) (or perhaps "-rHEAD"; I haven't tried).
> says "If either N or M are omitted, a value of HEAD is assumed."
> but it seems not happening on my svn.
I think it's talking about using svn diff against URLs here, not
against a working copy. Perhaps the wording could be clarified.
Though in this case the documentation probably hasn't changed much
since then, please note that the above URL is part of the
documentation for Subversion 1.0, which is very old. Here is the
corresponding documentation for Subversion 1.5, which is the most
recent version of the documentation that has been finished:
P.S: Please don't reply to unrelated messages in order to start a new
thread. Threaded mail readers and the mailing list archives will link
your message to the old one, although they are not related in content.
To start a new thread, please use the New Message function in your
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-31 12:46:08 CEST