mismatch between checkout number in logs and in scheme/last-revision

Bug #300992 reported by Marco Maggi
2
Affects Status Importance Assigned to Milestone
Ikarus Scheme
Confirmed
Wishlist
Unassigned

Bug Description

Checking out Ikarus with bazaar and doing "bzr log" shows checkout
revision 1690, but the file "scheme/last-revision" shows 1688.
This is a problem in some check in script (or something) because it
happens regularly. Of course the wrong revision shows in the
banner when running interactive "ikarus".

Revision history for this message
Abdulaziz Ghuloum (aghuloum) wrote :

This is a problem with me not running make before checkin. The last-revision file is generated by the makefile by copying the revision number from my ".bzr/branch/last-revision" file. The problem is that if you do a lightweight checkout from the repository, you won't have that file (I don't know where bzr gets the revision number from when you do "bzr revno").

If you can figure out how to get the precise revision number (without invoking bzr), that would be great.

If you know how to configure bzr so that it generates that file whenever you commit, that would be good too.

Revision history for this message
Abdulaziz Ghuloum (aghuloum) wrote :

Marking this as a wishlist since it's nice to have but not too important. I will be happy to apply a fix if available.

Changed in ikarus:
importance: Undecided → Wishlist
status: New → Confirmed
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.