[tex-live] Ignoring all those binary directories except one or two
Gerben Wierda
gerben.wierda at rna.nl
Fri Feb 9 12:48:46 CET 2007
On Feb 6, 2007, at 18:31 , Norbert Preining wrote:
> On Mon, 05 Feb 2007, Gerben Wierda wrote:
>> This must have been asked before, but what again is the best way to
>> ignore all but a few binaries directories when running "svn update"
>> and even better not have these directories on my system in the first
>> place?
>
> I guess I have to say that this is not possible. At least what I found
> says:
> (http://tortoisesvn.net/docs/release/TortoiseSVN_sk/tsvn-dug-
> ignore.html)
> (which is a doc for tortoise svn, but ..)
> ----
> Ignoring Versioned Items
>
> Versioned files and folders can never be ignored - that's a feature of
> Subversion. If you versioned a file by mistake, read Ignore files
> which
> are already versioned for instructions on how to unversion it.
Just for the record:
I solved the issue with the following sh script. This script svn
updates the two Master/bin subdirectories I want, then non-
recursively updates Master (so I get new items at that level) and
then walks Master and updates everything except bin.
echo "****** Updating Build..."
(cd Build && svn update)
echo "****** Updating binaries..."
(cd Master/bin && svn update powerpc-darwin i386-darwin)
cd Master
echo "****** Updating Master non-recursive..."
svn update --non-recursive
for i in *
do
if [ "$i" != bin ]
then
echo "****** Updating $i..."
svn update $i
fi
done
More information about the tex-live
mailing list