# Bazaar revision bundle v0.8 # # message: # raise an exception if 'whoami' is given a name without a decodable email address # committer: Robey Pointer # date: Tue 2006-07-04 14:57:14.714365005 -0700 === modified file bzrlib/builtins.py --- bzrlib/builtins.py +++ bzrlib/builtins.py @@ -1817,6 +1817,10 @@ self.outf.write(c.username() + '\n') return + # verify that an email address is included in the given name. + # if not, a BzrError will be raised. + config.extract_email_address(name) + # use global config unless --branch given if branch: c = Branch.open_containing('.')[0].get_config() # revision id: robey@lag.net-20060704215714-89de58e3fc608ddd # sha1: 2af14a7ef9ff832ba44ab45e508301d6da56c640 # inventory sha1: 3a2e3e72ab27a090f512cd4c433bf530ec3c1d0c # parent ids: # pqm@pqm.ubuntu.com-20060704173203-6de4c6bbbe1a6149 # pqm@pqm.ubuntu.com-20060704173203-6de4c6bbbe1a6149 # base id: pqm@pqm.ubuntu.com-20060704173203-6de4c6bbbe1a6149 # properties: # branch-nick: bzr.dev.whoami