equal
deleted
inserted
replaced
411 ui.write('[extensions]\nkeyword =\n') |
411 ui.write('[extensions]\nkeyword =\n') |
412 demoitems('keyword', ui.configitems('keyword')) |
412 demoitems('keyword', ui.configitems('keyword')) |
413 demoitems('keywordset', ui.configitems('keywordset')) |
413 demoitems('keywordset', ui.configitems('keywordset')) |
414 demoitems('keywordmaps', kwmaps.iteritems()) |
414 demoitems('keywordmaps', kwmaps.iteritems()) |
415 keywords = '$' + '$\n$'.join(sorted(kwmaps.keys())) + '$\n' |
415 keywords = '$' + '$\n$'.join(sorted(kwmaps.keys())) + '$\n' |
416 repo.wopener(fn, 'w').write(keywords) |
416 repo.wopener.write(fn, keywords) |
417 repo[None].add([fn]) |
417 repo[None].add([fn]) |
418 ui.note(_('\nkeywords written to %s:\n') % fn) |
418 ui.note(_('\nkeywords written to %s:\n') % fn) |
419 ui.note(keywords) |
419 ui.note(keywords) |
420 repo.dirstate.setbranch('demobranch') |
420 repo.dirstate.setbranch('demobranch') |
421 for name, cmd in ui.configitems('hooks'): |
421 for name, cmd in ui.configitems('hooks'): |