Added a fix if the specified directory isn't added to the repo but still

in one, it'll be scanned and contents cleaned up.  The only thing is, as
of right now the folder itself won't be deleted, you'd have to run the
script from a higher directory.
This commit is contained in:
unknown 2015-01-14 17:58:34 -07:00
parent e7bb65874e
commit 9d4d26250d
1 changed files with 2 additions and 0 deletions

View File

@ -152,6 +152,8 @@ def get_client_set( path ):
proc.wait( ) proc.wait( )
for line in proc.stderr: for line in proc.stderr:
if "no such file" in line:
continue
raise Exception(line) raise Exception(line)
return files return files