You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Sven Brueggemann <SB...@gmx.net> on 2004/12/05 11:49:32 UTC

filenames different from OS to OS

Hello,

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).

Any ideas, how to handle this with Subversion?

Kind regards

Sven



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

Re: filenames different from OS to OS

Posted by Sven Brueggemann <SB...@gmx.net>.
Hello Joe,

[same file with different name on Unix and Windows]
>>>Stop using 8.3 files on Windows.  Windows hasn't required 8.3 file
>>>names for years now.  Why can't you just use the 8.7 filenames on
>>>Windows?
>> Since the application that creates these files doesn't...
> But if these files are generated, why do you want or need to put them
> under version control?

They are not generated from any kind of "source" file. They are data files 
or "documents" that act as source files themselfes.

Kind regards

Sven

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

Re: filenames different from OS to OS

Posted by Joe <sv...@freedomcircle.net>.
Hi Sven,

Sven Brueggemann wrote:

>>Stop using 8.3 files on Windows.  Windows hasn't required 8.3 file
>>names for years now.  Why can't you just use the 8.7 filenames on
>>Windows?
> 
> 
> Since the application that creates these files doesn't...

But if these files are generated, why do you want or need to put them 
under version control?

Regards,

Joe


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

Re: filenames different from OS to OS

Posted by Sven Brueggemann <SB...@gmx.net>.
Hello,

>> 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).
>>
>> Any ideas, how to handle this with Subversion?
>>
> Stop using 8.3 files on Windows.  Windows hasn't required 8.3 file
> names for years now.  Why can't you just use the 8.7 filenames on
> Windows?

Since the application that creates these files doesn't...

Kind regards

Sven

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

Re: filenames different from OS to OS

Posted by Scott Palmer <sc...@2connected.org>.
On Dec 5, 2004, at 6:49 AM, Sven Brueggemann wrote:

> Hello,
>
> 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).
>
> Any ideas, how to handle this with Subversion?
>

Stop using 8.3 files on Windows.  Windows hasn't required 8.3 file 
names for years now.  Why can't you just use the 8.7 filenames on 
Windows?

Scott


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

Re: filenames different from OS to OS

Posted by Sven Brueggemann <SB...@gmx.net>.
Hello David,

>> >>>>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).
>> 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.

I'll give it a try. Thanks!

Kind regards

Sven

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

Re: filenames different from OS to OS

Posted by David Good <dg...@fsautomation.com>.
On Sun, Dec 05, 2004 at 10:08:50PM +0100, Sven Brueggemann <SB...@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

Re: filenames different from OS to OS

Posted by Sven Brueggemann <SB...@gmx.net>.
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

Sven

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

Re: filenames different from OS to OS

Posted by Joe <sv...@freedomcircle.net>.
Hi Sven,

Sven Brueggemann wrote:

>>>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).
> 
>>Are you referring to files that have essentially the same content, e.g.,
>>module.def on Windows vs. module.defines on Unix? 
> 
> Yes.
> 
>>If it's the former, 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.
> 
> Can you suggest a solution? Then maybe we should switch back to the mailing list.

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.

Regards,

Joe


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