[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Changing name capitalization under Windows

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-03-23 17:37:34 CET

On 3/23/07, Luke.Powell@bjservices.com <Luke.Powell@bjservices.com> wrote:
> Yes, it should be. This is frustrating however. I know that this can be
> done since a simple "ren FOO.C foo.c" works fine, but the functionality
> isn't implemented here. Perhaps I'll see if I can find the right place and
> just implement it myself...

The difference is that on Windows filesystems, FOO.C and foo.c are the
same file. On case-sensitive filesystems (and Subversion), they're 2
different files and the "rename" is a copy & delete (as I recall, that
is). When you use ren the Windows filesystem basically says "whatever,
don't really care, it'll just flip some bits around" but when you do
the rename with Subversion, Windows is saying "wait, you can't copy
FOO.C to foo.c, it's the same thing."

I was going to suggest the VMWare Player route for the one-time
switch, but Greg Thomas beat me to it while I was writing the previous
paragraph.

> "Matt Sickler" <crazyfordynamite@gmail.com> wrote on 03/23/2007 11:27:39
> AM:
>
> > well, that is their decision - windows simply wont let you do it (
> > unless you use a non NTFS / FAT filesystem, that could work, maybe )
> >
> > it should be a one time deal anyway, right?
>
> > On 3/23/07, Luke.Powell@bjservices.com <Luke.Powell@bjservices.com>
> wrote:
> > It would be nice, but there are certain elements of the department that
> > are... reluctant to work on anything but Windows.
> >
> > "Matt Sickler" <crazyfordynamite@gmail.com > wrote on 03/23/2007
> 11:23:52
> > AM:
> >
> > > do the rename on a filesystem that cares about case? ( like linux )
> >
> > > On 3/23/07, Luke.Powell@bjservices.com <Luke.Powell@bjservices.com>
> > wrote:
> > > We are operating under Windows and are bringing some old files under
> > > version control that are from old DOS days when the filenames were
> > > capitalized by default, e.g. FOO.C. We'd like to rename these
> according
> > to
> > > more modern standards, but when we try doing "svn rename FOO.C foo.c"
> we
> > > are told that we "Cannot move path ' FOO.C' onto itself." So far the
> > only
> > > alternative has been to do it directly to the repository, e.g. "svn
> > rename
> > > svn://my.rep/FOO.C svn://my.rep/foo.c" but doing it that way generates
> a
> > > lot of revisions and is very slow. Is there any other way to do what
> we
> > > need to do?
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > > For additional commands, e-mail: users-help@subversion.tigris.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 23 17:38:14 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.