Bo Berglund 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.....
- regarding repo access URLs: https://svnbook.red-bean.com/nightly/en/svn.basic.in-action.html#svn.basic.in-action.wc.tbl-1 - are you aware that svn delete removes its target from HEAD revision? The file/folder will still be in the repo and accessable going back in history. -- Lorenz