How to delete fiiles on the server that were accidentally part of an import?
Bo Berglund <[email protected]> Mon, 23 Sep 2024 18:40:46 +0200
| Newsgroups | gmane.comp.version-control.subversion.user |
|---|---|
| Message-ID | <[email protected]> |
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.....
--
Bo Berglund
Developer in Sweden