Hi Stefan, Thank you very much for the response. The purpose is to the uniquely identify a file for a specific revision or the latest revision.
What can I do if the file didn't change for a specified revision, then I will need to get the latest revision number for the file, is there a API to get the latest revision for a node? Regards, Ren -----Original Message----- From: Stefan Sperling [mailto:s...@elego.de] Sent: Thursday, January 21, 2016 11:01 AM To: Ren Wang <renwang...@gmail.com> Cc: 'Subversion Users' <users@subversion.apache.org> Subject: Re: node unique id 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.