sudar / wp-plugin-in-github

Collection of shell scripts that I am using to manage and deploy WordPress Plugins from github into svn
http://sudarmuthu.com/blog/developing-wordpress-plugins-in-github
76 stars 20 forks source link

If a file is removed in git, remove it from svn as well #8

Closed sudar closed 7 years ago

blockonomics commented 7 years ago

Just discovered this today. Need this as well :+1:

sudar commented 7 years ago

Yeah, it's been in my todo list for long time. Will try to get it implemented when I get some free time.

blockonomics commented 7 years ago

Thanks. I will also see if I can get time to do this

sudar commented 7 years ago

Perfect. Would love to see an Pull request :)

shivaenigma commented 7 years ago

Did some research. Does this work https://stackoverflow.com/a/25492747/5043010

sudar commented 7 years ago

Yeah the above works. But we just need to wrap it in a conditional so that if there are no files to delete it doesn't generate an error.