svn 添加中继/* 不工作

svn add trunk/* not working

我正在使用 TortoiseSVN-1.9.7 并尝试将我的插件文件上传到我的插件的 wordpress svn。

我在这个文件夹中:

C:\xampp\htdocs\wordpress\wp-content\plugins\my-plugin\dotorg

然后:

svn add trunk/*

我在 return 中得到了这个:

svn: warning: W155010: The node 'C:\xampp\htdocs\wordpress\wp-content\plugins\my-plugin\dotorg' was not found.
svn: warning: W155010: The node 'C:\xampp\htdocs\wordpress\wp-content\plugins\my-plugin\dotorg' was not found.
svn: warning: W155010: The node 'C:\xampp\htdocs\wordpress\wp-content\plugins\my-plugin\dotorg' was not found.
svn: warning: W155010: The node 'C:\xampp\htdocs\wordpress\wp-content\plugins\my-plugin\dotorg' was not found.
svn: warning: W155010: The node 'C:\xampp\htdocs\wordpress\wp-content\plugins\my-plugin\dotorg' was not found.
svn: warning: W155010: The node 'C:\xampp\htdocs\wordpress\wp-content\plugins\my-plugin\dotorg' was not found.
svn: E200009: Could not add all targets because some targets don't exist
svn: E200009: Illegal target for the requested operation

没有意义!我在 dotorg 文件夹中,该文件夹有一个包含我的插件文件的主干文件夹,https://plugins.svn.wordpress.org/my-plugin/ url 也显示有一个 trunk 文件夹。那么我在这里缺少什么?

尝试以下命令:

svn cleanup
svn cleanup *
svn cleanup dotorg
svn add --force dotorg
svn commit

如果它仍然不起作用,那么试试这个

rm -rf dotorg/.svn
svn add dotorg
svn commit