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