I am currently cleaning up a patch that implements LFUN_VC_RENAME and 
LFUN_VC_COPY for submission. I implemented it originally for my wife in 1.6, 
and do not want to port it on each upgrade;-) During the cleanup I stumbled 
over the file_ member of the CVS and SVN classes. RCS does not have it, and 
in CVS and SVN it is only sometimes used. As I understand it, it always 
points to the buffer file. I do not really understand why it exists at all. 
The history does not tell much, since it is there from the very beginning of 
the CVS class.

I'd like to unify the file name handling for all backends. In principle, 
file_ could be removed completely, or it could be moved to the base class 
and used exclusively (instead of owner_->absFileName() etc). Removing it is 
more safe (less changes, no internal file name refresh issues). Using it 
exclusively would pave the way towards using version control also for all 
kinds of included files, e.g. images, because the implicit coupling to the 
buffer file name would be gone.

What do you prefer?


Georg

Reply via email to