简体   繁体   中英

Subversion command with curly braces in fish shell

In Bash I can enter the following command.:

svn log -r {2015-08-26}:HEAD

to get the last commits from 2015-08-26 to HEAD . But the command does not work in the fish shell. Then I get the following error:

svn: E205000: Syntaxfehler in Revisionsparameter »2015-08-26:HEAD«

If I try:

svn log -r '\{'2015-08-26'\}':HEAD

it does also not work:

svn: E205000: Syntaxfehler in Revisionsparameter »\{2015-08-26\}:HEAD«

How can I execute that command in the fish shell? Maybe without typing a lot of further charaters like '\\' .

The following command variation works in the fish shell.:

svn log -r '{'2015-08-26'}':HEAD

Slash escaping does also work:

svn log -r \{2015-08-26\}:HEAD

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM