RichiH/vcsh — Issue #23: vcsh: error: could not delete 'repo'
Author: jjryan
Created: 2012-02-04 06:16:25+00:00
State: open

When removing any repo, (ie: vcsh delete) I get a rmdir error.

An example using your zsh template script:

test@lain ~func % vcsh delete zsh
vcsh: info: This operation WILL DETROY DATA!
These files will be deleted:

.gitignore.d/zsh
.zsh/functions/buildPS1
.zsh/functions/buildRPS1
.zsh/functions/edit_history
.zsh/functions/header
.zsh/functions/help
.zsh/functions/help.d/help_glob
.zsh/functions/help.d/help_history
.zsh/functions/help.d/help_modifiers
.zsh/functions/help.d/help_read_keycodes
.zsh/functions/hooks/chpwd
.zsh/functions/hooks/precmd
.zsh/functions/hooks/preexec
.zsh/functions/issetopt
.zsh/functions/mandelbrot
.zsh/functions/mcd
.zsh/functions/mkiso
.zsh/functions/on
.zsh/functions/purge_temp_files
.zsh/functions/reload
.zsh/functions/scp_wrap
.zsh/functions/ssa
.zsh/functions/startup
.zsh/functions/startup_warnings
.zsh/functions/toggleopt
.zsh/functions/trans
.zsh/functions/vim
.zsh/functions/youplayer
.zsh/functions/zshrc_show_chars
.zsh/functions/zshrc_show_colors
.zshrc

AGAIN, THIS WILL DELETE YOUR DATA!
To continue, type 'Yes, do as I say'
Yes, do as I say
rmdir: failed to remove `/home/test/.config/vcsh/repo.d/zsh.git': Directory not empty
vcsh: error: could not delete '/home/test/.config/vcsh/repo.d/zsh.git'

Do you happen to have rmdir aliased to --ignore-fail-on-non-empty?

Thanks.