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