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

Re: When did a file last change?

From: Jim Blandy <jimb_at_red-bean.com>
Date: 2002-07-26 19:58:55 CEST

Ben Collins-Sussman <sussman@collab.net> writes:
> Yes, it's in the status output, already cached in the entries file.
>
> Try 'svn st -v', and 'svn help st'.

Okay, this works because when I see something like this:

    zenia:subversion$ svn status -v CHANGES
    _ 2711 2667 kfogel CHANGES

the second number is guaranteed to be no greater than the first
number. Thus the recent fix to the docs.

However, in your conversation with Alexis Huxley, you pondered the
possibility of changing this so that the second number might be
greater than the first, if you passed `svn status' the `-u' flag, to
allow it to consult the repository and see the latest revision.

I understand that was just idle discussion, but if it does happen, I'd
like to request that there remain *some* way to find the most recent
change that produced the text the user has in hand. Running `svn
status -u' really shouldn't drop that older number in favor of the
newer number.

> Alternately, 'svn diff -rPREV' will show you the last change to the
> file. :-)

The `-rPREV' part should appear in the `diff' command's help,
shouldn't it?

---------------------------------------------------------------------
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:59:29 2002

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

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