# HG changeset patch # User Bryan O'Sullivan # Date 2013-03-22 05:42:51 # Node ID a624210e4866a87bcd29fa463419a1f5a554150e # Parent 0ed95fe674a8021d7d23623672d7b18289562493 test-completion: test completion of tags diff --git a/tests/test-completion.t b/tests/test-completion.t --- a/tests/test-completion.t +++ b/tests/test-completion.t @@ -287,14 +287,15 @@ Show all commands + options $ 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 @@ Show all commands + options 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