--- a/tests/test-subrepo.t Wed Mar 28 11:42:17 2012 +0200
+++ b/tests/test-subrepo.t Wed Mar 28 11:42:17 2012 +0200
@@ -38,20 +38,20 @@
update: (current)
$ hg ci -m1
-Revert can't (yet) revert subrepos:
+Revert subrepo:
$ echo b > s/a
$ hg revert s
- abort: cannot revert subrepos without --no-backup
- [255]
-
-Revert currently ignores subrepos by default
+ reverting subrepo s
+ reverting s/a
+ $ rm s/a.orig
- $ hg revert -a
- abort: cannot revert subrepos without --no-backup
- [255]
- $ hg revert -R s -a -C
- reverting s/a (glob)
+Revert subrepo with no backup. The "reverting s/a" line is gone since
+we're really running 'hg update' in the subrepo:
+
+ $ echo b > s/a
+ $ hg revert --no-backup s
+ reverting subrepo s
Issue2022: update -C