[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: David Good <dgood_at_fsautomation.com>
Date: 2004-12-06 19:32:49 CET

On Sun, Dec 05, 2004 at 10:08:50PM +0100, Sven Brueggemann <SBrueggemann@gmx.net> wrote:
> 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?

Instead of using links for the W32 filenames, why not have the real
files use 8.3 names and then add links for the 8.7 names. Then the
Windows users can operate on the files as normal, and the Unix users
will use the symlink and be happy, too.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Dec 6 19:35:15 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.