Mercurial > hg
comparison tests/test-export @ 7771:09d0fe02988d
tests: Add a test for the behavior of 'hg export -- -2'
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Tue, 10 Feb 2009 16:31:52 -0600 |
parents | f711b8e0d2b3 |
children | 6c82beaaa11a |
comparison
equal
deleted
inserted
replaced
7770:fd3e5ff53a31 | 7771:09d0fe02988d |
---|---|
17 echo "# exporting 4 changesets to a file" | 17 echo "# exporting 4 changesets to a file" |
18 hg export -o export_internal 1 2 3 4 | 18 hg export -o export_internal 1 2 3 4 |
19 grep HG export_internal | wc -l | sed -e 's/^ *//' | 19 grep HG export_internal | wc -l | sed -e 's/^ *//' |
20 echo "# exporting 4 changesets to a file" | 20 echo "# exporting 4 changesets to a file" |
21 hg export 1 2 3 4 | grep HG | wc -l | sed -e 's/^ *//' | 21 hg export 1 2 3 4 | grep HG | wc -l | sed -e 's/^ *//' |
22 echo "# exporting revision -2 to a file" | |
23 hg export -- -2 |