/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Jelmer Vernooij
  • Date: 2011-01-18 22:30:23 UTC
  • mto: This revision was merged to the branch mainline in revision 5620.
  • Revision ID: jelmer@samba.org-20110118223023-sje5l7ap3nebwnyh
Print error if both --email and a new identity were specified.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3425
3425
                self.outf.write(c.username() + '\n')
3426
3426
            return
3427
3427
 
 
3428
        if email:
 
3429
            raise errors.BzrCommandError("--email can only be used to display existing "
 
3430
                                         "identity")
 
3431
 
3428
3432
        # display a warning if an email address isn't included in the given name.
3429
3433
        try:
3430
3434
            _mod_config.extract_email_address(name)