annotate tests/test-empty @ 4510:e0bc2c575044

Issue a warning if "-r ." is used with two working directory parents. Rationale for not aborting instead: The first parent is usually more important as it is the local branch during a merge and commands like 'hg diff' and 'hg diff -r.' behave still identically (except for the warning of course). Added a test for log -r. with one and two parents.
author Thomas Arendsen Hein <thomas@intevation.de>
date Wed, 06 Jun 2007 19:05:18 +0200
parents 2b77ea66fe70
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1338
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
1 #!/bin/sh
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
2
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
3 hg init
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
4 hg log
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
5 hg grep wah
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
6 hg manifest
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
7 hg verify