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

Re: annotate support for emacs

From: <kfogel_at_collab.net>
Date: 2004-02-13 16:41:43 CET

Adrian Robert <arobert@cogsci.ucsd.edu> writes:
> It supports buffer colorization by converting the revision numbers
> into "fake" dates. I couldn't find an easy way to get the real date
> from the revision number (without making a call to the repository) but
> the approach I took works reasonably well though it could use some
> fine-tuning.

There's a 'committed-date' field for each entry in the .svn/entries
file. And it's made available via the 'svn info' command:

   $ svn info foo.txt
   Path: foo.txt
   Name: foo.txt
   URL: http://svn.collab.net/repos/blah/blah/blah/foo.txt
   Repository UUID: 65390229-12b7-0310-b90b-f21a5aa7ec8e
   Revision: 8631
   Node Kind: file
   Schedule: normal
   Last Changed Author: jrandom
   Last Changed Rev: 8631
   Last Changed Date: 2004-02-13 10:27:29 -0600 (Fri, 13 Feb 2004)
   Text Last Updated: 2004-02-13 10:58:21 -0600 (Fri, 13 Feb 2004)
   Properties Last Updated: 2004-02-10 15:29:28 -0600 (Tue, 10 Feb 2004)
   Checksum: dd073e5721412edf2e5c827992883edf
   $

Does that help you?

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 13 17:43:20 2004

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.