[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Cvs-dev] Re: Allowable Edit
From: |
Arthur Barrett |
Subject: |
RE: [Cvs-dev] Re: Allowable Edit |
Date: |
Wed, 25 Jul 2007 21:40:41 +1000 |
Thiago Bijani,
1) cvs
edit -c is a CVSNT feature AFAIK -please subscribe to and ask on the cvsnt
support list
2) do
not ask user questions on the dev list. CVS is 21 years old - there isn't
a problem/business requirement you can think of that someone else hasn't already
solved 3 times already.
3)
There are several ways to make -c the default, the primary way is by setting the
default mode of the file with cvs update -k+c; cvs ci -f -m "".
Alternatives are the cvsrc file in CVSROOT or the .cvsrc file in
CVSHOME.
Regards,
Arthur
Barrett
Hi all,
Nice ideia Arthur.
Thanks very
well.
Now, im trying to implement the concorrent edit as default,
instead of force edit.
In edit.c, it gets the arguments in a while, and do
a switch for each char.
There is a 'check_edited' boolean too, that begins
false, and it been come true when the edit is concurrent (-c).
I put the
check_edited as true since begin, and don't works.
Defining the edit as
concurrent by default, just let the user to edit concurrently or force edit.
I've alredy put the checkout as read-only.
#define CVSREAD_DFLT 1
(0 is writable by default, as before)
Thanks for all
help.
Thiago Bijani.
On 7/19/07, Arthur
Barrett <address@hidden>
wrote:
Thiago
Bijani,,
> I'm working on a project that needs to prompt
>
the user when he wants to edit an object, and
> it is being edited by
others.
> I'm under CVS 1.12.13, CVSNT 2.5.03.2382 and
WinCVS.
Just use CVSNT on linux and windows and use the "concurrent
edit" option
(cvs edit -c), it works almost exactly how you describe in
conjuctions
with the CVSGUI protocol. Please keep CVSNT
questions to the CVSNT
list, WinCVS questions no the wincvs/cvsgui list
and cvs questions on
the cvs list.
Regards,
Arthur
Barrett