bzr pull vs. bzr update

Juanma Barranquero lekktu at
Wed Dec 16 17:37:01 GMT 2009

The "Bzr For Emacs Developers" document at the Emacs Wiki
( describes a
recommended setup for Emacs developers after the switch to Bazaar.

The initial setup is as follows:

      cd $DEVHOME
      bzr init-repo --2a emacs/
      cd emacs/
      bzr branch
sftp://<membername> trunk/
      cd trunk/
      echo "public_branch =
sftp://<membername>" >>
      bzr bind sftp://<membername>
      cd ..

and then creating additional task branches for actual bug-fixing and developing:

      cd $DEVHOME/emacs
      bzr branch trunk/ quickfixes/


IIUC, following these steps the trunk/ directory is a checkout, and
bzr info agrees:

    C:\...\trunk> bzr info
    Repository checkout (format: 2a)
      repository checkout root: .
            checkout of branch:
             shared repository: C:/emacs/repo

    Related branches:
      public branch: s
      parent branch: s

However, references to updating the trunk/ directory on
BzrForEmacsDevs always use "bzr pull" and not "bzr update", for

      cd $DEVHOME/emacs/trunk/
      bzr pull
      bzr merge ../quickfixes
      bzr commit -m "Merge: fix bla bla bla (closes Bug #1)."

More information about the bazaar mailing list