--- a/tests/test-completion.t Thu Mar 21 22:29:31 2013 -0700
+++ b/tests/test-completion.t Thu Mar 21 22:42:51 2013 -0700
@@ -287,14 +287,15 @@
$ cd a
$ echo fee > fee
$ hg ci -q -Amfee
+ $ hg tag fee
$ mkdir fie
$ echo dead > fie/dead
$ echo live > fie/live
$ hg bookmark fo
- $ hg branch fie
+ $ hg branch -q fie
$ hg ci -q -Amfie
$ echo fo > fo
- $ hg branch default
+ $ hg branch -qf default
$ hg ci -q -Amfo
$ echo Fum > Fum
$ hg ci -q -AmFum
@@ -303,16 +304,33 @@
Test debugpathcomplete
$ hg debugpathcomplete f
+ fee
+ fie/
+ fo
$ hg debugpathcomplete -f f
+ fee
+ fie/dead
+ fie/live
+ fo
$ hg rm Fum
$ hg debugpathcomplete -r F
+ Fum
If one directory and no files match, give an ambiguous answer
$ hg debugpathcomplete fi
+ fie/
+ fie/.
Test debuglabelcomplete
$ hg debuglabelcomplete
+ Fum
+ default
+ fee
+ fo
+ tip
$ hg debuglabelcomplete f
+ fee
+ fo