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

Re: Feature request (Ignore files for svn import/add/commit on the client or silently ignoring on the server)

From: Daniel Rall <dlr_at_collab.net>
Date: 2007-01-02 20:35:42 CET

On Mon, 01 Jan 2007, Ben Collins-Sussman wrote:

> On 1/1/07, Curtis W. Ruck <ruckc@yahoo.com> wrote:
> >
> >I am trying to setup svn for the first time, and my local copy of the
> >repository after tinkering/fixing/etc... ends up having .pyc & .pyo files
> >littering everywhere. Is there anyway to get the server to silently ignore
> >allowing these files to enter the repository? Or at least the client so
> >they don't end up polluting the repository without me having to remember to
> >cleanse the tree prior to every commit?

Curtis, this question really belongs on the users mailing list.

> Are you running 'svn add *' before every commit? I don't understand
> the use-case.
>
> Either way, try setting the svn:ignore property on your directory, to
> make it ignore *.pyc and *.pyo files. It's described in the svnbook.

Alternately, you can set the "global-ignores" parameter of the
[miscellany] section in your ~/.subversion/config file. Of course,
this won't help out anyone else who's developing with your repository.

- Dan

  • application/pgp-signature attachment: stored
Received on Tue Jan 2 20:37:02 2007

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

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