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

Re: Problems with propset svn:ignore

From: N D <niranjan8712_at_gmail.com>
Date: Sat, 13 Sep 2008 14:56:27 +0200

Hi all,

I have a question on similar lines.
My repository has been migrated to SVN. In the migration procees all the
.cvsignore files are also in SVN. I have found a script:

#! /bin/sh

# Scan the given directory (or current directory by default) recursively

# for every .cvsignore file found, tell Subversion to ignore the presence in

# that directory of any files listed in the .cvsignore file.

# This stops Subversion from complaining about automatically generated files

# that have every right to be in the working copy, though not in the

# The .cvsignore files were inherited from the days libpqxx was kept in a

# repository, but they're also a lot more convenient than the way Subversion

# does this by itself.


if test -z "$DIR" ; then



for i in `find "$DIR" -name .cvsignore` ; do

dir="`echo "$i" | sed -e 's|/\.cvsignore$||'`"

svn propset svn:ignore --non-interactive --file "$i" "$dir"

I am thinking to run this script on the svn environment. I expect that all
the files as listed by the .cvsignore file would be ignore in future by SVN.
But as Andy says it 'Once an item is versioned, Subversion will not ignore
it.', I doubt what I expect wil really happen. Can any one comment/add/help?

On Sat, Sep 13, 2008 at 2:51 PM, Benjamin Buch <benni.buch_at_gmx.de> wrote:

> Am 13.09.2008 um 12:50 schrieb Andy Levy:
> Once an item is versioned, Subversion will not ignore it.
>> Your use case is so common it's in the FAQ.
>> http://subversion.tigris.org/faq.html#ignore-commit
> Thanks!
> -benjamin
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-13 14:56:50 CEST

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.