##// END OF EJS Templates
tags: migrate `opts` to native kwargs
Matt Harbison -
r51745:44be37c2 default
parent child Browse files
Show More
@@ -7603,9 +7603,8 b' def tags(ui, repo, **opts):'
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()):
General Comments 0
You need to be logged in to leave comments. Login now