]> git.lyx.org Git - lyx.git/blobdiff - src/VCBackend.cpp
Customization.lyx: rewrote section how to install LaTeX-packages
[lyx.git] / src / VCBackend.cpp
index ea9536e86fd73ed3bad09fd400c23d3c60fb0b16..100da4f302c7a4699212a2a1cfe546713bcac083 100644 (file)
@@ -293,8 +293,12 @@ bool RCS::prepareFileRevision(string const &revis, string & f)
 
        if (isStrInt(rev)) {
                int back = convert<int>(rev);
-               if (back > 0)
-                       return false;
+               // if positive use as the last number in the whole revision string
+               if (back > 0) {
+                       string base;
+                       rsplit(version_, base , '.' );
+                       rev = base + "." + rev;
+               }
                if (back == 0)
                        rev = version_;
                // we care about the last number from revision string