bzr wouldn't update checkout

Neil Martinsen-Burrell nmb at wartburg.edu
Mon Sep 14 21:49:03 BST 2009


On 2009-09-14 15:26 , Tim Michelsen wrote:
> Hello,
> I am experiencing a strange behaviour by BZR:
>
> local: bzr log --forward
>
> ------------------------------------------------------------
> revno: 1097
> committer: Massimo Di Pierro <mdipierro at massimo-di-pierros-macbook.local>
> branch nick: web2py
> timestamp: Thu 2009-08-27 02:55:32 -0500
> message:
> fixed problem with cross-os upload filenames, thanks Richard
> ------------------------------------------------------------
> revno: 1098
> committer: Massimo Di Pierro <mdipierro at Host-001.homenet.telecomitalia.it>
> branch nick: web2py
> timestamp: Fri 2009-08-28 03:12:23 -0500
> message:
> closed tar files, thanks artman
> ------------------------------------------------------------
> ***
>
> bzr info
> Standalone tree (format: pack-0.92)
> Location:
> branch root: .
>
> Related branches:
> parent branch: http://bazaar.launchpad.net/~mdipierro/web2py/devel/
>
> remote
>
>
> ------------------------------------------------------------
> revno: 1127
> committer: Massimo Di Pierro <mdipierro at massimo-di-pierros-macbook.local>
> branch nick: web2py
> timestamp: Fri 2009-09-11 22:08:30 -0500
> message:
> strong random password, thanks Mr Freeze
> ------------------------------------------------------------
> revno: 1128
> committer: Massimo Di Pierro <mdipierro at massimo-di-pierros-macbook.local>
> branch nick: web2py
> timestamp: Sat 2009-09-12 09:22:15 -0500
> message:
> more files ingored in app.yams, thanks Vidul
> ------------------------------------------------------------
> Use --include-merges or -n0 to see merged revisions.
>
>
> bzr update .
> Tree is up to date at revision 1098.
>
> => Why would it not update my local checkout?

Your local checkout is not in fact a checkout of the remote branch.  A 
checkout clearly says the words "checkout" in the info.  You need to 
bind your local branch to the parent branch::

bzr bind http://bazaar.launchpad.net/~mdipierro/web2py/devel/

or use ``bzr pull`` to update your local, unbound branch.

For an unbound branch, ``bzr update`` brings the working tree into sync 
with the branch as stored in the repository, so it is telling you that 
your working tree is up to date with your own local branch.  There may 
be discussion about the use of one command "update" for these two 
distinct operations. (I know it sometimes trips me up.)

-Neil



More information about the bazaar mailing list