[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Filename with initial minus/dash/hyphen
From: |
Pierre Asselin |
Subject: |
Re: Filename with initial minus/dash/hyphen |
Date: |
Fri, 1 Aug 2008 00:29:44 +0000 (UTC) |
User-agent: |
tin/1.8.3-20070201 ("Scotasay") (UNIX) (NetBSD/4.0 (i386)) |
gwen_goodnight <address@hidden> wrote:
> My repository on a Linux workstation (Red Hat Enterprise 3.0)
> Concurrent Versions System (CVS) 1.11.2 (client/server)
> Some of my developers are using Windows workstations with WinCVS to access
> the
> repository.
> [ ... ]
> Everything works fine, except that the developers have a couple of files
> whose filename
> starts with a minus sign. (Too late to change the file names)
Is it ? I think it would be an excellent idea to change the
names right now.
> cvs commit -m "test errorz" -- -X_test.sn3 (in directory C:\Documents and
> Settings\mjmix\dev\)
> Checking in -X_test.sn3;
> /home/cm/DEV_CVS_ROOT/dev/-X_test.sn3,v <-- -X_test.sn3
> cvs server: _test.sn3: No such file or directory
> cvs [server aborted]: error diffing -X_test.sn3
Don't know if it will work, but try "cvs commit ./-X_test.sn3"
If you're lucky the file name will be sent with the leading "./"
and if you're even luckier the server will use that same name
(which no longer begins with a dash).
Even if it works it is not a good solution because it forces
you to commit these files by name forevermore. No committing
the top-level folder. Please go change the names now.
--
pa at panix dot com