On Mon, Oct 21, 2002 at 09:51:05PM +0100, Philip Martin wrote:
> 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
/dev/stdin is not available even on all Unixes, much less elsewhere.
Might I suggest "-F -" be taken to mean read standard input? (I'm
assuming that no -F option at all has some other, useful, behavior.)
zw
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 21 23:08:02 2002