From: Pavel Sanda Date: Thu, 7 Jan 2010 17:06:48 +0000 (+0000) Subject: Fix typo spotted by Vincent X-Git-Tag: 2.0.0~4535 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=9d5750e01b05132432be8ed34e610d56171a7d6b;p=features.git Fix typo spotted by Vincent git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32841 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/VCBackend.cpp b/src/VCBackend.cpp index b79f0e1461..5d8e33d4ea 100644 --- a/src/VCBackend.cpp +++ b/src/VCBackend.cpp @@ -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; } } }