mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
6c412e9e90
commit
7ff5bd4c54
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -27,7 +27,8 @@ public:
|
||||
/// the status of the managed file
|
||||
enum VCStatus {
|
||||
UNLOCKED,
|
||||
LOCKED
|
||||
LOCKED,
|
||||
NOLOCKING
|
||||
};
|
||||
|
||||
virtual ~VCS() {}
|
||||
|
Loading…
Reference in New Issue
Block a user