Fix hang when checking for .svn directory.
authorIain Patterson <me@iain.cx>
Mon, 1 Jun 2009 12:23:25 +0000 (13:23 +0100)
committerIain Patterson <me@iain.cx>
Mon, 1 Jun 2009 12:25:39 +0000 (13:25 +0100)
commit90d1f7a34af3678ed43d4f9c19551bd86f83fe32
tree26127326a4bf779c465724842cdbd8a1b572cd10
parent4987e750cc82a9be75f2cc304782abdafa474707
Fix hang when checking for .svn directory.

If the parent directory is not executable __svn_dir() will not be able
to change to it and will hang.  Prevent this by returning failure if the
working directory isn't executable.
.profile.d/svn-completion.bashrc