On Friday 01 July 2011, you wrote:
> I want do create a tag. And the name of the tag should look like this:
> <projet_name>_V1.3.456789
>
> The "456789" should be the svn revision from the new created tag.
Why? Revisions are an artifact of SVN's internals and I'd generally not use
them for anything visible.
> Is thsi possible? I think, the problem is, that the revision isn´t known
> until the tag is created.
Yes, it's not reliable, unless you manage to restrict access to the repository
for tagging.
That said, you will save yourself lots of trouble and confusion if you just
version your releases by using the typical triple of numbers. Otherwise you
will face questions like "Why is there a 1.0.50 but not a 1.0.49?" or "Why is
there a 1.0.50 but only a 1.1.49?". In other words, there is no meaning that
the user can attach to this version, only the developer then knows that it was
created with this revision. Even for a developer, the question is what you
want with that info? You don't even know the date, but this and any further
info are quickly findable from a tag anyway, a simple "svn log.." does it.
Lastly, if you ever decide to switch to a different version control system,
how would you migrate this SVN artifact?
Sorry, but I think you are asking for a wrong solution to your problem. Maybe
you should explain what you are trying to solve instead and why you think you
need this revision number.
Uli
**************************************************************************************
Domino Laser GmbH, Fangdieckstra�e 75a, 22547 Hamburg, Deutschland
Gesch�ftsf�hrer: Thorsten F�cking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Visit our website at http://www.dominolaser.com
**************************************************************************************
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. Domino Laser GmbH ist f�r diese Folgen nicht verantwortlich.
**************************************************************************************
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2784328
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-07-04 10:45:25 CEST