Yes, it's in the status output, already cached in the entries file.
Try 'svn st -v', and 'svn help st'.
Alternately, 'svn diff -rPREV' will show you the last change to the
file. :-)
Jim Blandy <jimb@red-bean.com> writes:
> Is there any reliable way to find the revision number at which a file
> was last changed?
>
> One command that Emacs's VC package provides is vc-diff (C-x v =).
> Normally, vc-diff shows you your uncommitted changes. But you can
> also invoke in a way that lets you get a diff between arbitrary
> revisions of the file. It prompts you for the "from" and "to"
> revisions. These are supposed to default to immediately before and
> immediately after the last time the file was changes, so it's trivial
> to see the last thing that happened to a given file.
>
> Under CVS, if you've got a file at 1.38, say, then you know its
> immediate predecessor is 1.37. But since Subversion uses global
> revision numbers, it's not so easy. A file may be at revision '1093',
> but you have no idea what revision it last changed in.
>
> Does the working copy have this info? Is there some straightforward
> way to get it?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 26 19:45:54 2002