RFE: bzr diff --status like git and mercurial
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
New
|
Undecided
|
Unassigned | ||
Breezy |
Triaged
|
Medium
|
Unassigned |
Bug Description
Hi folks,
I am requesting an option to bzr diff, call it --status/--short status which will show the list of modified files together with numbers of insertions/
$ git diff -M 2.0.2..2.0.3 --stat
lib/capybara/
lib/capybara/
lib/capybara/
3 files changed, 3 insertions(+), 6 deletions(-)
$ hg diff --stat -r 1.1 -r 1.1.1
.hgtags | 2 ++
setup.py | 17 ++++++++---------
2 files changed, 10 insertions(+), 9 deletions(-)
Bazaar status command is similar but not what I want exactly:
$ bzr status -SV -r 0.7..0.7.2
M doc/conf.py
M README
M setup.py
+N MANIFEST.in
Notes:
* Git also has the --shortstat option which prints only the last line. Mercurial, AFAIK doesn't
* With Git both the stats and the actual diff can be combined and printer together, with Mercurial you can't.
If possible please add the --stat --shortstat options to Bazaar and make them behave like Git.
I will be looking at the code to create a patch. Let me know if such patch will be accepted and please point me to the right files/methods to look at.
tags: | added: check-for-breezy |
tags: | removed: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Medium |
This is provided by the bzr-diffstat https:/ /launchpad. net/bzr- diffstat plugin AFAIK