tests/test-notify-changegroup.t
branchstable
changeset 43381 9a43cef9ec59
parent 39707 5abc47d4ca6b
child 48879 9987d14ad63f
equal deleted inserted replaced
43380:579672b347d2 43381:9a43cef9ec59
    37   $ hg --traceback --cwd b commit -Amb
    37   $ hg --traceback --cwd b commit -Amb
    38 
    38 
    39 push
    39 push
    40 
    40 
    41   $ hg --traceback --cwd b push ../a 2>&1 |
    41   $ hg --traceback --cwd b push ../a 2>&1 |
       
    42   >     "$PYTHON" $TESTDIR/unwrap-message-id.py | \
    42   >     "$PYTHON" -c 'from __future__ import print_function ; import sys,re; print(re.sub("\n\t", " ", sys.stdin.read()), end="")'
    43   >     "$PYTHON" -c 'from __future__ import print_function ; import sys,re; print(re.sub("\n\t", " ", sys.stdin.read()), end="")'
    43   pushing to ../a
    44   pushing to ../a
    44   searching for changes
    45   searching for changes
    45   adding changesets
    46   adding changesets
    46   adding manifests
    47   adding manifests
    91   repository tip rolled back to revision -1 (undo unbundle)
    92   repository tip rolled back to revision -1 (undo unbundle)
    92 
    93 
    93 unbundle with correct source
    94 unbundle with correct source
    94 
    95 
    95   $ hg --config notify.sources=unbundle --cwd a unbundle ../test.hg 2>&1 |
    96   $ hg --config notify.sources=unbundle --cwd a unbundle ../test.hg 2>&1 |
       
    97   >     "$PYTHON" $TESTDIR/unwrap-message-id.py | \
    96   >     "$PYTHON" -c 'from __future__ import print_function ; import sys,re; print(re.sub("\n\t", " ", sys.stdin.read()), end="")'
    98   >     "$PYTHON" -c 'from __future__ import print_function ; import sys,re; print(re.sub("\n\t", " ", sys.stdin.read()), end="")'
    97   adding changesets
    99   adding changesets
    98   adding manifests
   100   adding manifests
    99   adding file changes
   101   adding file changes
   100   added 2 changesets with 2 changes to 1 files
   102   added 2 changesets with 2 changes to 1 files
   167   $ hg --traceback --cwd b commit -Am "merged"
   169   $ hg --traceback --cwd b commit -Am "merged"
   168 
   170 
   169 push
   171 push
   170 
   172 
   171   $ hg --traceback --cwd b --config notify.fromauthor=True push ../a 2>&1 |
   173   $ hg --traceback --cwd b --config notify.fromauthor=True push ../a 2>&1 |
       
   174   >     "$PYTHON" $TESTDIR/unwrap-message-id.py | \
   172   >     "$PYTHON" -c 'from __future__ import print_function ; import sys,re; print(re.sub("\n\t", " ", sys.stdin.read()), end="")'
   175   >     "$PYTHON" -c 'from __future__ import print_function ; import sys,re; print(re.sub("\n\t", " ", sys.stdin.read()), end="")'
   173   pushing to ../a
   176   pushing to ../a
   174   searching for changes
   177   searching for changes
   175   adding changesets
   178   adding changesets
   176   adding manifests
   179   adding manifests