Show More
@@ -2352,8 +2352,11 b' def debugnamecomplete(ui, repo, *args):' | |||
|
2352 | 2352 | '''complete "names" - tags, open branch names, bookmark names''' |
|
2353 | 2353 | |
|
2354 | 2354 | names = set() |
|
2355 | names.update(t[0] for t in repo.tagslist()) | |
|
2356 | names.update(repo._bookmarks.keys()) | |
|
2355 | # since we previously only listed open branches, we will handle that | |
|
2356 | # specially (after this for loop) | |
|
2357 | for name, ns in repo.names.iteritems(): | |
|
2358 | if name != 'branches': | |
|
2359 | names.update(ns.listnames(repo)) | |
|
2357 | 2360 | names.update(tag for (tag, heads, tip, closed) |
|
2358 | 2361 | in repo.branchmap().iterbranches() if not closed) |
|
2359 | 2362 | completions = set() |
General Comments 0
You need to be logged in to leave comments.
Login now