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

Hunting for the revision number of a file

From: Christian Treczoks <ct_at_braehler.com>
Date: Tue, 5 May 2009 11:33:44 +0200

Dear mailing list members,

I am currently working on an embedded application. The building process
involves the usual compiling and linking step producing the flash-file,
and a final "packaging" step that takes the flash file and adds some
device specific parameters for "delivery". One of the parameters I need is
the subversion revision number of the flash file. I can get this with "svn
info [filename]" from the command line (I need the "last changed rev"
value), but the packaging software should not call an external executable
(Lotus Notes. Nuff said).

What can I do to get this revision number? Can I call a function in one of
the svn or tortoise dlls? Is it safe to parse the .svn/entries file for
the information I need?

Yours,

i.A. Christian Treczoks
Research and Development
Auf der Alten Burg 6
53639 Königswinter

Tel.: +49 (0)2244 930-282
Fax.: +49 (0)2244 930-410
E-Mail: ct_at_braehler.com
http://www.braehler.com
--------------------------------------------------------------------
Hauptsitz / Headquarters
Brähler ICS Konferenztechnik International Congress Service AG
Wahlfelder Mühle 3, 53639 Königswinter, Germany
Handelsregister: Amtsgericht Siegburg HRB 6980
Vorstand: Michael Brähler, Rita Degen, Hans Henrik Friis
Vorsitzende des Aufsichtsrates: Erika Brähler

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2067186

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-05-05 11:34:16 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

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