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

Re: svn propset from stdin

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-10-21 22:51:05 CEST

Philip Martin <philip@codematters.co.uk> writes:

> Brandon Ehle <azverkan@yahoo.com> writes:
>
> > Any idea how difficult it would be for me to modify "svn propset" to
> > take properties from stdin? The reason I want to do this is to allow
> > a script to append "svn:ignore"s via something like
> >
> > > svn pg svn:ignore | someapp | svn ps svn:ignore
> > Or it there a better way to do this?
>
> svn pg svn:ignore > /dev/stdout | someapp | svn ps svn:ignore -F /dev/stdin

Of course 'svn pg' does the right thing already so this is all you
need

svn pg svn:ignore | someapp | svn ps svn:ignore -F /dev/stdin

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 21 22:51:51 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.