]> git.lyx.org Git - features.git/commitdiff
Fix typo spotted by Vincent
authorPavel Sanda <sanda@lyx.org>
Thu, 7 Jan 2010 17:06:48 +0000 (17:06 +0000)
committerPavel Sanda <sanda@lyx.org>
Thu, 7 Jan 2010 17:06:48 +0000 (17:06 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32841 a592a061-630c-0410-9148-cb99ea01b6c8

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;
                }
        }
 }