--- a/mercurial/cmdutil.py Wed Nov 15 15:51:58 2006 -0600
+++ b/mercurial/cmdutil.py Wed Nov 15 15:51:58 2006 -0600
@@ -426,11 +426,11 @@
def showbranches(**args):
branch = changes[5].get("branch")
if branch:
- yield showlist('branch', [branch], plural='branches', **args)
+ return showlist('branch', [branch], plural='branches', **args)
# add old style branches if requested
if brinfo and changenode in brinfo:
- yield showlist('branch', brinfo[changenode],
- plural='branches', **args)
+ return showlist('branch', brinfo[changenode],
+ plural='branches', **args)
def showparents(**args):
parents = [[('rev', log.rev(p)), ('node', hex(p))]
@@ -471,7 +471,7 @@
return self.t('manifest', **args)
else:
def showfiles(**args):
- yield showlist('file', changes[3], **args)
+ return showlist('file', changes[3], **args)
showadds = ''
showdels = ''
showmanifest = ''