Please provide an easy way to ask "What did you just do?"

Bug #136445 reported by James Westby
4
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Wishlist
Unassigned

Bug Description

When you do an operation that changes the history, (update, pull, push to etc.) you often want
to know what just happened in your branch. It is not so easy to get this information without revision
numbers etc.

When git does an operation like this it leaves a ref named ORIG_HEAD around, so that you can use
it to specify the revision you were at, e.g. git log ORIG_HEAD.. When an operation is performed that
makes this less useful (e.g. commit), it is removed.

bzr could do something similar, for instance writing the user's current revid in to the branch config when
performing a pull, and then exposing a revision spec that provides this information, so you could do

  bzr log -r previous:..

(previous isn't that great a name, but I can't come up with a better one at the moment).

Thanks,

James

James Westby (james-w)
Changed in bzr:
importance: Undecided → Wishlist
Revision history for this message
Matt Nordhoff (mnordhoff) wrote :

Just to throw another way to do it out there, where e.g. bzr pull says "Now on revision 2775.", it could say "Now on revision 2775. Started at revision 2770." or so.

Revision history for this message
Aaron Bentley (abentley) wrote : Re: [Bug 136445] Re: Please provide an easy way to ask "What did you just do?"

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

Matt Nordhoff wrote:
> Just to throw another way to do it out there, where e.g. bzr pull says
> "Now on revision 2775.", it could say "Now on revision 2775. Started at
> revision 2770." or so.

Well, it can, but occasionally, it will say "Now on revision 5, started
on revision 10". Which is not exactly intuitive.

Aaron

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG2HbK0F+nu1YWqI0RAtB8AJ0ZnGQfcETRzOz/dA5u95pfjsl7kwCZAZvu
E2fYLBUpNgl7hgYrgfgGc9Y=
=VzhO
-----END PGP SIGNATURE-----

Changed in bzr:
status: New → Confirmed
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.