Hi,
Say I wanted to know what svn revision a given site was using, simply
from looking at the site. How could I embed that information into the
page (into maybe a html comment or in the page footer)? A switchtower
task?
Joe
Hi,
Say I wanted to know what svn revision a given site was using, simply
from looking at the site. How could I embed that information into the
page (into maybe a html comment or in the page footer)? A switchtower
task?
Joe
Joe Van D. wrote:
Hi,
Say I wanted to know what svn revision a given site was using, simply
from looking at the site. How could I embed that information into the
page (into maybe a html comment or in the page footer)? A switchtower
task?
Two ways. In each view, you could put into an X/HTML comment
and set the svn:keywords property. See
http://svnbook.red-bean.com/en/1.1/ch07s02.html#svn-ch-7-sect-2.3.4
for more information.
The other way is to use svnversion, run it over the working copy, and
save it’s
output somewhere, maybe as a static file in the public folder.
Regards,
Blair
–
Blair Z., Ph.D.
CTO, OrcaWare Technologies
[email protected]
Subversion training, consulting and support
http://www.orcaware.com/svn/
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs