<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 10/20/2011 07:06 AM, John Meinel wrote:
<blockquote
cite="mid:CAHE3fn5SJJe=uvZnXXXLRT9W_W0zi7bqt8+18_=3GnYTj9ktRg@mail.gmail.com"
type="cite">
<p>Does dpush recognize multiple pushes? If I commit A B in one
branch, switch to branch 2 and commit C D. Then I dpush branch
1, and then branch 2. Will branch 2 on the remote side share
history with branch 1?</p>
</blockquote>
It depends. If you're pushing to a git or hg repository then they
will share history (same contents, so the revisions will have the
same shas). If you're pushing to a svn repository then they won't,
because the revision id will depend on the repository uuid and
revision number which will be different.<br>
<br>
Cheers,<br>
<br>
Jelmer<br>
<br>
<blockquote
cite="mid:CAHE3fn5SJJe=uvZnXXXLRT9W_W0zi7bqt8+18_=3GnYTj9ktRg@mail.gmail.com"
type="cite">On Oct 20, 2011 2:01 AM, "Jelmer Vernooij" <<a
moz-do-not-send="true" href="mailto:jelmer@samba.org">jelmer@samba.org</a>>
wrote:<br type="attribution">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
On 10/19/2011 05:38 PM, Eli Zaretskii wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Date: Wed, 19 Oct 2011 17:19:39 +0200<br>
From: Jelmer Vernooij<<a moz-do-not-send="true"
href="mailto:jelmer@samba.org" target="_blank">jelmer@samba.org</a>><br>
CC: <a moz-do-not-send="true"
href="mailto:bazaar@lists.canonical.com" target="_blank">bazaar@lists.canonical.com</a><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Isn't it true that bzr-git does not yet support "push",
only "dpush"?<br>
</blockquote>
Yes, but that works pretty well too. I've been using it
for all my<br>
contributions to Samba for the last year or so.<br>
</blockquote>
Btw, as long as we are talking about this -- could you
explain the<br>
difference between these two commands? The documentation
just says<br>
laconically "without any custom bzr metadata", which sounds
like only<br>
the plain diffs are sent upstream, is that true? If so,
what happens<br>
to the history of my local branch if I merge from another
branch and<br>
then dpush?<br>
</blockquote>
"bzr push" is lossless, it either fails or preserves all data
that is present in your local branch.<br>
<br>
"bzr dpush" is lossy, and pushes only data that can be
represented natively in the remote format. This for example
means that if the target format doesn't0 a concept of authors
(versus committers), then author information will discarded
(as is the case with svn). For git this means that revision
properties (such as the data specified with "bzr commit
--fixes...") are discarded)<br>
<br>
dpush will update your local branch to contain the same
history as the remote branch, unless you specify --no-rebase.
This means that after the dpush operation it will have a
diverged history from that of branches which have not been
stripped of unrepresentable data (in other words, branches
which have not been dpushed).<br>
<br>
Cheers,<br>
<br>
Jelmer<br>
<br>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>