tests/test-notify-changegroup
branchstable
changeset 11842 71dab6955be0
parent 7043 b714aac1f7b3
equal deleted inserted replaced
11840:3f838abf2b96 11842:71dab6955be0
     8 changegroup.notify = python:hgext.notify.hook
     8 changegroup.notify = python:hgext.notify.hook
     9 
     9 
    10 [notify]
    10 [notify]
    11 sources = push
    11 sources = push
    12 diffstat = False
    12 diffstat = False
    13 maxsubject = 200
    13 maxsubject = 10
    14 
    14 
    15 [usersubs]
    15 [usersubs]
    16 foo@bar = *
    16 foo@bar = *
    17 
    17 
    18 [reposubs]
    18 [reposubs]
    35 echo % push
    35 echo % push
    36 hg --traceback --cwd b push ../a 2>&1 |
    36 hg --traceback --cwd b push ../a 2>&1 |
    37     python -c 'import sys,re; print re.sub("\n\t", " ", sys.stdin.read()),' |
    37     python -c 'import sys,re; print re.sub("\n\t", " ", sys.stdin.read()),' |
    38     sed -e 's/\(Message-Id:\).*/\1/' \
    38     sed -e 's/\(Message-Id:\).*/\1/' \
    39         -e 's/changeset \([0-9a-f]* *\)in .*test-notif/changeset \1in test-notif/' \
    39         -e 's/changeset \([0-9a-f]* *\)in .*test-notif/changeset \1in test-notif/' \
    40         -e 's/^Subject: .*test-notify/Subject: test-notify/' \
    40         -e 's/^Subject: .*/Subject: test-notify-changegroup/' \
    41         -e 's/^details: .*test-notify/details: test-notify/' \
    41         -e 's/^details: .*test-notify/details: test-notify/' \
    42         -e 's/^Date:.*/Date:/'
    42         -e 's/^Date:.*/Date:/'
    43 
    43