diff mercurial/localrepo.py @ 3721:98f2507c5551

only print a warning when no username is specified - revert most of 8b55c0ba - display the username during interactive commit
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Tue, 28 Nov 2006 21:16:05 +0100
parents 5cc99f4b5041
children 9e67fecbfd16
line wrap: on
line diff
--- a/mercurial/localrepo.py	Tue Nov 28 19:11:46 2006 +0100
+++ b/mercurial/localrepo.py	Tue Nov 28 21:16:05 2006 +0100
@@ -679,6 +679,7 @@
             if text:
                 edittext.append(text)
             edittext.append("")
+            edittext.append("HG: user: %s" % user)
             if p2 != nullid:
                 edittext.append("HG: branch merge")
             edittext.extend(["HG: changed %s" % f for f in changed])