+#!/bin/sh
 test_description='git-svn rmdir'
 . ./lib-git-svn.sh
 
 test_expect_success 'Try a commit on rmdir' "
        git rm -f deeply/nested/directory/number/2/another &&
        git commit -a -m 'remove another' &&
-       git-svn commit --rmdir HEAD &&
+       git-svn set-tree --rmdir HEAD &&
        svn ls -R $svnrepo | grep ^deeply/nested/directory/number/1
        "