1 Feb 2009 01:59
Re: [patch] SVN locking
Pavel Sanda wrote: > this is really cool feature and i will cry for having this in branch too, Juergen :) attached tested patch for branch. pavel
Index: src/VCBackend.h
===================================================================
--- src/VCBackend.h (revision 28305)
+++ src/VCBackend.h (working copy)
<at> <at> -27,7 +27,8 <at> <at>
/// the status of the managed file
enum VCStatus {
UNLOCKED,
- LOCKED
+ LOCKED,
+ NOLOCKING
};
virtual ~VCS() {}
<at> <at> -225,9 +226,17 <at> <at>
virtual void scanMaster();
/// Check for messages in svn output. Returns error.
std::string scanLogFile(support::FileName const & f, std::string & status);
+ /// checks locking policy and setup locked_mode_
+ bool checkLockMode();
+ /// is the loaded file locked?
+ bool isLocked();
+ /// acquire/release write lock for the current file
(Continue reading)
RSS Feed