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

Re: filenames different from OS to OS

From: Sven Brueggemann <SBrueggemann_at_gmx.net>
Date: 2004-12-05 22:08:50 CET

Hello Joe,

>>>>I want to version files that are compatible between operating
>>>>systems, but have different names on Win and Unix (8.3 under Win,
>>>>8.7 under Unix).
>>> do you ever want to fetch
>>>the 8.7 Unix file and compile it or otherwise use it under Windows, but
>>>with its 8.3 name?
>> Exactly. The files are data files produced by a 3rd party application
>> that are read and edited on both systems.

> The only solution that comes to mind is external to Subversion, i.e.,
> keep the files as 8.7 in the repository and have a simple batch file
> that renames them to 8.3 on Windows prior to their being used there. Or
> you could copy them to 8.3 and use svn:ignore so svn status won't report
> on them. The only problem with that solution is if you ever need to
> change these files and resubmit them back from the Windows side:
> somebody could forget to copy/rename back to the 8.7 format.

When using GUI clients, people will always certainly forget to run the
batches whenever necessary...

If name conversion between OSs is not directly supported by svn, what would
happen, if I used links? Will svn recognize when the 8.3 copy on W32 is
changed and update both copies?

AFAIK svn does not support links on W32. If I ran a batch making NTFS links
once after checking out a working copy on W32 - will that help svn to do
what I'd like it to?

Kind regards


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Dec 5 22:16:39 2004

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.