[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Change Properties of a file at a previous revision

From: Christopher Taylor <chtaylo3_at_gmail.com>
Date: 2006-08-02 21:39:25 CEST

Dear List,

I'm looking through the code of libsvn_fs and I'm wondering how far
down do I need to go in order for my program to me able to change
properties of a file at a previous revision.

I'm trying to do this because I want to compute some statistics on
files stored in a repository. The statistics are somewhat time
consuming to compute and as such I will not be able to be done in
near-realtime ... I'll need to compute them after the commit has
happened.

Specifically I'm looking at svn_fs_change_node_prop right now but it
seems to need a transaction root (which I will not have) so I think I
need to go lower. Any ideas?

I realize that what I'm trying to accomplish defeats the purpose of
versioned properties, but I can't very well justify creating a new
version of a file just to attach some statistics. These statistics
are about a specific version of the baseline, and as such need to be
properly alligned to that revision. Even if I could justify doing a
whole new revision just to record the statistics, I can't gaurentee
that the calculations will be done before the next commit. That being
said, such statistics will probably only be computed for tags.

I could hold such statistics outside SVN, but it would be soooo much
cleaner if I didn't have to do that.

Thanx for the help,
Christopher

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 2 21:43:48 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.