equal
deleted
inserted
replaced
146 return ctx.user() |
146 return ctx.user() |
147 |
147 |
148 def showbranches(**args): |
148 def showbranches(**args): |
149 branch = args['ctx'].branch() |
149 branch = args['ctx'].branch() |
150 if branch != 'default': |
150 if branch != 'default': |
151 branch = encoding.tolocal(branch) |
|
152 return showlist('branch', [branch], plural='branches', **args) |
151 return showlist('branch', [branch], plural='branches', **args) |
153 |
152 |
154 def showchildren(**args): |
153 def showchildren(**args): |
155 ctx = args['ctx'] |
154 ctx = args['ctx'] |
156 childrevs = ['%d:%s' % (cctx, cctx) for cctx in ctx.children()] |
155 childrevs = ['%d:%s' % (cctx, cctx) for cctx in ctx.children()] |