info-cvs
[Top][All Lists]
Advanced

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

Re: cvs update -C question


From: Janning Vygen
Subject: Re: cvs update -C question
Date: Mon, 17 Dec 2001 18:08:29 +0100

Am Montag, 17. Dezember 2001 17:45 schrieben Sie:
> Hi
>
> I seem to have problems using the cvs update -C command to ignore
> any local copies of files, rather than merging them. This command
> is specified in all my local man pages, but when I try to run it, I
> get:
>
> (Locally modified file.txt moved to .#file.txt.1.20)
> cvs server: invalid option -- C
> Usage: cvs server [-APdflRp] [-k kopt] [-r rev|-D date] [-j rev]
>
> The local file is not moved but stays in place, because the
> operation is aborted.
>
> 1. Is this a new option? Can I find out if the server is running an
> old version of CVS?

Its definitly an old version running on the server. Log in and do 
"cvs --version". I think it was introduced in 1.11 but i might be 
wrong.

> 2. Is there another way I can do the same thing?

delete file before updating. this way you get always a clean copy of 
your file. 

rm myfilename.txt
cvs update myfilename.txt

works fine for me.

regards 
janning

> Thanks
>
> David
>
>
>
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs

-- 
Planwerk 6 /websolutions
Herzogstra├če 86
40215 D├╝sseldorf

fon 0211-6015919
fax 0211-6015917
http://www.planwerk6.de



reply via email to

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