Lossy operations versus sharing revision data (was: Dulwich on Launchpad)
Jelmer Vernooij
jelmer at samba.org
Wed Mar 3 13:27:44 GMT 2010
On Wed, 2010-03-03 at 23:59 +1100, Ben Finney wrote:
> Jelmer Vernooij <jelmer at samba.org> writes:
> > On Wed, 2010-03-03 at 23:36 +1100, Ben Finney wrote:
> > > All of which can be inferred from the core issue: That a rebase
> > > operation is lossy. That's what's at the root of its problems. (At
> > > least, that's as I understand it from how it's been described to me
> > > many times here.)
> > The fact that a rebase operation is lossy isn't really problematic
> > unless you've already shared the rebased revisions.
> Thatw *is* the problem, though. It's a distinction that's only imposed by
> the use of lossy operations.
Sure.
> Such a distinction doesn't even need to be considered in the absence of
> lossy operations; every revision is then always consistent for sharing
> with others, so there's no need to know ahead of time which will be
> shared.
You can always pre-emptively dpush.
> > In this particular case it's my bad for sharing them before I had
> > dpushed them.
> If an operation makes it unsafe to share revisions with others, it seems
> counter to the purpose of a DVCS.
>
> In other words, I don't think it's your bad at all. I think the lossy
> operation itself is an attractive nuisance that needs to disappear.
Sure, I agree. But we don't have a place (yet) where we can store the
extra Bazaar metadata in Git. Until then, dpush is the only option.
But while dpush has its disadvantages and you have to remember to use
dpush first before pushing anywhere else, I don't see how
Alternatively, would having a 'git-compatible = True' setting in a
branch make sense? That way, dpush would never have to rebase since the
data that's not representable in git would be stripped out beforehand.
Cheers,
Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20100303/a40cc471/attachment-0001.pgp
More information about the bazaar
mailing list