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

svn propget for 9000 revisions. there must be a more efficient way

From: <sysadmin_at_grmtech.com>
Date: 2005-03-05 01:03:50 CET

I have a file called index.html in a subversion repository of many files.
The file:index.html has a single property called description. The
repository is at revision 9000.

svn propget description index.html
"This is the description of index.html"

I would like to know if file:index.html property:description
1. was it changed any time in the past
2. If it was at which revision number was it changed
3. what was the value before the change.

how can i go this in the most efficient way ?

Some ways to do it are:
1. for(i=0;i<9001;i++)
svn propget -r $i description index.html
This will tell me the value of the property:description for
file:index.html over the last 9000 iterations which i can then compare to
know when did it change and what was the value before the change.

2. we might divide the whole set of 9000 revisions into two, compare and
see if there is a difference, if there is a difference again divide into
two and compare and so on.

there must be some more efficient ways there ? any pointers ?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Mar 5 01:05:53 2005

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.