6 Jan 2010 03:10
VCBackend::SVN code
Pavel,
I had a look at the locking code (because of bug #6433), but I have some
questions.
Typo ? :
void SVN::scanMaster()
{
locker_.clear();
vcstatus = NOLOCKING;
if (checkLockMode()) {
if (isLocked()) {
locker_ = "Locked";
vcstatus = LOCKED;
} else {
locker_ = "Unlocked";
- vcstatus = LOCKED;
+ vcstatus = UNLOCKED;
}
}
}
> /// The user currently keeping the lock on the VC file.
> std::string locker_;
If the locker_ string contains the user, I would say that the variable
should be named such that it indicates that it is a user name. But then
I see:
(Continue reading)
RSS Feed