info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: lock-modify-unlock model with CVS


From: Noel Yap
Subject: RE: lock-modify-unlock model with CVS
Date: Fri, 19 Jul 2002 15:17:52 -0700 (PDT)

--- Nate Swenson <address@hidden> wrote:
> --- Nate Swenson <address@hidden> wrote:
> > Noel,
> > I applied the advisory locks patch to cvs on our
> > Linux server and it
> > appeared to be completed successful so I copied
> the
> > cvs file it created into
> > our change-rooted /bin directory so I could test
> it.
> >  Then I tried to run
> > the "cvs edit -c 'filename'" option from WinCvs on
> > the client machine and I
> > got the same error as I did with the unpatched
> > version of cvs (basically,
> > the cvs edit -c command didn't work), but the "cvs
> > edit 'filename'" command
> > works the same as it did before, so it appears
> that
> > the patch did not change
> > anything.  Is there something I have to do in
> order
> > to activate the -c
> > option?  Thanks for all your help.
> 
> 
> What output do you get for "cvs -H edit"?
> 
> cvs edit -H "package body p030_copy.sql" 
> edit: invalid option -- H
> Usage: cvs edit [-lR] [files...]
> -l: Local directory only, not recursive
> -R: Process directories recursively
> -a: Specify what actions for temporary watch, one of
>     edit,unedit,commit,all,none
> (Specify the --help global option for a list of
> other help options)
> 
> *****CVS exited normally with code 1*****

Again, what output do you get for "cvs -H edit"?

> What output do you get for "type cvs" (if you're
> using
> a sh-like shell) or "which cvs" (if you're using a
> csh-like shell)?
> # type cvs
> cvs is /usr/bin/cvs
> # which cvs
> /usr/bin/cvs

Is this the patched cvs?

> What output do you get for "rsh cvs-server type
> cvs"?
> # rsh cvs-server type cvs
> cvs-server: Unknown host

Sorry, I forgot to mention to substitute your cvs
server for cvs-server.

> Are you running a patched version on both the client
> and the server?
> The patched version of cvs is running on a linux
> server.
> The client is running WinCvs on a Win2000
> workstation.

I think this is the root of your problem.  The client
needs to be patched as well.

Noel

__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]