Ignore:
Timestamp:
Jan 12, 2010, 11:55:27 PM (14 years ago)
Author:
ezyang
Message:
Merged in changes from trunk

--- Merging r1262 through r1413 into 'deploy/bin':
U    deploy/bin/django
   C deploy/bin/rails
   > Resolved by accepting working copy
--- Merging r1221 through r1413 into '.':
U    sql/bin/get-password
U    sql/bin/save-password
U    doc/tickets/rt.txt
U    doc/tickets/cnames.txt
U    bin/fix-php-ini
   C bin/scripts-rails
   > Resolved by accepting working copy
Skipped 'bin/for-each-server'
 U   bin
U    sbin/parallel-find.pl
U    sbin/commit-email.pl
U    sbin/commit-zephyr
Summary of conflicts:
  Tree conflicts: 2
  Skipped paths: 1

Location:
branches/locker-dev/locker
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/locker-dev/locker

  • branches/locker-dev/locker/sbin/commit-email.pl

    r719 r1414  
    11#!/usr/bin/env perl
     2
     3# ====================================================================
     4# This script is deprecated.  The Subversion developers recommend
     5# using mailer.py for post-commit and post-revprop change
     6# notifications.  If you wish to improve or add features to a
     7# post-commit notification script, please do that work on mailer.py.
     8# See http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/mailer .
     9# ====================================================================
    210
    311# ====================================================================
     
    1018# This script requires Subversion 1.2.0 or later.
    1119#
    12 # $HeadURL: http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/commit-email.pl.in $
    13 # $LastChangedDate: 2008-04-01 13:19:34 -0400 (Tue, 01 Apr 2008) $
    14 # $LastChangedBy: glasser $
    15 # $LastChangedRevision: 30158 $
     20# $HeadURL: http://svn.collab.net/repos/svn/trunk/contrib/hook-scripts/commit-email.pl.in $
     21# $LastChangedDate: 2009-05-12 13:25:35 -0400 (Tue, 12 May 2009) $
     22# $LastChangedBy: blair $
     23# $LastChangedRevision: 37715 $
    1624#
    1725# ====================================================================
     
    4452######################################################################
    4553# Configuration section.
     54
     55$ENV{'LC_ALL'} = 'en_US.UTF-8';
    4656
    4757# Sendmail path, or SMTP server address.
     
    558568    my @head;
    559569    my $formatted_date;
    560     if (defined $stdout)
     570    if ($stdout)
    561571      {
    562572        $formatted_date = strftime('%a %b %e %X %Y', localtime());
     
    753763    }
    754764
    755   my $openfork_available = $^O ne "MSWin32"; 
     765  my $openfork_available = $^O ne "MSWin32";
    756766  if ($openfork_available) # We can fork on this system.
    757767    {
     
    769779        }
    770780    }
    771   else  # Running on Windows.  No fork. 
     781  else  # Running on Windows.  No fork.
    772782    {
    773783      my @commandline = ();
    774784      my $arg;
    775      
     785
    776786      while ($arg = shift)
    777787        {
     
    780790          push(@commandline, $arg);
    781791        }
    782        
     792
    783793      # Now do the pipe.
    784794      open(SAFE_READ, "@commandline |")
Note: See TracChangeset for help on using the changeset viewer.