Lan越しに使用する際の注意
最近、気がついたらバージョンががんがん上がってるBazaarですが、リポジトリとworking directory/sandboxを使う場合の事。
普通にbzr co/bzr branch/bzr checkoutをネットワーク越しにした場合、parent branchがLanになり、branch root が「.」になります。これじゃあ不都合がありまして、ネットワークを切るとcommitできません。面倒です。
ですので、「bind」コマンドを使えばbranchを切って、リポジトリー先を自身にする事ができます。これで、ネットワークを切断してもcommitできます。
注意としては、branchを切るのでmergeやらpullやらpushの必要が出ます。
[root@atom: ~/python][4:10] $ bzr info Standalone tree (format: pack-0.92) Location: branch root: . Related branches: push branch: /home/bzr/repository/python parent branch: /home/bzr/repository/python [root@atom: ~/python][4:10] $ bzr bind /home/bzr/repository/python [root@atom: ~/python][4:10] $ bzr info Checkout (format: pack-0.92) Location: checkout root: . checkout of branch: /home/bzr/repository/python Related branches: push branch: /home/bzr/repository/python parent branch: /home/bzr/repository/python [root@atom: ~/python][4:10] $