confused by repositories
Robert Collins
robertc at robertcollins.net
Thu May 11 02:51:14 BST 2006
On Thu, 2006-05-11 at 11:43 +1000, Jamie Wilkinson wrote:
> This one time, at band camp, Robert Collins wrote:
> >So the compromise is that you can tell bzr you're offline, and if you
> >forget to tell bzr it assumes you are online and attempts to push.
>
> Ok. I can cope with bzr assuming I'm online, and pushing; I guess what I'm
> really interested in is what's going to happen if I'm offline and it tries
> to push -- will the whole commit fail or will it behave as if I've used
> --local?
It will fail. ('bind' is the low level command used to make 'bzr
checkout' work - it enforces a commit-to-shared-branch-first workflow).
> Back in the day, I had a post-commit hook in baz and tla that would call
> archive-mirror, and if I was offline it'd just fail the push noisily, but
> next online commit it'd push up all the changes. That's a scenario I'm
> happy with.
You can do that too if you prefer. Just add a post commit hook that does
a push.
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060511/fdea56a8/attachment.pgp
More information about the bazaar
mailing list