summaryrefslogtreecommitdiffstats
path: root/buildtool.cpp
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2009-11-29 19:51:36 +0000
committerTed Gould <ted@gould.cx>2009-11-29 19:51:36 +0000
commit51a880db854a5959378d755b3049a168f634c071 (patch)
treeac1d51963375f9cbb14a730153447b01e981b620 /buildtool.cpp
parentadding iffdefs for LCMS and fixing layout of CMS icons (diff)
parentDeprecation warning fix on xcf export (diff)
downloadinkscape-51a880db854a5959378d755b3049a168f634c071.tar.gz
inkscape-51a880db854a5959378d755b3049a168f634c071.zip
Updating to current trunk
(bzr r8050.1.16)
Diffstat (limited to 'buildtool.cpp')
-rw-r--r--buildtool.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/buildtool.cpp b/buildtool.cpp
index 4ba7ccfe9..538a6faa5 100644
--- a/buildtool.cpp
+++ b/buildtool.cpp
@@ -4704,6 +4704,12 @@ bool MakeBase::lookupProperty(const String &propertyName, String &result)
varname = varname.substr(svnPrefix.size());
String val;
SvnInfo svnInfo;
+ if (varname == "revision")
+ {
+ if (!svnInfo.query(varname, val))
+ return "";
+ result = "r"+val;
+ }
if (!svnInfo.query(varname, val))
return false;
result = val;