re: REVISION constant for Shoes builds.

"last changed rev" gives the right result for now, but -

1] the associated rescue clause does not work for me on Windows. [I
guess different svn implementations can save the repository state in
xml in different/unpredictable representations?]

( What I see is -
irb(main):002:0> File.readlines(".svn/entries")[10]
=> "   uuid=\"744c4e3c-6a3d-dc11-a54c-00132028b6dc\"\n"
)

2] I'm only an svn newbie, but would all this be better sorted out at
the time of the
'svn commit', rather than later when the package is built? Something like -

svn propset svn:keywords "Revision" Rakefile

combined with a $Revision$ placeholder in Rakefile?

DeeJay

Reply via email to