Commits

edgimar  committed 1a1d114

- allow -u parameter to work when user not defined in hgrc file (issue #34)

  • Participants
  • Parent commits d7e81dc

Comments (0)

Files changed (1)

File crecord/chunk_selector.py

         except KeyError:
             pass
 
+        if opts['user'] != '':
+            # make it accessible by self.ui.username()
+            self.ui.setconfig("ui", "username", opts['user'])
+
         self.commentText += textwrap.dedent("""
         
         HG: Enter/resume commit message.  Lines beginning with 'HG:' are removed.