I'm grateful for you pointing out that the problem was with the PowerShell
parsing and the curly braces being treated specially. I didn't think of
that, so thanks. Unfortunately, your solution didn't work for me. I'm not
sure why because it seems like a valid approach.
What did work for me was quoting the revision dates, either with single or
double quotes. So, the following both worked for me:
svn log -q -r "{2019-11-24}:{2019-11-25}"
svn log -q -r '{2019-11-24}:{2019-11-25}'
I did also find a method of escaping the curly brackets that worked, using
the backtick (`) - not to be confused with the single quote, as follows:
svn log -q -r `{2019-11-24`}:`{2019-11-25`}
Hope this helps.
On Tuesday, 26 November 2019 11:03:35 UTC, David Balažic wrote:
>
> You are using PowerShell, where the {} characters have special meaning, so
> you must escape them. To do that, type them twice, like this:
> svn log -q -r {{2019-11-24}}:{{2019-11-25}}
>
> Or instead use the classic command line (cmd.exe) where {} works "normal".
>
> Regards,
> David
>
> On Monday, 25 November 2019 07:57:20 UTC+1, creater msc wrote:
>>
>> i want use command line to list all log in bewteen date with this
>> command:
>> svn log -q -r {2019-11-24}:{2019-11-25}
>> but has error
>>
>> [image: SVN错误日志.png]
>> does anyone know why?
>>
>
--
You received this message because you are subscribed to the Google Groups
"TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tortoisesvn/6cd53ec4-a823-4f40-a4c5-e53a88298182%40googlegroups.com.