[Top][All Lists]

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

Re: Files beginning with a minus sign

From: Eric Siegerman
Subject: Re: Files beginning with a minus sign
Date: Fri, 28 Mar 2003 13:14:11 -0500
User-agent: Mutt/1.2.5i

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

reply via email to

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