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

Re: Am I in an endless loop?

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-02-21 15:50:05 CET

On 2/21/07, Gaurav Kothiyal <kothiyal@gmail.com> wrote:
> Just a if there are two files with the same name but the differ in their
> case Eg foo.txt, Foo.txt
>
> Windows does not follow the unix naming convention

You're right, I missed that there was a CardBalanceQuery.jsp and
cardBalanceQuery.jsp.

That's definitely going to cause a problem on Windows. Windows
filesystems are case-preserving (at least NTFS is), but not
case-sensitive, so a filename collision happens here.

>
> On 2/20/07, Andy Levy <andy.levy@gmail.com> wrote:
> >
> > On 2/20/07, James Tikalsky <TIKALSKY@michaels.com> wrote:
> > > (A) I checked out a copy of a project that my colleague had been working
> > > on, and got an error:
> > >
> > > D:\Temp>svn co svn://starteamw2k/web/trunk web2
> > > .
> > > .
> > > .
> > > svn: In directory
> > >
> 'web2\catalina_base\commerce\WEB-INF\jsp\commerce\orderstatus'
> > > svn: Can't copy
> > >
> 'web2\catalina_base\commerce\WEB-INF\jsp\commerce\orderstatus\.svn\tmp\t
> > > ext-base\cardBalanceQuery.jsp.svn-base' to
> > >
> 'web2\catalina_base\commerce\WEB-INF\jsp\commerce\orderstatus\cardBalanc
> > > eQuery.jsp.tmp': The system cannot find the file specified.
> > >
> > >
> > > (B) I create the missing file by touching it:
> > >
> > > D:\Temp>touch
> > >
> web2\catalina_base\commerce\WEB-INF\jsp\commerce\orderstatus.svn\tmp\tex
> > > t-base\cardBalanceQuery.jsp.svn-base
> > >
> > >
> > > (C) Then I try updating the project:
> > >
> > > D:\Temp>svn update
> > > svn: Working copy '.' locked
> > > svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for
> > > details)
> > >
> > >
> > > (D) Then I try cleaning up:
> > >
> > > D:\Temp>svn cleanup
> > > svn: In directory
> > >
> 'web2\catalina_base\commerce\WEB-INF\jsp\commerce\orderstatus'
> > > svn: Can't copy
> > >
> 'web2\catalina_base\commerce\WEB-INF\jsp\commerce\orderstatus\.svn\tmp\t
> > > ext-base\cardBalanceQuery.jsp.svn-base' to
> > >
> 'web2\catalina_base\commerce\WEB-INF\jsp\commerce\orderstatus\cardBalanc
> > > eQuery.jsp.3.tmp': The system cannot find the file specified.
> > >
> > >
> > > I can repeat steps (B) and (D) again, and again, and the only difference
> > > I see is the same error message, except that the "copy to" file name has
> > > a different number, i.e:
> > >
> > > D:\Temp>touch
> > >
> web2\catalina_base\commerce\WEB-INF\jsp\commerce\orderstatus.svn\tmp\tex
> > > t-base\cardBalanceQuery.jsp.svn-base
> > > D:\Temp>svn cleanup
> > > svn: In directory
> > >
> 'web2\catalina_base\commerce\WEB-INF\jsp\commerce\orderstatus'
> > > svn: Can't copy
> > >
> 'web2\catalina_base\commerce\WEB-INF\jsp\commerce\orderstatus\.svn\tmp\t
> > > ext-base\cardBalanceQuery.jsp.svn-base' to
> > >
> 'web2\catalina_base\commerce\WEB-INF\jsp\commerce\orderstatus\cardBalanc
> > > eQuery.jsp.4.tmp': The system cannot find the file specified.
> > >
> > >
> > > Here's what a status returns:
> > >
> > > D:\Temp>svn status web2
> > > ! web2
> > > ! web2\catalina_base
> > > ! web2\catalina_base\commerce
> > > ! web2\catalina_base\commerce\WEB-INF
> > > ?
> web2\catalina_base\commerce\WEB-INF\jsp\pageNotFound.jsp.tmp
> > > ?
> web2\catalina_base\commerce\WEB-INF\jsp\breadCrumbs.jsp
> > > ?
> web2\catalina_base\commerce\WEB-INF\jsp\PageNotFound.jsp
> > > ! L web2\catalina_base\commerce\WEB-INF\jsp
> > > ! web2\catalina_base\commerce\WEB-INF\jsp\commerce
> > > ?
> > >
> web2\catalina_base\commerce\WEB-INF\jsp\commerce\orderstatus\CardBalance
> > > Query.jsp.2.tmp
> > > ?
> > >
> web2\catalina_base\commerce\WEB-INF\jsp\commerce\orderstatus\cardBalance
> > > Query.jsp.tmp
> > > ?
> > >
> web2\catalina_base\commerce\WEB-INF\jsp\commerce\orderstatus\CardBalance
> > > Query.jsp
> > > ?
> > >
> web2\catalina_base\commerce\WEB-INF\jsp\commerce\orderstatus\cardBalance
> > > Query.jsp.3.tmp
> > > ! L
> web2\catalina_base\commerce\WEB-INF\jsp\commerce\orderstatus
> > >
> > >
> > > After I did this about 1000 times, I'm still in the same situation. I
> > > know that my colleague was using Eclipse Java Editor, and that the
> > > numbered files are probably his local revisions. (I assume that he
> > > checked them in, or something.) My question is: Am I doing something to
> > > create an endless-loop situation? Should I take another approach, or is
> > > there a light at the end of the tunnel?
> >
> > You can keep going in this loop but you aren't actually changing
> > anything, so you're going to keep getting the same errors.
> >
> > Given the paths you quote, I assume you're on Windows. Have you tried
> > disabling your virus scanner temporarily to see if things clear up?
> > Some antivirus products don't play nicely at all with Subversion.
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> users-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail:
> users-help@subversion.tigris.org
> >
> >
>
>
>
> --
> Gaurav Kothiyal

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 21 15:50:33 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.