mercurial/commands.py
changeset 50852 44be37c200b3
parent 50851 fa675fd648a3
child 50853 6bcfd44bc1cd
equal deleted inserted replaced
50851:fa675fd648a3 50852:44be37c200b3
  7601       :type:    String. ``local`` for local tags.
  7601       :type:    String. ``local`` for local tags.
  7602 
  7602 
  7603     Returns 0 on success.
  7603     Returns 0 on success.
  7604     """
  7604     """
  7605 
  7605 
  7606     opts = pycompat.byteskwargs(opts)
       
  7607     ui.pager(b'tags')
  7606     ui.pager(b'tags')
  7608     fm = ui.formatter(b'tags', opts)
  7607     fm = ui.formatter(b'tags', pycompat.byteskwargs(opts))
  7609     hexfunc = fm.hexfunc
  7608     hexfunc = fm.hexfunc
  7610 
  7609 
  7611     for t, n in reversed(repo.tagslist()):
  7610     for t, n in reversed(repo.tagslist()):
  7612         hn = hexfunc(n)
  7611         hn = hexfunc(n)
  7613         label = b'tags.normal'
  7612         label = b'tags.normal'