comparison tests/test-completion.t @ 18798:0ea3b8e8ce7a

tests: test debugpathcomplete and debuglabelcomplete
author Bryan O'Sullivan <bryano@fb.com>
date Thu, 21 Mar 2013 22:26:01 -0700
parents c394a365483e
children a624210e4866
comparison
equal deleted inserted replaced
18797:c394a365483e 18798:0ea3b8e8ce7a
280 tags: 280 tags:
281 tip: patch, git, style, template 281 tip: patch, git, style, template
282 unbundle: update 282 unbundle: update
283 verify: 283 verify:
284 version: 284 version:
285
286 $ hg init a
287 $ cd a
288 $ echo fee > fee
289 $ hg ci -q -Amfee
290 $ mkdir fie
291 $ echo dead > fie/dead
292 $ echo live > fie/live
293 $ hg bookmark fo
294 $ hg branch fie
295 $ hg ci -q -Amfie
296 $ echo fo > fo
297 $ hg branch default
298 $ hg ci -q -Amfo
299 $ echo Fum > Fum
300 $ hg ci -q -AmFum
301 $ hg bookmark Fum
302
303 Test debugpathcomplete
304
305 $ hg debugpathcomplete f
306 $ hg debugpathcomplete -f f
307
308 $ hg rm Fum
309 $ hg debugpathcomplete -r F
310
311 If one directory and no files match, give an ambiguous answer
312
313 $ hg debugpathcomplete fi
314
315 Test debuglabelcomplete
316
317 $ hg debuglabelcomplete
318 $ hg debuglabelcomplete f