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.
#! /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.
DIR="$1"
if test -z "$DIR" ; then
DIR="."
fi
for i in `find "$DIR" -name .cvsignore` ; do
dir="`echo "$i" | sed -e 's|/\.cvsignore$||'`"
svn propset svn:ignore --non-interactive --file "$i" "$dir"
done
On Sat, Sep 13, 2008 at 2:51 PM, Benjamin Buch <benni.buch_at_gmx.de> wrote:
>
|
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.