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

RE: Tildes in filenames

From: James Oltmans <joltmans_at_bolosystems.com>
Date: 2007-02-09 02:38:30 CET

We were having issues with Windows and its case-insensitive filenames.
Files were originally named:
F1, F2, F3, f1, f2, f3.
In order to make the lowercase filenames different and make the Windows
checkout work, we added ~~ to the end. Is there a better convention to
use?

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2007a@ryandesign.com]
Sent: Thursday, February 08, 2007 6:35 PM
To: James Oltmans
Cc: users@subversion.tigris.org
Subject: Re: Tildes in filenames

On Feb 8, 2007, at 19:27, James Oltmans wrote:

>>> Hey I'm having a weird problem and I'm not sure what's going on.
>>>
>>> I've got a directory (VOC) and inside that directory we have files
>>> like the following:
>>>
>>> F1, F2, F3 etc... and f1~~, f2~~, f3~~ etc...
>>>
>>> I tried importing these files into a fresh repository and they were
>>> skipped. Does this have something to do with the tildes? Is this an
>>> undocumented subversion feature?
>>
>> You have probably configured Subversion to ignore filenames ending in
>> tilde. Subversion is configured this way by default, because some
>> editors save backup files with filenames ending with tilde, and since
>> that's just a poor-man's version control, you wouldn't want to import
>> those into a real version control system like Subversion.
>>
>> Look in ~/.subversion/config for the line starting with "global-
>> ignores". It probably contains something like "*~" which means
>> "ignore all files ending with tilde."
>
> Is there another character or char sequence you would recommend
> instead
> of ~~?

I don't know why you've named your files ending with "~~" so I can't
suggest an alternative. However, if you want to name your files
ending with "~~", and don't want them to be ignored when importing,
simply remove "*~" from the global-ignores line in your Subversion
configuration file. You could even comment out the entire global-
ignores line so that nothing is ignored at all.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 9 02:38:48 2007

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.