equal
deleted
inserted
replaced
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 > |