On Mon, 23 Sep 2024 18:40:46 +0200, Bo Berglund <bo.bergl...@gmail.com> wrote:
>I used the following command to import a folder with files into Subversion >without having to create a checked out copy of the new server side folder. >All of this on a single line in Windows cmd: > > >svn import LocalFolderName >https://oursvnservername/svn/pc/Name_of_project/tags/Name_of_project_6-3-3 -m >"Importing Name_of_project 6.3.3 for use when building the installers" > >After it completed I discovered that a few files that were *not* part of the >project to import were accidentally present in the local source folder... > >So now I wonder how I can delete these files *on the server* without first >checking out the project and svn remove them? > >Is there a corresponding server side delete that does not require a local copy >first? > >In the SvnBook I found this example, which I do not really understand: >---------------- >Deleting a URL, however, is immediate, so you have to supply a log message: > >$ svn delete -m "Deleting file 'yourfile'" \ > file:///var/svn/repos/test/yourfile > >Committed revision 15. >---------------- > >I don't understand how the syntax should be especially the use of the >backslash. >Why is that there? > >And my server target is *not* a file: rather it is an https URL as shown above >in my import command. > >Please explain..... Replying to self: By using this it did work (all on one line anmd no extra backslash): svn delete -m "Deleting file xxx" https://svnserver/svn/repo/tags/nameofproject/filetodelete -- Bo Berglund Developer in Sweden