diff mercurial/hg.py @ 10282:08a0f04b56bd

many, many trivial check-code fixups
author Matt Mackall <mpm@selenic.com>
date Mon, 25 Jan 2010 00:05:27 -0600
parents 25e572394f5c
children d42821cd5c96
line wrap: on
line diff
--- a/mercurial/hg.py	Mon Jan 25 00:05:22 2010 -0600
+++ b/mercurial/hg.py	Mon Jan 25 00:05:27 2010 -0600
@@ -348,7 +348,8 @@
 def clean(repo, node, show_stats=True):
     """forcibly switch the working directory to node, clobbering changes"""
     stats = _merge.update(repo, node, False, True, None)
-    if show_stats: _showstats(repo, stats)
+    if show_stats:
+        _showstats(repo, stats)
     return stats[3] > 0
 
 def merge(repo, node, force=None, remind=True):