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

Re: ignore during svn update

From: Mikolaj Machowski <mikmach_at_wp.pl>
Date: 2005-12-22 01:14:39 CET

Dnia środa, 21 grudnia 2005 21:57, Ryan Schmidt napisał:
> On Dec 21, 2005, at 19:06, Mikolaj Machowski wrote:
> > How to ignore certain directories/files during ``svn update``?
> >
> > All ignore commands in docs are for status, add, import.
>
> svn update <item>
>
> where <item> is a file or directory you don't want to ignore. Repeat
> for all such items.
>
> If that's too inconvenient, perhaps you could give us an example of
> what you want to accomplish with this. Maybe that will help us
> formulate a better answer.

Yes. This is inconvenient because I don't want to update only one
directory: "po". Complete set of translation files in repository are
recreated at least once daily and I don't want to update 45M of .po
files in which I am completely uninterested (almost 25% of repository).

Hmm?

#!/bin/bash
# vim:set ft=sh:

for i in `ls`; do
        if [ $i != 'po' -a $i != 'loop' ]; then
                echo $i
                svn up $i
        fi;
done

Is this the only solution?

m.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Dec 25 03:52:36 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.