[RFC]: loom: up-thread should 'rebase' if the thread hasn't been pushed.
John Arbash Meinel
john at arbash-meinel.com
Mon Jun 22 15:23:51 BST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Aaron Bentley wrote:
> Robert Collins wrote:
>> Actually, rebase is the wrong term, but it captures the idea: 'bzr
>> up-thread' should do a history edit, like rebase does, when the thread
>> that is being moved onto has not been published.
>
>> In a loom, when one does 'bzr record', the tips of the threads are
>> captured, much like a bzr tree is captured by 'bzr commit'. With a
>> record being done, loom can be [fairly] sure that the contents haven't
>> been pushed. Likewise, merge from that loom won't see unrecorded tips or
>> threads.
>
> I don't understand what you mean. I don't know how you're defining
> published. The same thing as pushed? I don't understand why a record
> being done suggests that the contents haven't been pushed. I would
> think that once record has been done, it's very likely for the contents
> to be pushed.
>
I'm pretty sure he inverted the logic, and meant to say "if record
*hasn't* been done, then you can be [fairly] sure that the content
haven't been pushed".
> If you're thinking of rebasing until "loom record" is issued, please
> bear in mind that many loom users, including me, never run loom record.
>
>> My thinking is that by automatically determining whether to do
>> rebase-style integration, loom could offer the very lightweight 'your
>> commits float' style workflow and seamlessly transition into the 'your
>> commits are branches derived-from earlier branches' that is needed for
>> merge-preserving history-presentation.
>
> What's the advantage of providing a new 'your commits float' mode?
>
> Aaron
For people who prefer the 'clean history' that 'your commits float'
provides.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAko/k/cACgkQJdeBCYSNAAODswCeJRMKHWhA2EvcSlXbOvnS+nMe
6WgAniGwy2LxUnTmqbWIPPIzqBd/uiyz
=es3L
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list