Case problem while checkouting to a windows pc.

View: New views
2 Messages — Rating Filter:   Alert me  

Case problem while checkouting to a windows pc.

by XINCHUN ZHANG :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Case problem while checkouting to a windows pc.

Hi,
I get this problem.  We have two directories on the server with name "Pod" and "pod" in the same directory, which have different content under them.

While I try to checkout, svn simply report an error and stop operation.
Is there a way to by pass this problem ?
Thanks.
Tony


Re: Case problem while checkouting to a windows pc.

by Lübbe Onken-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am 06.11.2009 03:30, schrieb XINCHUN ZHANG:
> Hi,
> I get this problem. We have two directories on the server with name
> "Pod" and "pod" in the same directory, which have different content
> under them.
>
> While I try to checkout, svn simply report an error and stop operation.
> Is there a way to by pass this problem ?

Yes:
- rename the directories on the server before you check out so that they
have really different names, not just upper/lowercase. Or, if one of the
two folders is just there by accident, delete it on the server.
- you can also check out a sparse working copy which contains only one
of the two folders
<http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-checkout.html>.

But generally you should avoid this situation in the first place, so
most important: install a pre-commit hook on the server that prevents
people from checking in files/folders which differ only in case.

Cheers
- Lübbe

--
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net  PGP Key ID 0x23F511AB

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2415008

To unsubscribe from this discussion, e-mail: [users-unsubscribe@...].