tests/test-impexp-branch.t
changeset 48967 42d2b31cee0b
parent 41717 7396508ad92b
equal deleted inserted replaced
48966:6000f5b25c9b 48967:42d2b31cee0b
     1   $ echo '[extensions]' >> $HGRCPATH
     1   $ echo '[extensions]' >> $HGRCPATH
     2   $ echo 'strip =' >> $HGRCPATH
     2   $ echo 'strip =' >> $HGRCPATH
     3 
     3 
     4   $ cat >findbranch.py <<EOF
     4   $ cat >findbranch.py <<EOF
     5   > from __future__ import absolute_import
       
     6   > import re
     5   > import re
     7   > import sys
     6   > import sys
     8   > 
     7   > 
     9   > head_re = re.compile(r'^#(?:(?:\\s+([A-Za-z][A-Za-z0-9_]*)(?:\\s.*)?)|(?:\\s*))$')
     8   > head_re = re.compile(r'^#(?:(?:\\s+([A-Za-z][A-Za-z0-9_]*)(?:\\s.*)?)|(?:\\s*))$')
    10   > 
     9   >