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

RE: Find property change without a working copy

From: Dale Worley <dworley_at_pingtel.com>
Date: 2005-08-16 17:31:01 CEST

> From: news [mailto:news@sea.gmane.org]On Behalf Of Quest
> >> How do I find out at which revision a property changed on
> a particular
> >> file?
> >>
> >> It feels like this should be a trivial matter, but I can't find
> >> anything about in the Book or in the svn command help. Feel free to
> >> RTFM me.
> >
> > You can retrieve the value of the property for any
> particular rev using:
> >
> > svn -r (revision) propget (property name) https://....
> >
> > Then do binary search to find the rev that changed the value.
> Indeed, but this is a very ineffective way to solve my problem.

Ineffective? Compared to what? At the most, it resolves the problem in
log(number of revs) queries, which is always a small number.

> I had
> hoped that I had overlooked some way to do this in one query.

You can't discover the rev that introduced a particular text change in one
query, either.

> I'm
> writing a Plone product to display subversion repositories
> (http://quest.windwards.net/hacking/plonesvnview/) and would like to
> list property changes as a part of the log history of a file.

That sounds like an entirely different problem -- if you have the log
history of a file, which gives the revs in which it changed, svn diff will
display the property changes in any given rev or range of revs, or you can
use svn propget to get the before and after values.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 16 17:35:10 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.