[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: Aaron Montgomery <eeyore_at_monsterworks.com>
Date: 2007-02-09 02:51:51 CET

        From: eeyore@monsterworks.com
        Subject: Re: Tildes in filenames
        Date: February 8, 2007 5:51:08 PM PST
        To: joltmans@bolosystems.com

I think the convention on this list is to bottom post (instead of top
post). My comment is below.

>> 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 ~~?
>>>
>>
>>

> On Feb 8, 2007, at 5:38 PM, James Oltmans wrote:
> 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?
>

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

The ~ is only special at the end of the file name. So maybe put the ~
immediately before the capitalized character?
~f1 for F1, ~bla~h for BlaH?

Aaron

---------------------------------------------------------------------
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:52:27 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.