You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by James Oltmans <jo...@bolosystems.com> on 2007/02/09 00:54:39 UTC

Tildes in filenames

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?

 

James Oltmans
Software Engineer
Bolo Systems, Inc. 
  <http://www.bolosystems.com/> 
(303) 987-2238 x 107
(720) 212-0687 Direct
joltmans@bolosystems.com

 

 


Re: Tildes in filenames

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Feb 8, 2007, at 19:38, 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.
>
> 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?

If you're trying to avoid problems with the default Subversion global- 
ignores configuration, you could use an underscore instead of a tilde.

f1_

or

f1__

Of course they're your files so you can use any convention you see fit.


-- 

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

Re: Tildes in filenames

Posted by Aaron Montgomery <ee...@monsterworks.com>.
	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

RE: Tildes in filenames

Posted by James Oltmans <jo...@bolosystems.com>.
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


Re: Tildes in filenames

Posted by Ryan Schmidt <su...@ryandesign.com>.
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

RE: Tildes in filenames

Posted by James Oltmans <jo...@bolosystems.com>.
Is there another character or char sequence you would recommend instead
of ~~?

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


On Feb 8, 2007, at 18:54, 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."


-- 

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


Re: Tildes in filenames

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Feb 8, 2007, at 18:54, 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."


-- 

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