Some of our utilities require a list of changed paths for a revision, including the sub-paths included in a directory delete / replace / copy. For the replace, the ideal situation is to capture a set of deletes, replaces, and adds for the descendants.

We started out using a combination of svn log plus svn diff, but found that diff does not include descendants affected by a delete. Now we are stuck with svn log, svn diff --summarize for replaces / copies, and svn ls (of either p...@rev - 1 for deletes and copyfrom-p...@copyfrom-rev for copies). We know that the ls and diff for copies are probably redundant, but the sanity check is nice given the delete case. Needless to say, this has slowed things down considerably.

We are using SharpSvn, so I'm fairly certain that the ra_auth context persists between calls. If necessary, we can utilize the underlying libsvn.

Does anyone have any ideas or suggestions on the best way to capture this information? Is there an underlying mechanism to return the complete graph difference for a revision?

Thanks,

--
Thomas S. Trias
Senior Developer
Artizan Internet Services
http://www.artizan.com/

Reply via email to