[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: Philip Martin <philip_at_codematters.co.uk>
Date: Thu, 19 Jul 2018 23:07:28 +0100

Daniel Shahaf <d.s_at_daniel.shahaf.name> writes:

>> 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' ./

No. In this case -F specifies the property value, not the log message.

Something like this may work:

   svn ps svn:ignore $(echo -ne "ignorethis\n") .

but quoting multiple line values can be tricky.

-- 
Philip
Received on 2018-07-20 00:07:42 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.