On ศ., 2005-11-18 at 14:57 +0100, Ryan Schmidt wrote:
> On Nov 18, 2005, at 08:53, Ross Golder wrote:
>
> >> A thought: if the data you need can be gotten from the svn:author
> >> revprop and from log messages, a script could be written to do what
> >> you describe, rather than building it into Subversion.
> >
> > I might be misunderstanding the way svn properties work, but I thought
> > such properties were associated with the file, not with the
> > commits/patches. I would assume that the 'svn:author' property
> > refers to
> > the author of the file. But I guess if each commit/patch had
> > properties,
> > it would work, assuming that the committer made use of the property.
>
>
> There are both properties, which apply to files and directories and
> are versioned, and there are revision properties ("revprops"), which
> apply to revisions and are therefore unversioned. svn:author and
> svn:log are revision properties, since revisions are the things that
> people create and write commit messages for. It doesn't make sense to
> refer to the author of a file, since a file most likely has had many
> authors over its lifetime, each of whom have written different lines.
> (You can see this by running svn blame on a file.)
>
Ah, I see. Thanks for explaining that. Now you mention it, I do vaguely
recall reading about 'revprops' in the documentation when I first
started using subversion (a year or so ago!). I can see it being useful
in some cases, but it's not something we've had the need to use in any
projects I've been involved in so far.
So, it seems there may be two feature requests uncovered:
- The ability to filter in/out merges based on 'svn:author'
- The ability to filter in/out merges based on the login of the
committer
Are both feasible and worthy of consideration?
--
Ross
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 18 17:41:03 2005