[cvsnt] Re: cvs edit and possibly forcing different revision

Gerhard Fiedler lists at connectionbrazil.com
Sat Dec 17 14:46:02 GMT 2005


Steve Hobbs wrote:

> I was just wondering if this is something that could be done server
> side...

> If I could just leverage the knowledge that the server has of all the
> options and return the correct branch for the user to edit, that would
> make the most sense to me.

I'm not sure, but I think the server has no means of instructing the client
to update the sandbox file when the client issues an edit command on an
outdated revision. However, there may be a possibility that one of the
admin files (e.g. precommand) can check the revision that is about to be
edited, read the number of the highest revision on the same branch and
refuse the command if they are not the same.

> Also the ability to cvs edit and lock a non-branch tag seems a little
> strange...

That may be a result of Tony not using the edit feature a lot :)

Gerhard



More information about the cvsnt mailing list