[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: Bill Tutt <rassilon_at_lyra.org>
Date: 2002-07-26 19:44:46 CEST

We'd talked about supporting a -r -N syntax that would make things like
this easier. I don't know if your question can be easily answered atm.

I think somebody might have logged an issue about it as well.

FYI,
Bill

> From: Jim Blandy [mailto:jimb@red-bean.com]
>
>
> 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:54:23 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.