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

Re: [SPAM] Re: ignore during svn update

From: Bart Robinson <lomew_at_pobox.com>
Date: 2005-12-28 15:45:31 CET

On 2005-12-28 Mikolaj Machowski <mikmach@wp.pl> wrote:
> Dnia środa, 28 grudnia 2005 01:10, Bart Robinson napisał:
> > If you can reorg your repos, you can consider putting the "po"
> > files in a different "project" and then incorporate them into
> > where they use to be with svn:externals. Then you would update
> > with --ignore-externals to skip them.
> > http://svnbook.red-bean.com/en/1.1/ch07s04.html
>
> I cannot reorganize repos. Yeah, I think moving po outside of main
> project would be good thing but I am only merely user.
>
> > > #!/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
>
> This is not good solution. Each item is updated separately which takes
> long, long time. Much simpler solution (untested yet):
>
> #!/bin/bash
> # vim:set ft=sh:
> svn update --non-recursive .
> svn up `find . -maxdepth 1 -type d | grep -v "\.\/po\|\.$\|svn`
>
> m.

You can try getting the list to update by first doing "svn stat
-u" and filtering out any po files.

-- bart

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 28 15:49: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.