Show More
@@ -430,10 +430,8 b' def demo(ui, repo, *args, **opts):' | |||
|
430 | 430 | ui.readconfig(opts.get('rcfile')) |
|
431 | 431 | if args: |
|
432 | 432 | # simulate hgrc parsing |
|
433 |
rcmaps = |
|
|
434 |
|
|
|
435 | fp.writelines(rcmaps) | |
|
436 | fp.close() | |
|
433 | rcmaps = '[keywordmaps]\n%s\n' % '\n'.join(args) | |
|
434 | repo.vfs.write('hgrc', rcmaps) | |
|
437 | 435 | ui.readconfig(repo.join('hgrc')) |
|
438 | 436 | kwmaps = dict(ui.configitems('keywordmaps')) |
|
439 | 437 | elif opts.get('default'): |
General Comments 0
You need to be logged in to leave comments.
Login now