Code

Restore files that shouldn't have been touched. Grrr
[inkscape.git] / buildtool.cpp
index 4ba7ccfe9e8392f3026a78b1119e0019648a8ee4..538a6faa51c92a1619081bace877a7bc92082552 100644 (file)
@@ -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;