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

RE: Exclude/Ignore pattern

From: <Bill.Hughes_at_cgi-europe.com>
Date: 2005-10-13 13:22:48 CEST

OK, I just noticed the #*# is a temporary file created by emacs before
changes are saved. If emacs is killed without exiting cleanly (with unsaved
changes) the #*# is left behind so the changes can be recovered.

-----Original Message-----
From: Bill.Hughes@cgi-europe.com [mailto:Bill.Hughes@cgi-europe.com]
Sent: 13 October 2005 11:09
To: dev@tortoisesvn.tigris.org
Subject: RE: Exclude/Ignore pattern

Stuart Celarier wrote:
..snip..
> If you'd like to help, please tell me how to interpret ".*~" and ".#*"
> from the sample in Subversion's config file. Thanks!
Okay, the clue is that the examples list looks to me to be from a Linux
developer.
For instance the EMACS editor saves backup files with a tilde added onto the
end, and many Linux (and UNIX) config files start with a dot - '.profile'
for instance, so if you edit this in emacs you get a backup file
called'.profile~'. Therefore .*~ will ignore EMACS created backups. I don't
know about vi but I'd guess that it, or some other editor, creates backups
by inserting a hash after the dot before the rest of the filename.

As for the rest:
# global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store

Hmm, #*# looks like hashes wrapped around a filename which iirc is another
unixy backup file. I have something similar in my cygwin home folder but I
can't remember how it got there.

*~ should match anything ending in a tilde - and I don't know why you'd need
both *~ and .*~ but I'm not too clueful on *nix matters.

You can also use *.[Tt][Xx][Tt] to exclude all *.TXT whatever the case of
the extension.
If you want you can use *.[abc][def] to exclude *.ad *.ae *.af *.bd etc.

HTH

Bill

-- 
       ___ 
  oo  // \\      "De Chelonian Mobile" 
 (_,\/ \_/ \     TortoiseSVN 
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control 
   /_/   \_\     http://tortoisesvn.tigris.org
<http://tortoisesvn.tigris.org>  
*** Confidentiality Notice *** Proprietary/Confidential
Information belonging to CGI Group Inc. and its affiliates
may be contained in this message. If you are not a recipient
indicated or intended in this message (or responsible for
delivery of this message to such person), or you think for
any reason that this message may have been addressed to you
in error, you may not use or copy or deliver this message
to anyone else.  In such case, you should destroy this
message and are asked to notify the sender by reply email.
*** Confidentiality Notice *** Proprietary/Confidential
Information belonging to CGI Group Inc. and its affiliates
may be contained in this message. If you are not a recipient
indicated or intended in this message (or responsible for
delivery of this message to such person), or you think for
any reason that this message may have been addressed to you
in error, you may not use or copy or deliver this message
to anyone else.  In such case, you should destroy this
message and are asked to notify the sender by reply email.
Received on Thu Oct 13 13:51:33 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.