annotate tests/test-notfound @ 1630:5ecf05541e11

This fixes a bug that Chris Mason found. As for a test case, I can't think of one. It's a very weird case. Basically, if there is a file listed as changed in the changelog entry, but not showing up in any of the associated manifest entries, hg would abort when trying to create a changeset. Now it just decides the file must not have any versions relevant to the changeset.
author Eric Hopper <hopper@omnifarious.org>
date Fri, 20 Jan 2006 09:35:43 -0800
parents 891b6a262c4b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
909
e2e7a2462ede Addes test for error messages when operating on non-existing files.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff changeset
1 #!/bin/sh
e2e7a2462ede Addes test for error messages when operating on non-existing files.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff changeset
2
e2e7a2462ede Addes test for error messages when operating on non-existing files.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff changeset
3 hg init
e2e7a2462ede Addes test for error messages when operating on non-existing files.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff changeset
4
e2e7a2462ede Addes test for error messages when operating on non-existing files.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff changeset
5 echo "Is there an error message when trying to diff non-existing files?"
e2e7a2462ede Addes test for error messages when operating on non-existing files.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff changeset
6 hg diff not found
e2e7a2462ede Addes test for error messages when operating on non-existing files.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff changeset
7
e2e7a2462ede Addes test for error messages when operating on non-existing files.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff changeset
8 echo "Is there an error message when trying to add non-existing files?"
e2e7a2462ede Addes test for error messages when operating on non-existing files.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff changeset
9 hg add not found