Patchwork [1,of,6,topic-experiment] topics: pass 'topics' to ui.formatter instead of 'bookmarks'

login
register
mail settings
Submitter Pulkit Goyal
Date June 28, 2017, 9:08 p.m.
Message ID <da41510ef1475dfceae2.1498684103@workspace>
Download mbox | patch
Permalink /patch/21807/
State Accepted
Headers show

Comments

Pulkit Goyal - June 28, 2017, 9:08 p.m.
# HG changeset patch
# User Pulkit Goyal <7895pulkit@gmail.com>
# Date 1498493913 -19800
#      Mon Jun 26 21:48:33 2017 +0530
# Node ID da41510ef1475dfceae2cc1e2c615248837e52b5
# Parent  f5d52fa1cd554ee028ffce936265145817d86fa7
# EXP-Topic resolvetopic
topics: pass 'topics' to ui.formatter instead of 'bookmarks'

Patch

diff --git a/hgext3rd/topic/__init__.py b/hgext3rd/topic/__init__.py
--- a/hgext3rd/topic/__init__.py
+++ b/hgext3rd/topic/__init__.py
@@ -412,7 +412,7 @@ 
         ui.status('please run hg evolve --rev "%s" now\n' % evolvetarget)
 
 def _listtopics(ui, repo, opts):
-    fm = ui.formatter('bookmarks', opts)
+    fm = ui.formatter('topics', opts)
     activetopic = repo.currenttopic
     namemask = '%s'
     if repo.topics and ui.verbose: