subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Shahaf <...@daniel.shahaf.name>
Subject Re: using -F fails using bash process substitution. bug?
Date Thu, 19 Jul 2018 18:38:36 GMT
Philip Martin wrote on Thu, 19 Jul 2018 16:16 +0100:
> Zing Shishak <zing@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' ./

Mime
View raw message