[MERGE] dpush / foreign vcs testing
Russel Winder
russel.winder at concertant.com
Sat Apr 4 10:58:53 BST 2009
On Sat, 2009-04-04 at 04:13 +0200, Jelmer Vernooij wrote:
> Stefan Monnier wrote:
> >> I would expect this to be an option for ‘push’. Suggestions:
> >> ‘push --foreign-clean’
> >> or
> >> ‘push --foreign-only’
> >>
> >
> > I'm not sure if I understand correctly what it does, but isn't it the
> > case that it takes the state at the tip of the branch and commits it to
> > some other branch (in the case og bzr-svn, it's a foreign branch),
> > losing all the metadata along the way?
> >
> > If so, it's as much a "push" as a "commit".
> >
> It pushes it each individual revision that is missing from the remote
> branch; it does not just take a snapshot of the last revision and
> commits that. The sort of metadata it loses for bzr-svn are: committer,
> revision properties, file ids, revision id, parent ids (unless they
> exist in svn already in which case svn:mergeinfo is set).
Also there is a rebase so that the branch from which the dpush
originates is changed by the dpush. This is totally alien to what a
push does so using a separate command name and not an option to push
seems like the right thing to do.
Given that is Git there is:
git commit
but
git svn dcommit
then having dpush and push for bzr-svn always struck me as an entirely
reasonable labelling.
Of course the way Git does these things is very different to the way
Bazaar does these things -- details available on request to those not
familiar with all this -- so having a different labelling in Bazaar is
another reasonable option.
--
Russel.
============================================================
Dr Russel Winder Partner
Concertant LLP t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road, f: +44 8700 516 084 voip: sip:russel.winder at ekiga.net
London SW11 1EN, UK. m: +44 7770 465 077 xmpp: russel at russel.org.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090404/7baad22e/attachment.pgp
More information about the bazaar
mailing list