[Bug 1190183] [NEW] bzr diff always returns error exit code (1) even when it succeeds
Matthew Paul Thomas
mpt at canonical.com
Wed Jun 12 10:11:47 UTC 2013
Public bug reported:
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.
** Affects: bzr (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
Bazaar 2.6.0dev3, bzr 2.6.0~bzr6571-4ubuntu2, Ubuntu 13.04
- 😌 11:08:37 at hacking> mkdir test
- 😌 11:08:52 at hacking> cd test
- 😌 11:08:54 at test> bzr init
+ 😌 11:14:12 at hacking> bzr init test
Created a standalone tree (format: 2a)
- 😌 11:09:14 at test> touch foo
- 😌 11:09:37 at test> bzr add foo
+ 😌 11:14:20 at hacking> cd test
+ 😌 11:14:49 at test> touch foo
+ 😌 11:14:55 at test> bzr add
adding foo
- 😌 11:09:42 at test> bzr diff
+ 😌 11:14:58 at test> bzr diff
=== added file 'foo'
- 😠 11:09:45 at test> echo $?
+ 😠 11:15:01 at test> echo $?
1
- 😌 11:10:16 at test>
+ 😌 11:15:05 at test>
What should happen: If the bzr diff command succeeds, it should return
an exit code of 0, not 1.
--
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:
New
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