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

Re: Putting the tag name in the tagged code

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: 2007-02-28 09:22:09 CET

On Wednesday 28 February 2007 08:56, jason marshall wrote:
> I have a requirement for my code repository that I don't think is
> exotic, or honestly all that uncommon. I need to get accurate version
> information into any binary built from an SVN tag directory, for
> purposes of version tracking and customer support.
>
> I can certainly accomplish this with pre-built binaries. Many
> Continuous Integration tools have facilities for doing this (and
> generating the tags to begin with), but that only helps when I'm doing
> a binary distribution. Is there a way to accomplish the same thing
> (automatically!) with a source distribution?
>
> The general consensus seems to be that it's both unwise and fairly
> brittle to have an on-commit modification (such as code beautifying)
> to the source tree. However, with a tag we're generally NOT expecting
> anyone to update it, and at least in our case it's being created
> directly in the repository, so there is no repos/working directory
> inconsistency to mitigate.

Hmmm, what is it that you can't achieve with the existing placeholders that
SVN can replace in text files? The path and revision within a repository
should be enough, right?

Uli

-- 
ML: http://subversion.tigris.org/mailing-list-guidelines.html
FAQ: http://subversion.tigris.org/faq.html
Docs: http://svnbook.red-bean.com/
Sator Laser GmbH
Geschäftsführer: Ronald Boers       Steuernummer: 02/892/02900 
Amtsgericht Hamburg HR B62 932      USt-Id.Nr.: DE183047360
**************************************************************************************
           Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 28 09:22:33 2007

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.