HI All,
When iam executing svn force command given below on some path, iam getting the below error Please do let me know how to resolve this issue Command:
set SVN_PATH开发者_JAVA技巧=C:\main\test
svn lock [--force] "%SVN_PATH%" -m "lock before commit"
Error:
svn: 'C:\main\test\[--force]' is not under version control
svn lock [--force] "%SVN_PATH%" -m "lock before commit"
should be:
svn lock --force "%SVN_PATH%" -m "lock before commit"
The square brackets area documentation convention indicating optionality. But frankly, if you didn't know that I wonder if you understand why you might use the lock command.
You shouldn’t include the square brackets in the command, they are just to indicate that the --force
argument is optional.
But why are you locking the repository?
精彩评论