bzr st docs are not clear about using historical revisions

Bug #532600 reported by Per Johansson
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Wishlist
Unassigned

Bug Description

svn diff has a useful --summarize flag to show what files changed between two revision. It is similar to the extra info output by log -v, but you can apply it to any two revisions. Eg:

$ bzr diff --summarize -r -3..
modified:
  __init__.py
  log.py

bzr can do this using 'bzr status' but this could be documented or made more clear in the help (of diff, status, or the user guide.)

Related branches

Revision history for this message
Neil Martinsen-Burrell (nmb) wrote :

The bzr-diffstat plugin (http://launchpad.net/bzr-diffstat) provides a similar summary, using a format similar to git's diff stat. After installation, it is available as ``bzr diff --stat``.

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 532600] [NEW] bzr diff --summarize

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Per Johansson wrote:
> Public bug reported:
>
> svn diff has a useful --summarize flag to show what files changed
> between two revision. It is similar to the extra info output by log -v,
> but you can apply it to any two revisions. Eg:
>
> $ bzr diff --summarize -r -3..
> modified:
> __init__.py
> log.py
>
> ** Affects: bzr
> Importance: Undecided
> Status: New
>

 bzr status -r -3..

I don't think we need to add it to 'diff'.

John
=:->

 status: invalid
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuRHGUACgkQJdeBCYSNAAMvsQCgpb2dQVPobr57lZ+vQiamwCtk
ff8AoJYKwYKQM8/LcNc43qCE7XwgK/nA
=Rj3u
-----END PGP SIGNATURE-----

Changed in bzr:
status: New → Invalid
Revision history for this message
Robert Collins (lifeless) wrote :

 status incomplete

'bzr st -r -3..' will do precisely this. Are you asking for an alias to
that on diff, or better docs? Or were you unaware that 'bzr st' worked?

-Rob

Changed in bzr:
status: Invalid → Incomplete
Revision history for this message
Per Johansson (per.j) wrote : Re: bzr diff --summarize

I was unaware that status would do this, and I don't think it's very obvious from the bzr help status page either.

Martin Pool (mbp)
description: updated
Changed in bzr:
status: Incomplete → Confirmed
importance: Undecided → Low
tags: added: diff doc easy help status
summary: - bzr diff --summarize
+ bzr st docs are not clear about using historical evisions
Changed in bzr:
importance: Low → Wishlist
tags: removed: diff easy help status
Vincent Ladeuil (vila)
summary: - bzr st docs are not clear about using historical evisions
+ bzr st docs are not clear about using historical revisions
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.