[Bug 1190183] Re: bzr diff always returns error exit code (1) even when it succeeds
Vincent Ladeuil
1190183 at bugs.launchpad.net
Wed Jun 12 12:39:41 UTC 2013
from bzr help diff:
Exit values:
1 - changed
2 - unrepresentable changes
3 - error
0 - no change
Adding a file is a change, even if the file empty.
** Changed in: bzr (Ubuntu)
Status: Confirmed => Invalid
--
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/1190183
Title:
bzr diff always returns error exit code (1) even when it succeeds
Status in “bzr” package in Ubuntu:
Invalid
Bug description:
Bazaar 2.6.0dev3, bzr 2.6.0~bzr6571-4ubuntu2, Ubuntu 13.04
😌 11:14:12 at hacking> bzr init test
Created a standalone tree (format: 2a)
😌 11:14:20 at hacking> cd test
😌 11:14:49 at test> touch foo
😌 11:14:55 at test> bzr add
adding foo
😌 11:14:58 at test> bzr diff
=== added file 'foo'
😠 11:15:01 at test> echo $?
1
😌 11:15:05 at test>
What should happen: If the bzr diff command succeeds, it should return
an exit code of 0, not 1.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bzr/+bug/1190183/+subscriptions
More information about the foundations-bugs
mailing list