]> git.donarmstrong.com Git - cran2deb.git/commitdiff
use svnversion() for scm_revision var
authoredd <edd@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Sat, 21 Mar 2009 20:28:15 +0000 (20:28 +0000)
committeredd <edd@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Sat, 21 Mar 2009 20:28:15 +0000 (20:28 +0000)
git-svn-id: svn://svn.r-forge.r-project.org/svnroot/cran2deb@208 edb9625f-4e0d-4859-8d74-9fd3b1da38cb

trunk/R/zzz.R

index d184393137d5a734ce977fc5041780d6afd34479..5644b96cd8a67bc3277fcaf13f7b1250bb4fb4ef 100644 (file)
@@ -14,7 +14,7 @@
     global("dinstall_config",   file.path('/etc/cran2deb/sys',which_system,'mini-dinstall.conf'))
     global("dinstall_archive",  file.path('/etc/cran2deb/archive',which_system))
     global("r_depend_fields", c('Depends','Imports')) # Suggests, Enhances
-    global("scm_revision", 'svn:$Id$')
+    global("scm_revision", paste("svn revision", svnversion(), sep=""))
     global("patch_dir", '/etc/cran2deb/patches')
     global("changesfile", function(srcname,version='*') {
         return(file.path(pbuilder_results
@@ -26,5 +26,5 @@
     if (file.exists(cache)) {
         load(cache,envir=.GlobalEnv)
     }
-    message(paste('I: cran2deb',scm_revision,'building for',which_system))
+    message(paste('I: cran2deb',scm_revision,'building for',which_system,'at',Sys.time()))
 }