tests/test-notify-changegroup.t
changeset 39723 5abc47d4ca6b
parent 39497 89630d0b3e23
child 43381 9a43cef9ec59
equal deleted inserted replaced
39722:030d558c6456 39723:5abc47d4ca6b
    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 -c 'from __future__ import print_function ; import sys,re; print(re.sub("\n\t", " ", sys.stdin.read()), end="")'
    42   >     "$PYTHON" -c 'from __future__ import print_function ; import sys,re; print(re.sub("\n\t", " ", sys.stdin.read()), end="")'
    43   pushing to ../a
    43   pushing to ../a
    44   searching for changes
    44   searching for changes
    45   adding changesets
    45   adding changesets
    46   adding manifests
    46   adding manifests
    47   adding file changes
    47   adding file changes
    91   repository tip rolled back to revision -1 (undo unbundle)
    91   repository tip rolled back to revision -1 (undo unbundle)
    92 
    92 
    93 unbundle with correct source
    93 unbundle with correct source
    94 
    94 
    95   $ hg --config notify.sources=unbundle --cwd a unbundle ../test.hg 2>&1 |
    95   $ hg --config notify.sources=unbundle --cwd a unbundle ../test.hg 2>&1 |
    96   >     $PYTHON -c 'from __future__ import print_function ; import sys,re; print(re.sub("\n\t", " ", sys.stdin.read()), end="")'
    96   >     "$PYTHON" -c 'from __future__ import print_function ; import sys,re; print(re.sub("\n\t", " ", sys.stdin.read()), end="")'
    97   adding changesets
    97   adding changesets
    98   adding manifests
    98   adding manifests
    99   adding file changes
    99   adding file changes
   100   added 2 changesets with 2 changes to 1 files
   100   added 2 changesets with 2 changes to 1 files
   101   new changesets cb9a9f314b8b:ba677d0156c1 (2 drafts)
   101   new changesets cb9a9f314b8b:ba677d0156c1 (2 drafts)
   167   $ hg --traceback --cwd b commit -Am "merged"
   167   $ hg --traceback --cwd b commit -Am "merged"
   168 
   168 
   169 push
   169 push
   170 
   170 
   171   $ hg --traceback --cwd b --config notify.fromauthor=True push ../a 2>&1 |
   171   $ hg --traceback --cwd b --config notify.fromauthor=True push ../a 2>&1 |
   172   >     $PYTHON -c 'from __future__ import print_function ; import sys,re; print(re.sub("\n\t", " ", sys.stdin.read()), end="")'
   172   >     "$PYTHON" -c 'from __future__ import print_function ; import sys,re; print(re.sub("\n\t", " ", sys.stdin.read()), end="")'
   173   pushing to ../a
   173   pushing to ../a
   174   searching for changes
   174   searching for changes
   175   adding changesets
   175   adding changesets
   176   adding manifests
   176   adding manifests
   177   adding file changes
   177   adding file changes