equal
deleted
inserted
replaced
28 |
28 |
29 $ hg export 0 > ../r0.patch |
29 $ hg export 0 > ../r0.patch |
30 $ hg export 1 > ../r1.patch |
30 $ hg export 1 > ../r1.patch |
31 $ cd .. |
31 $ cd .. |
32 |
32 |
33 $ if python findbranch.py < r0.patch; then |
33 $ if $PYTHON findbranch.py < r0.patch; then |
34 > echo "Export of default branch revision has Branch header" 1>&2 |
34 > echo "Export of default branch revision has Branch header" 1>&2 |
35 > exit 1 |
35 > exit 1 |
36 > fi |
36 > fi |
37 |
37 |
38 $ if python findbranch.py < r1.patch; then |
38 $ if $PYTHON findbranch.py < r1.patch; then |
39 > : # Do nothing |
39 > : # Do nothing |
40 > else |
40 > else |
41 > echo "Export of branch revision is missing Branch header" 1>&2 |
41 > echo "Export of branch revision is missing Branch header" 1>&2 |
42 > exit 1 |
42 > exit 1 |
43 > fi |
43 > fi |