info-cvs
[Top][All Lists]
Advanced

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

Re: Files beginning with a minus sign


From: Ronald Petty
Subject: Re: Files beginning with a minus sign
Date: 28 Mar 2003 12:58:47 -0600

What about 

cvs commit "-filename.txt"

?

or

cvs commit "./-filename.txt"

Ron

On Fri, 2003-03-28 at 12:14, Eric Siegerman wrote:
> On Fri, Mar 28, 2003 at 11:15:43AM +0000, Franky Van Liedekerke wrote:
> > cvs commit -m "message" -- -filename.txt
> > 
> > So now the cvs command itself ws happy, but the server complains with:
> > 
> > up-to-date check failed for -filename.txt
> 
> Here are some possibilities (*not* tested):
>  1. cvs commit ./-filename.txt
>       Forward slash to hopefully keep CVS happy
>  2. cvs commit .\-filename.txt
>       Backslash to hopefully keep Windows happy
>  3. Same as (1), but do it on a UNIX box
>  4. Same as (1), but do it on the CVS server itself, in a local
>     (i.e.  non-client-server) sandbox
> 
> If all else fails, and if you don't need the file's revision
> history (but think twice about this!):
>  5. Just go into the repo and "rm ./-filename.txt,v"  (I know the
>  "./" will keep rm happy; that variant I *have*, umm, tested, on
>  a number of occasions :-)
> 
> --
> 
> |  | /\
> |-_|/  >   Eric Siegerman, Toronto, Ont.        address@hidden
> |  |  /
> A distributed system is one on which I cannot get any work done,
> because a machine I have never heard of has crashed.
>       - Leslie Lamport
> 
> 
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs
> 





reply via email to

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