48
51
svnclient = pysvn.Client()
49
52
svnclient.exception_style = 1
52
63
os.path.join('/home', sys.argv[1]),
57
68
except pysvn.ClientError, e:
62
73
# See subversion/include/svn_error_codes.h.
63
75
# 155007: WC_NOT_DIRECTORY.
65
77
# 200005: UNVERSIONED_RESOURCE
78
if code in (150000, 155007, 160013, 200005):
69
81
error = '%s (code %d)' % (error, code)