I'm trying to run this at Windows PowerShell:
我試着在Windows PowerShell中運行它:
svn ci -m "" directory_name
but it returns:
但它返回:
svn: E205005: The log message is a pathname (was -F intended?); use '--force-log' to override
svn: E205005:日志消息是一個路徑名(was -F意圖?);使用“——force-log”覆蓋
i tried to cd that directory and commit without directory_name argument, and it retuns:
我嘗試將該目錄進行cd,並在沒有directory_name參數的情況下進行提交,並且它重新調整:
svn ci -m ""
svn.exe: missing argument: m
svn。exe:失蹤的論點:m
i think that powershell maybe doesn't understand -args but rarely (to me) this works:
我認為powershell可能不懂-args,但很少(對我來說)是這樣的:
svn -h
Am i doing something wrong? All this at cmd works perfectly :/
我做錯什么了嗎?cmd的所有這些都是完美的:/。
1 个解决方案
#1
6
You can use
您可以使用
svn ci -m '""' directory_name
or
或
svn ci -m `"`" directory_name
PowerShell's argument passing to native programs is a bit weird sometimes and this is another edge case that's frustrating.
PowerShell的參數傳遞給本地程序有時候有點奇怪,這是另一個令人沮喪的情況。