VCS: adjust internal structure

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28303 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2009-01-31 18:01:48 +00:00
parent 6c412e9e90
commit 7ff5bd4c54
2 changed files with 13 additions and 5 deletions

View File

@ -455,10 +455,17 @@ FileName const SVN::findFile(FileName const & file)
void SVN::scanMaster()
{
// if we want some locking under svn
// we need different infrastructure around
locker_ = "Unlocked";
vcstatus = UNLOCKED;
locker_.clear();
vcstatus = NOLOCKING;
if (checkLockMode()) {
if (isLocked()) {
locker_ = "Locked";
vcstatus = LOCKED;
} else {
locker_ = "Unlocked";
vcstatus = LOCKED;
}
}
}

View File

@ -27,7 +27,8 @@ public:
/// the status of the managed file
enum VCStatus {
UNLOCKED,
LOCKED
LOCKED,
NOLOCKING
};
virtual ~VCS() {}