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

Re: using -F fails using bash process substitution. bug?

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Thu, 19 Jul 2018 18:38:36 +0000

Philip Martin wrote on Thu, 19 Jul 2018 16:16 +0100:
> Zing Shishak <zing_at_fastmail.fm> writes:
> > The following fails to set svn:ignore using process substitution for the
> > file option:
> >
> > $ svn ps svn:ignore -F <(echo -ne "ignorethis\n") .
> > property 'svn:ignore' set on '.'
> >
> > The property is created but it's empty. Is this something that's not
> > expected to work? I seem to remember doing this in the past and having
> > it work.
>
> The workaround is to use:
>
> echo -ne "ignorethis\n" | svn ps svn:ignore -F - .

By the way, an even simpler workaround in this case is

svn ps svn:ignore -m $'ignorethis\n' ./
Received on 2018-07-19 20:38:45 CEST

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.