You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by h....@risoe.dk on 2005/11/26 23:00:16 UTC

checkout of revisons
Take an example repository:

Revision 1: file.txt:1; FILE.TXT:1; 
Revision 2: file.txt:2; FILE.TXT:1;
Revision 3: file.txt:3; FILE.TXT:1;

As seen, there are files which differ only in case. On Windows this is
problematic due to the case-insensitive file system. There are ways to
get
around this problem as described in the svn-faq WHEN its concerning the
LATEST revision (3).

But how to solve the problem of making a checkout of revision 1 or 2 on
a windows platform? 
You can't rename or delete anything in revision 1 or 2 to make it
windows compatible. Its history, it can't be changed. The only solution
I have found is to:

1) Create a branch copy of the old revision
2) Patch it up to remove any conflicting case issues for instance by
rename or deletion of problem files. This seems possible as it is
3) Now its possible to checkout onto windows file system

Is this really the only solution, except of course involving a
unix/linux box?

thanks
henning


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: checkout of revisons Posted by Duncan Murdoch <su...@murdoch-sutherland.com>.
On 11/26/2005 6:00 PM, h.larsen@risoe.dk wrote:
> Take an example repository:
> 
> Revision 1: file.txt:1; FILE.TXT:1; 
> Revision 2: file.txt:2; FILE.TXT:1;
> Revision 3: file.txt:3; FILE.TXT:1;
> 
> As seen, there are files which differ only in case. On Windows this is
> problematic due to the case-insensitive file system. There are ways to
> get
> around this problem as described in the svn-faq WHEN its concerning the
> LATEST revision (3).
> 
> But how to solve the problem of making a checkout of revision 1 or 2 on
> a windows platform? 
> You can't rename or delete anything in revision 1 or 2 to make it
> windows compatible. Its history, it can't be changed. The only solution
> I have found is to:
> 
> 1) Create a branch copy of the old revision
> 2) Patch it up to remove any conflicting case issues for instance by
> rename or deletion of problem files. This seems possible as it is
> 3) Now its possible to checkout onto windows file system
> 
> Is this really the only solution, except of course involving a
> unix/linux box?

I'm curious, what happens when you try to check out one of those 
revisions?  Does the checkout fail, or do you get everything except only 
one of file.txt and FILE.TXT?  Does the name match the one you get?

If the latter, I imagine you could copy just one of the files rather 
than the whole project, but I can't think of any way Subversion could do 
something better.  Windows won't let you have both file.txt and FILE.TXT 
in the same directory.

Duncan Murdoch

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org