On Tue, 21 Aug 2007, Javier Fernández-Sanguino Peña wrote: > The other option, parsing .svn/entries of a checkout dir to find the specific > revision of a file looks like it might be difficult to code but wouldn't > require us to do b)
Using "LANG=C svn info file" seems better than parsing that file. :) A sample: $ LANG=C svn info README Path: README Name: README URL: svn+ssh://svn.debian.org/svn/pkg-perl/trunk/libdbd-pg-perl/README Repository Root: svn+ssh://svn.debian.org/svn/pkg-perl Repository UUID: 145192d1-2bdb-0310-8ac0-90ff8a91ff6c Revision: 6087 Node Kind: file Schedule: normal Last Changed Author: hertzog Last Changed Rev: 2805 Last Changed Date: 2006-05-26 00:03:43 +0200 (Fri, 26 May 2006) Text Last Updated: 2006-05-25 23:59:48 +0200 (Thu, 25 May 2006) Checksum: a3717f69ca2ef47139c4a21e9246c03f The "Last Changed Rev" field is what you're looking for. And this operation is done off-line. Cheers, -- Raphaël Hertzog Premier livre français sur Debian GNU/Linux : http://www.ouaza.com/livre/admin-debian/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]