[Bug 667408] Re: bzr blame gives error if user has not done 'bzr whoami'

Jelmer Vernooij 667408 at bugs.launchpad.net
Thu Jun 16 23:01:12 UTC 2011


** Changed in: bzr (Ubuntu)
       Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzr in Ubuntu.
https://bugs.launchpad.net/bugs/667408

Title:
  bzr blame gives error if user has not done 'bzr whoami'

Status in Bazaar Version Control System:
  Fix Released
Status in “bzr” package in Ubuntu:
  In Progress

Bug description:
  Binary package hint: bzr

  Package: bzr
  Version: 2.2.0-1
  Ubuntu version: 10.10

  If you try to use 'bzr blame' and you haven't used 'bzr whoami' to
  tell bzr who you are then it complains. Actual behaviour:

  petmay01 at LinaroE102767:~/linaro/snapshot/linaro-image-tools$ bzr blame linaro-media-create 
  bzr: ERROR: Unable to determine your name.                                                                         
  Please, set your name with the 'whoami' command.
  E.g. bzr whoami "Your Name <name at example.com>"

  The expected behaviour is that it should give you the annotated file
  the same way it does once you have done 'bzr whoami', rather than a
  fatal error.

  There shouldn't be any reason for bzr to need to know who the local
  user is in order to do 'blame' annotation, any more than it does for
  'bzr log'. I'm guessing that the reason this happens is that bzr wants
  to know how to annotate local uncommitted changes, but it would be
  more user friendly to just annotate these as "[local user]" or
  something similar rather than just refuse to do anything.

To manage notifications about this bug go to:
https://bugs.launchpad.net/bzr/+bug/667408/+subscriptions




More information about the foundations-bugs mailing list