SVN - can't delete a tag with special characters in the name -


i'm cleaning old svn repos prepare migrate them git, , found tags special characters in name i'm having trouble deleting.

how can delete these? escaping chars doesn't work. single quotes doesn't work. svn converts special chars ino if escape them.

svn delete -m "cleanup" 'https://svn.repos.com/repo/mobile repo/tags/${test_value}' svn: url 'https://svn.repos.com/repo/mobile repo/tags/$%257btest_value%257d' not exist 

svn delete -m "cleanup" 'https://svn.repos.com/repo/mobile repo/tags/${test_value}'
svn: url 'https://svn.repos.com/repo/mobile repo/tags/$%257btest_value%257d' not exist

this isn't complaining special characters. it's telling tag named ${test_value} doesn't exist. and, bet doesn't. %257 you're getting merely percent code {.

if shell script, use double quotes instead of single quotes around url. allow ${test_value} interpolated shell.

svn delete -m "cleanup" "https://svn.repos.com/repo/mobile repo/tags/${test_value}" 

Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -