Any chance for a dcommit command?
Jelmer Vernooij
jelmer at samba.org
Sun May 30 00:02:22 BST 2010
On Sat, 2010-05-29 at 18:39 -0400, Stefan Monnier wrote:
> > I find that it's really nice to have a bound branch when integrating
> > back into the mainline (it avoids the potential, uncommit, shelve,
> > pull, unshelve, re-commit, push dance... or the rebase dance,
> > whichever you prefer). Unfortunately, if you want to commit into a
> > foreign repo without the metadata, you can't use a bound branch. You
> > have to leave it unbound and use dpush. Are there any plans for a
> > dcommit command?
>
> I wonder: why would a dcommit be needed?
>
> Couldn't `commit' do the right thing (after all, contrary to `push',
> when you do `commit' on a bound branch, there's no pre-existing
> revision-id so you can really just pass the patch to the foreign DVCS
> and then only create the Bzr revision by pulling from the DVCS).
No, because dpush also removes certain information from the commit that
you might want to have roundtripped, such as revision properties, file
ids, author (as opposed to committer) information, etc.
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/20100530/630585fa/attachment.pgp
More information about the bazaar
mailing list