On Tue, 2006-09-05 at 10:01 -0700, Karl Fogel wrote:
> "Ernest L. Williams Jr." <firstname.lastname@example.org> writes:
> > On Sat, 2006-09-02 at 05:36 -0700, Kenneth Porter wrote:
> >> --On Friday, September 01, 2006 8:28 PM -0400 "Ernest L. Williams Jr."
> >> <email@example.com> wrote:
> >> > My question today is how to transfer my existing CVS like email
> >> > notification scheme to SVN with the least resistance?
> >> Use the supplied hook script example:
> >> <http://svnbook.red-bean.com/nightly/en/svn.reposadmin.create.html#svn.reposadmin.create.hooks>
> > The book does not explain this very well. I have already read the above
> > before posting to this list.
> >> You'll find the example in the tools/hook-scripts directory of the
> >> distribution:
> >> <http://svn.collab.net/viewvc/svn/trunk/tools/hook-scripts/>
> > Again, the example is not clear and it gets me no where.
> You need a paid consultant, I think. I don't mean that sarcastically,
> by the way, just as an honest assessment of how you can most quickly
> achieve your goal here.
My question was very simple but all I get is pointers to the
documentation. So now, a consultant is the answer, hmmm?
What I need to do was simply done in CVS. I just asked for a
translation of the following:
=========== loginfo ================================================
# The "loginfo" file is used to control where "cvs commit" log
#information is sent. The first entry on a line is a regular expression
# which is tested
# against the directory that the change is being made to, relative to
#the $CVSROOT. For the first match that is found, the remainder of the
#line is a filter program that should expect log information on its
# If the repository name does not match any of the regular expressions
#in the first field of this file, the "DEFAULT" line is used, if it is
# If the name "ALL" appears as a regular expression it is always used
# in addition to the first matching regex or "DEFAULT".
# The filter program may use one and only one "%s" modifier (ala
#printf). If such a "%s" is specified in the filter program, a brief
#title is included (as one argument, enclosed in single quotes) showing
#the relative directory name and listing the modified file names.
# For example:
#DEFAULT (echo ""; who am i; echo %s; date; cat) >>
ALL mail -s %s firstname.lastname@example.org email@example.com
project1 mail -s %s firstname.lastname@example.org email@example.com
project2 mail -s %s firstname.lastname@example.org email@example.com
project3 mail -s %s firstname.lastname@example.org
project4 mail -s %s email@example.com firstname.lastname@example.org
project5 mail -s %s email@example.com firstname.lastname@example.org
================ loginfo ==========================================
Can the above e done simply in SVN, if so provide an example?
> Good luck,
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Tue Sep 5 20:23:35 2006