SVN:路径和节点ID之间的转换? [英] SVN: translation between path and node ids?

查看:107
本文介绍了SVN:路径和节点ID之间的转换?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些构建信息,用于在运行时标识Subversion版本号和存储库中源目录的URL.

SVN是否使用任何种类的节点ID来标识路径?我正在使用具有通讯链接的嵌入式系统,该链接不能很好地处理大型数据字段,并且使用32位或64位节点ID会比没有固定长度的长字符串更快乐. /p>

如果它确实使用了节点ID,那么可以使用什么实用程序在路径和节点ID之间进行转换?

解决方案

为什么不使用git之类的SHA1哈希?

I have some build info used to identify at runtime the Subversion version # and the URL of the source directory within the repository.

Does SVN use any kind of node ID to identify paths? I'm using an embedded system with a communications link that does not deal well with large data fields, and would be much happier using a 32- or 64-bit node ID, than a long string that does not have a fixed length.

If it does use a node ID, what utility is available to translate between paths and node IDs?

解决方案

Why not use SHA1 hash like git?

这篇关于SVN:路径和节点ID之间的转换?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆