command:target: Print full ID (bugdir/bug) on --resolve
authorW. Trevor King <wking@tremily.us>
Wed, 10 Jul 2013 14:07:37 +0000 (10:07 -0400)
committerW. Trevor King <wking@tremily.us>
Wed, 10 Jul 2013 14:07:37 +0000 (10:07 -0400)
commit9b5b2a1b7ca4541b4b34aa4b4f00c2d96a90d79b
tree9f0d0686024f6fb645188424ce8f6afc1e3952a2
parentf41908a1f7b5a100ae1f4f143ac8f150d1d83f73
command:target: Print full ID (bugdir/bug) on --resolve

The old implementation just printed the bug UUID (without the bugdir/
prefix).  This lead to the command we suggest in `be target --help`:

  $ be depend --status -closed,fixed,wontfix --severity -target \
    $(be target --resolve)

failing with an invalid ID.

Reported-by: Michael Sperber <sperber@deinprogramm.de>
libbe/command/target.py