bzr missing doesn't work for lightweight checkout
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'
Changed in bzr: | |
status: | Triaged → Confirmed |
tags: | added: lightweight missing ui |
tags: | added: check-for-breezy |
'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.