tags:

views:

9

answers:

1

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?

+1  A: 

Why not use SHA1 hash like git?

eed3si9n
a hash of the path? that's not a bad idea....
Jason S
The only thing is, it works in one direction (path -> ID) but not the other.
Jason S
You probably need to keep track of the mapping somewhere.
eed3si9n