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:
parent
e7bb65874e
commit
9d4d26250d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue