You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by kf...@collab.net on 2004/05/11 21:42:20 UTC

Re: case problems under Windows

You're running on Windows, so you can't do the case-renames in your
working copy, because the local filesystem is case-insensitive.

So, do the renames via URLs:

   C:\> svn mv -m "Fix case problem." OLD_URL NEW_URL
   C:\> svn mv -m "Fix case problem, step 2." OLD_URL NEW_URL
   C:\> svn mv -m "Fix case problem, step 3." OLD_URL NEW_URL

etc, until you're done.

-Karl

Scott Yost <sy...@purdue.edu> writes:
> Hi all,
> 	I'm afraid I have really screwed up my repository. It seems that,
> through a series of misadventures with the rename command, I have two
> copies of a directory in the repository with names that differ only by
> case. The directory is called mrt. Here are the symptoms:
> 
> If I edit mrt/conf.h, svn status shows:
> M      mrt\Conf.h
>     S  MRT
> M      MRT\Conf.h
> 
> If I execute svn ls, it only shows /mrt.
> If I execute svn log, I can get information on /mrt but not /MRT.
> Svn delete on /MRT says that it doesn't exist.
> If I delete the /mrt folder and check it out again from scratch, then the
> next time I try to do anything, it says the working copy 'mrt' is locked.
> There's no lock file in the .svn directory though. If I try to use svn
> cleanup to fix it, I get this:
> svn: Can't set file 'MRT/controls/.svn/lock' read-write: The system cannot
> find the file specified.
> 
> Using the repo-browser in Tortoise and such still only shows the /mrt
> directory. I have browsed this list for case problems and found a couple
> threads, but I didn't find anything that would solve this problem. Any
> help would be greatly appreciated!
> 
> Thanks,
> Scott Yost
> 
> ---------------------------------------------------------------------
> 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

Re: case problems under Windows

Posted by Scott Yost <sy...@purdue.edu>.
Thanks all,
	I was finally able to fix the problem by renaming the directory
away from its current name and then back again. After I renamed it away,
svn still showed me some ghosts of the MRT directory, but eventually they
went away. (no idea why)
I am just glad that my repository is happy again.
Thanks!

Scott

On Tue, 11 May 2004 kfogel@collab.net wrote:

> You're running on Windows, so you can't do the case-renames in your
> working copy, because the local filesystem is case-insensitive.
>
> So, do the renames via URLs:
>
>    C:\> svn mv -m "Fix case problem." OLD_URL NEW_URL
>    C:\> svn mv -m "Fix case problem, step 2." OLD_URL NEW_URL
>    C:\> svn mv -m "Fix case problem, step 3." OLD_URL NEW_URL
>
> etc, until you're done.
>
> -Karl
>
> Scott Yost <sy...@purdue.edu> writes:
> > Hi all,
> > 	I'm afraid I have really screwed up my repository. It seems that,
> > through a series of misadventures with the rename command, I have two
> > copies of a directory in the repository with names that differ only by
> > case. The directory is called mrt. Here are the symptoms:
> >
> > If I edit mrt/conf.h, svn status shows:
> > M      mrt\Conf.h
> >     S  MRT
> > M      MRT\Conf.h
> >
> > If I execute svn ls, it only shows /mrt.
> > If I execute svn log, I can get information on /mrt but not /MRT.
> > Svn delete on /MRT says that it doesn't exist.
> > If I delete the /mrt folder and check it out again from scratch, then the
> > next time I try to do anything, it says the working copy 'mrt' is locked.
> > There's no lock file in the .svn directory though. If I try to use svn
> > cleanup to fix it, I get this:
> > svn: Can't set file 'MRT/controls/.svn/lock' read-write: The system cannot
> > find the file specified.
> >
> > Using the repo-browser in Tortoise and such still only shows the /mrt
> > directory. I have browsed this list for case problems and found a couple
> > threads, but I didn't find anything that would solve this problem. Any
> > help would be greatly appreciated!
> >
> > Thanks,
> > Scott Yost
> >
> > ---------------------------------------------------------------------
> > 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