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

Re: filtered files

From: Mike Hoffhines <hoffhines_at_mac.com>
Date: 2005-11-10 20:14:34 CET

David

If you want to prevent certain file types from being committed (or
showing up as unmanaged in the output of svn status), edit
~/.subversion/config. In there, you'll find a section named
miscellany. Here's an example:

### Section for configuring miscelleneous Subversion options.
[miscellany]
### Set global-ignores to a set of whitespace-delimited globs
### which Subversion will ignore in its 'status' output.
# global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store
### Set log-encoding to the default encoding for log messages
# log-encoding = latin1
### Set use-commit-times to make checkout/update/switch/revert
### put last-committed timestamps on every file touched.
# use-commit-times = yes
### Set no-unlock to prevent 'svn commit' from automatically
### releasing locks on files.
# no-unlock = yes
### Set enable-auto-props to 'yes' to enable automatic properties
### for 'svn add' and 'svn import', it defaults to 'no'.
### Automatic properties are defined in the section 'auto-props'.
# enable-auto-props = yes

Uncomment the global-ignores line and edit the list of extensions to
include those of interest to you.

Mike

On Nov 9, 2005, at 7:57 AM, David Legardinier wrote:

> Hello
> How can i filter files extensions in a commit?
> is it possible with hooks?
>
> best regards
>
> Ce mail a fait l'objet d'un contrŰle antivirus avec la technologie
> Sophos.
>

  • application/pkcs7-signature attachment: smime.p7s
Received on Thu Nov 10 20:17:49 2005

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.