diff options
| author | Ted Gould <ted@gould.cx> | 2009-11-29 19:51:36 +0000 |
|---|---|---|
| committer | Ted Gould <ted@gould.cx> | 2009-11-29 19:51:36 +0000 |
| commit | 51a880db854a5959378d755b3049a168f634c071 (patch) | |
| tree | ac1d51963375f9cbb14a730153447b01e981b620 /buildtool.cpp | |
| parent | adding iffdefs for LCMS and fixing layout of CMS icons (diff) | |
| parent | Deprecation warning fix on xcf export (diff) | |
| download | inkscape-51a880db854a5959378d755b3049a168f634c071.tar.gz inkscape-51a880db854a5959378d755b3049a168f634c071.zip | |
Updating to current trunk
(bzr r8050.1.16)
Diffstat (limited to 'buildtool.cpp')
| -rw-r--r-- | buildtool.cpp | 6 |
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; |
