[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Deleting a directory with a space in it.

From: Srdan Dukic <srdan.dukic_at_gmail.com>
Date: Tue, 20 Sep 2011 16:48:41 +1200

Hi,

I've got a directory in subversion with a space in the name which I'd like
to delete. This is what I've tried:

svn rm http://subversion/src/Repo/Grad Training
svn rm "http://subversion/src/Repo/Grad Training"
svn rm "http://subversion/src/Repo/Grad%20Training"
svn rm http://subversion/src/Repo/Grad%20Training
svn rm http://subversion/src/Repo/Grad\ Training
svn rm "http://subversion/src/Repo/Grad\ Training"

and I keep getting:

svn: URL 'http://subversion/src/Repo/Grad%2520Training' does not exist
svn: Your commit message was left in a temporary file:
svn: 'svn-commit.9.tmp'

I've also tried checking out the parent directory, deleting the directory
and committing the changes, but I get a permission error:

error: you don't have enough permissions for this transaction:
you can't remove Grad Training/

and from the Apache logs:

[Tue Sep 20 16:28:00 2011] [error] [client 192.168.1.70] Could not MERGE
resource "/src/Repo/!svn/act/9f05c85e-f478-4f0e-8d08-d06b5c3d8781" into
"/src/Repo". [409, #0]
[Tue Sep 20 16:28:00 2011] [error] [client 192.168.1.70] Commit blocked by
pre-commit hook (exit code 1) with output:\nerror: you don't have enough
permissions for this transaction:\nyou can't remove Grad Training/\n [409,
#165001]

How do you delete directories with a space in subversion? The version of the
client I am running is:

# svn --version
svn, version 1.6.11 (r934486)
   compiled May 31 2011, 05:46:33

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (
http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using
Neon.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme

Thank you

-- 
Srđan Đukić
Received on 2011-09-20 06:49:21 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.