bug-cvs
[Top][All Lists]
Advanced

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

Re: Checking out filenames with : in them on windows does not work


From: Derek Robert Price
Subject: Re: Checking out filenames with : in them on windows does not work
Date: Thu, 27 May 2004 16:16:21 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Conrad T. Pino wrote:

>Hi Derek,
>
>>From: Derek Robert Price
>>
>>I was hoping there was a simpler solution, like a Windows rename
>>function that won't choke on files with colons in the name or perhaps
>>checking for colons in non-absolute filenames in the wrapper and
>>converting the names to absolute forms for the rename.
>
>
>Windows is picky about file names and colon is on the no-no list:
>
>http://msdn.microsoft.com/library/en-us/fileio/base/naming_a_file.asp


Actually, I'm now inclined to just tell users not to use filenames
that are restricted on Windows if they need Windows clients.

>We don't have a repository now which means I can't generate a patch.


Latest word is the site will be ready for the final QA pass at 4pm
PDT.  Of course, it was going to be ready Monday too.  :)

At the least, I'm also told a "Please excuse the delay" page should be
up shortly.

>>If you have a Bourne compatible shell installed yes, though I've only
>>attempted to run it with the CVS compiled under Cygwin and UNIX style
>>paths.  I'm not sure what would be necessary to run the Win32 CVS
>>through the suite with Windows style paths.  If you want to look
into it,
>
>
>I have a old MKS ToolKit shell:
>
>    > sh
>    $ echo $SHELL_VERSION
>    6.1 build 209 Sep 24 1997 00:57:23
>    $
>
>As for time all I have this week is an hour here and there.
>
>I still don't now how to run the test suite.  Perhaps if you share the
>*nix version of the process I could extrapolate.


Read the TESTS file.  Basically, if you don't have make to run `make
check', it's `src/sanity.sh <path_to_cvs>'.  It also accepts some
options - run the script without arguments to get a list.

>Does the test suite provide coverage for this issue?  If not let's not
>bother.


It might.  I don't know.  If not, they would be easy to add.  Of
course, I think the point is moot if we are going to ignore names that
don't work under Windows anyhow.  I've considered remapping file names
before, so Windows clients could handle files with the same name in
different case, but mapping sounds like a lot of trouble.

Cheers,

Derek

- --
                *8^)

Email: address@hidden

Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAtkyULD1OTBfyMaQRAsIvAJ9Haw4ZtzLtaXgm+gJVlaSEhx+ptgCgoysz
yqdg+SGKwTHw5gVJ35qtDHc=
=BhR6
-----END PGP SIGNATURE-----





reply via email to

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