bzr missing doesn't work for lightweight checkout

Bug #264863 reported by Alexandre Garnier
2
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned

Bug Description

Missing work for heavy checkout, not for lightweight.
But status warn that tree is out of date !

Example :

$ bzr init branch

$ bzr co --lightweight branch light1
$ bzr co --lightweight branch light2
$ bzr co branch heavy

$ touch light1/file
$ bzr add light1/file
added file
$ bzr ci -m "commit" light1/file
Committing to: /tmp/branch/
added file
Committed revision 1.

$ cd heavy
$ bzr missing ../branch
You are missing 1 revision(s):
------------------------------------------------------------
revno: 1
committer: Alexandre Garnier <email address hidden>
branch nick: branch
timestamp: Thu 2008-09-04 23:34:06 +0200
message:
  commit

$ cd ../light2
$ bzr missing ../branch
Branches are up to date.
$ bzr status
working tree is out of date, run 'bzr update'

Revision history for this message
John A Meinel (jameinel) wrote :

'bzr missing' is working on the Branches, and there isn't a separate "branch" for a lightweight checkout. It certainly could be updated to use the WorkingTree.last_revision() instead of the branch's last_revision. It would take a little bit more work to detect when it is a lightweight checkout, and change the default "other" branch.

It actually *is* working for your lightweight checkout in a sense, but it is comparing your branch against the parent branch. Which isn't really what you want.

Changed in bzr:
importance: Undecided → Medium
status: New → Triaged
Martin Pool (mbp)
Changed in bzr:
status: Triaged → Confirmed
Jelmer Vernooij (jelmer)
tags: added: lightweight missing ui
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.