equal
deleted
inserted
replaced
410 if needevolve: |
410 if needevolve: |
411 evolvetarget = 'topic(%s)' % newtopic if newtopic else 'not topic()' |
411 evolvetarget = 'topic(%s)' % newtopic if newtopic else 'not topic()' |
412 ui.status('please run hg evolve --rev "%s" now\n' % evolvetarget) |
412 ui.status('please run hg evolve --rev "%s" now\n' % evolvetarget) |
413 |
413 |
414 def _listtopics(ui, repo, opts): |
414 def _listtopics(ui, repo, opts): |
415 fm = ui.formatter('bookmarks', opts) |
415 fm = ui.formatter('topics', opts) |
416 activetopic = repo.currenttopic |
416 activetopic = repo.currenttopic |
417 namemask = '%s' |
417 namemask = '%s' |
418 if repo.topics and ui.verbose: |
418 if repo.topics and ui.verbose: |
419 maxwidth = max(len(t) for t in repo.topics) |
419 maxwidth = max(len(t) for t in repo.topics) |
420 namemask = '%%-%is' % maxwidth |
420 namemask = '%%-%is' % maxwidth |