gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu-arch-users] Keyword substitution, How can I automatically add versi


From: Juraj Kubelka
Subject: [Gnu-arch-users] Keyword substitution, How can I automatically add version to file?
Date: Tue, 18 Jan 2005 21:39:50 +0100
User-agent: Mutt/1.5.6+20040907i

Hi!

I need add something like $Id$ from CVS to file and automatically
update it before commit to new version.

I read it is not possible with GNU Arch (tla). Do you think I can use
hook file? But how? When `$1 == commit' it is too late for updating
and when `$1 == precommit' it hasn't any effect. It is added to file
but not committed. Also I have to execute `touch file' and then `tla
changes --diffs' shows me not added difference (line).

Do you have better idea? I need it because of tagging builds (binary
files). I need to know relation between binaries in sources and it
isn't good depend on human factor.

Can this tag line cause any branch merging problem? When every release
in every branch has unique this line in file? I talk about line like:

VERSION = "arch-version: category--branch--version--release"

or

VERSION = "arch-version: archive-name/category--branch--version--release"

Thank you.
Best regards,
Jura

-- 
+ Juraj Kubelka ++++++++++++++++++++++++
+ emailto:Juraj.Kubelka at email.cz    +
+ jabber://cesta at jabber.cz          +
+ icq: 25932918                        +
+ www: http://cestikovo.com            +
+ GPG: http://cestikovo.com/cesta.keys +
++++++++++++++++++++++++++++++++ Cesta +

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]