RE: restricting tags
From: Rob Hubbard <Rob.Hubbard_at_celoxica.com>
Date: 2006-09-06 14:33:26 CEST
Well, it's not a great answer, but...
I think that the information you want can be accessed by parsing the output from
The lines you'll be interested in will be something like
Other users may have better suggestions. I don't know if you can get at the information more easily via
I'm not sure that the output from svn/svnlook diff is *strictly* parsable, as I think it's possible for such lines to appear in "Property changes" lines. (But I'm prepared to be persuaded on that one.)
It may be good enough for you to just naively grep the lines in an unstructured way. (That could lead to false rejections by unlikely coincidence; but I don't think the worse, converse problem of false acceptances would occur.)
I hope that helps.
If anyone has any information on the correct parsing algorithm, I'd be interested to know. I can see how to use the "---"/"+++"/"@@"/etc lines to traverse the file differences. However, it looks as though the "Property changes" sections could upset things - I don't see what definitively flags the end of those sections.
It's a pity that (as at SVN 1.2.3 anyway - it may have changed in more recent versions) you can't do this:
Rob.
-----Original Message-----
We have several subversion repositories: one for each of our clients.
---------------------------------------------------------------------
_____________________________________________________________________
This email and any files transmitted with it are confidential and
---------------------------------------------------------------------
|
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.