diff mercurial/patch.py @ 3387:2065789f6a3e

use short hashes with diff -v
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Fri, 13 Oct 2006 15:34:35 -0300
parents 1106e00e6847
children 2d35a8d2b32d
line wrap: on
line diff
--- a/mercurial/patch.py	Fri Oct 13 11:17:17 2006 -0700
+++ b/mercurial/patch.py	Fri Oct 13 15:34:35 2006 -0300
@@ -526,7 +526,7 @@
     if repo.ui.quiet:
         r = None
     else:
-        hexfunc = repo.ui.verbose and hex or short
+        hexfunc = repo.ui.debugflag and hex or short
         r = [hexfunc(node) for node in [node1, node2] if node]
 
     if opts.git: