changeset 11821:15aa42aaae4c

cmdutil: remove unnecessary parenthesis
author Martin Geisler <mg@aragost.com>
date Thu, 12 Aug 2010 18:00:41 +0200
parents 75de514a50f3
children 0cae834cdc80
files mercurial/cmdutil.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Thu Aug 12 17:58:03 2010 +0200
+++ b/mercurial/cmdutil.py	Thu Aug 12 18:00:41 2010 +0200
@@ -638,7 +638,7 @@
         fp.write("# HG changeset patch\n")
         fp.write("# User %s\n" % ctx.user())
         fp.write("# Date %d %d\n" % ctx.date())
-        if branch and (branch != 'default'):
+        if branch and branch != 'default':
             fp.write("# Branch %s\n" % branch)
         fp.write("# Node ID %s\n" % hex(node))
         fp.write("# Parent  %s\n" % hex(prev))