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

RE: Need Help

From: Jewel Nuruddin <jungi_unavailable_at_yahoo.com>
Date: Fri, 24 Apr 2009 00:03:12 -0700 (PDT)

Great Erik.......
Its work for me also.
Thank you very much

--- On Fri, 4/24/09, Erik Hemdal <erik_at_comprehensivepower.com> wrote:

From: Erik Hemdal <erik_at_comprehensivepower.com>
Subject: RE: Need Help
To: "'Jewel Nuruddin'" <jungi_unavailable_at_yahoo.com>
Cc: users_at_subversion.tigris.org
Date: Friday, April 24, 2009, 2:30 AM

 
Message

 

  
  -----Original Message-----
From: Jewel Nuruddin
  [mailto:jungi_unavailable_at_yahoo.com]
Sent: Thursday, April 23, 2009
  11:25 AM
To: Ryan Schmidt
Cc:
  users_at_subversion.tigris.org
Subject: Re: Need
  Help

  
    
    
      
        yes I want to get mail only from certain path.
in my post-commit
        file I write the following
        code

REPOS="$1"
REV="$2"
/usr/local/bin/commit-email.pl
        "$REPOS" "$REV" --from admin_at_game.com -s "SVN commit in packages"
        subversion-users_at_game.com

and I use commit-email.pl file and it
        give me notification mail for every repository
so if you can would
        you please kindly give me some solution.
Thank you very much for
        great help
 
        Jewel, I think I ran into the same problem you have. 
        The commit-email.pl script is documented to take an argument for a path
        regular expression.  But when I tested it, I could not discover the
        right syntax to make it work and do what you describe.  I burned a
        lot of time trying to sort it out.
         
        The default regex seems to be set at line 742, in sub
        new_project.(look for the value associated with the key
        match_regex).  I changed that default from '.' to 'trunk' and got
        the script to notify only on trunk changes.  Obviously, this is changing the default behavior,
        but all I want is trunk notifications anyway.
         
        I'm sure there's a smarter, better fix, but this worked for
        me.  Maybe it will work for you, too.
         
        Erik

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1887619

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-24 09:04:06 CEST

This is an archived mail posted to the Subversion Users mailing list.