当svnadmin load抛出错误时,是否有某种参考资料可供参考?
例如,在下面,当我试图加载一个自创建的转储文件时,我得到
svnadmin: E160017: Attempted to set textual contents of a *non*-file nodeE160017对应于什么?
发布于 2013-06-06 15:14:35
160017 is SVN_ERR_FS_NOT_FILE "Name not refer a filesystem file“
svn_error_codes.h定义了所有错误代码,其中每个错误类别的大小为5000
#define SVN_ERR_CATEGORY_SIZE 5000启动错误码为'APR_OS_ start _USERERR',计算结果为120000。(参见here)
因此,错误类别的计算是:
(error_code-120000) / 5000
(160017-120000) / 5000 = 8 (whole number) = category SVN_ERR_FS_CATEGORY_START因此,此类别下的错误代码17为
SVN_ERRDEF(SVN_ERR_FS_NOT_FILE,
SVN_ERR_FS_CATEGORY_START + 17,
"Name does not refer to a filesystem file")https://stackoverflow.com/questions/16952199
复制相似问题