This error message indicates that you are trying to add a file to Subversion (SVN) version control, but the file is already under version control. You cannot add a file that is already being tracked by SVN.

To resolve this issue, you can either remove the file from version control using the svn delete command or update the file using the svn update command. Once you have made the necessary changes, you can add the file to version control again using the svn add command.

Here are the steps to resolve this issue:

  1. Check the status of the file using the svn status command. This command will show you the status of all the files in the directory, including the file that's causing the issue.

  2. If the file is marked as "A" (added), you can remove it from version control using the svn delete command. For example, if the file is named "cmd_obj_app.c", you can run the following command:

svn delete cmd_obj_app.c

  1. If the file is marked as "M" (modified), you can update the file using the svn update command. For example:

svn update cmd_obj_app.c

  1. Once you have removed or updated the file, you can add it to version control again using the svn add command:

svn add cmd_obj_app.c

  1. Finally, commit your changes to the repository using the svn commit command:

svn commit -m "Fixed issue with cmd_obj_app.c file"

By following these steps, you should be able to resolve the "Illegal target for the requested operation" error and successfully add the file to version control

svn warning W150002 homewqcentos7_126_XinChuang_FT1500a_SY_108920srccontrol-planemgdmgd_entrycmd_obj_appc is already under version controlsvn E200009 Could not add all targets because some targets are

原文地址: http://www.cveoy.top/t/topic/eZIA 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录