]> git.lyx.org Git - lyx.git/blobdiff - src/VCBackend.cpp
Add a vector class that can be referenced with both positive and negative indices...
[lyx.git] / src / VCBackend.cpp
index b79f0e14610edc09ddcefdc478d585433b171003..5d8e33d4eaeb0951c70c6e357e22e80456729b6f 100644 (file)
@@ -520,6 +520,8 @@ FileName const SVN::findFile(FileName const & file)
 void SVN::scanMaster()
 {
        locker_.clear();
+       // vcstatus code is somewhat superflous, until we want
+       // to implement read-only toggle for svn.
        vcstatus = NOLOCKING;
        if (checkLockMode()) {
                if (isLocked()) {
@@ -527,7 +529,7 @@ void SVN::scanMaster()
                        vcstatus = LOCKED;
                } else {
                        locker_ = "Unlocked";
-                       vcstatus = LOCKED;
+                       vcstatus = UNLOCKED;
                }
        }
 }