On Thu, Jan 21, 2016 at 10:25:09AM -0500, Ren Wang wrote:
> Can I assume the node revision id is unique in subversion?

Yes, but it is specific to a particular filesystem instance.
If you dump/load the repository all IDs will change.

> If so, is there
> an API to get it by repository root, path and revision number parameters?

svn_fs_paths_changed2() declared in include/subversion/svn_fs.h
provides the IDs for changed paths in a particular revision.

An ID is represented as an opaque object svn_fs_id_t.
The contents of this object depend on the filesystem backend used.
There are a few functions to operate on svn_fs_id_t, such as
svn_fs_unparse_id(). 

It's unclear what purpose you'd like to use these for so it's hard
to give more specific advice.

Reply via email to