On Thu, May 24, Duncan Mac-Vicar P. wrote:
On Wednesday 23 May 2007 10:36:28 pm Michael Andres wrote:
$Revision$ substitution?
But AFAIK you get the 'Last Changed Rev' of the file. So it is clueless if the file does not change frequently.
In subversion the revision number is repository global. So it should give you the ZYpp revision number.
No it gives the LastChangedRevision of the file - or is there another keyword I do not know? ma@calvin:~/zypp-trunk/libzypp/devel/devel.ma> cat tt $Rev: 5622 $ $Revision: 5622 $ $LastChangedRevision: 5622 $ Comitting something else: ma@calvin:~/zypp-trunk/libzypp/devel/devel.ma> svn ci -m '' Parse.cc Sending Parse.cc Transmitting file data . Committed revision 5623. But tt's revision stays at 5622 (last change of tt) ma@calvin:~/zypp-trunk/libzypp/devel/devel.ma> svn up tt At revision 5623. ^^^^ ma@calvin:~/zypp-trunk/libzypp/devel/devel.ma> cat tt $Rev: 5622 $ $Revision: 5622 $ $LastChangedRevision: 5622 $ ^^^^ Only changing tt changes the substituted revision: ma@calvin:~/zypp-trunk/libzypp/devel/devel.ma> svn ci -m '' tt Sending tt Transmitting file data . Committed revision 5624. ^^^^ ma@calvin:~/zypp-trunk/libzypp/devel/devel.ma> cat tt $Rev: 5624 $ $Revision: 5624 $ $LastChangedRevision: 5624 $ -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org