In general, bzr push requires that the parent directory of the branch already exists. It seems we want it to behave differently for the supermirror? Perhaps it would be nice if bzr interactively gave you the option to try create parent directories?
$ bzr push sftp://bazaar.launchpad.net/~user/product/branch bzr: Cannot push: parent directory ~user/product does not exist Try to create it (y/n) ?
Another option would be a command line arg:
$ bzr push sftp://bazaar.launchpad.net/~user/product/branch bzr: Cannot push: parent directory ~user/product does not exist. Try --mkdirs.
$ bzr push --mkdirs sftp://bazaar.launchpad.net/~user/product/branch Pushing...
In general, bzr push requires that the parent directory of the branch already exists. It seems we want it to behave differently for the supermirror? Perhaps it would be nice if bzr interactively gave you the option to try create parent directories?
$ bzr push sftp:// bazaar. launchpad. net/~user/ product/ branch
bzr: Cannot push: parent directory ~user/product does not exist
Try to create it (y/n) ?
Another option would be a command line arg:
$ bzr push sftp:// bazaar. launchpad. net/~user/ product/ branch
bzr: Cannot push: parent directory ~user/product does not exist. Try --mkdirs.
$ bzr push --mkdirs sftp:// bazaar. launchpad. net/~user/ product/ branch
Pushing...