Dulwich on Launchpad

Jelmer Vernooij jelmer at samba.org
Tue Mar 2 18:44:30 GMT 2010


Hi Russel,

On 03/02/10 19:20, Russel Winder wrote:
> Jelmer,
>
> I branched Dulwich from lp:dulwich which gave me bzr
> +ssh://bazaar.launchpad.net/~vcs-imports/dulwich/trunk.  All I ever do
> is "bzr pull" since what I have should always be a mirror.  However I
> regularly get:
>
>          bzr: ERROR: These branches have diverged. Use the missing command to see how.
>          Use the merge command to reconcile them.
>
> My usual reaction is to remove the current branch and re-branch.  Today
> though I thought I would investigate.
>
>          |>  bzr missing
>          Using saved parent location: bzr+ssh://bazaar.launchpad.net/~vcs-imports/dulwich/trunk/
>          You have 1 extra revision(s):
>          ------------------------------------------------------------
>          revno: 465
>          git commit: bef15e295157b60cc9d3383257becc06f2e3a3f8
>          committer: Jelmer Vernooij<jelmer at samba.org>
>          timestamp: Sun 2010-02-28 18:46:33 +0100
>          message:
>            Fix memory leaks in error paths.
>
>
>
>          You are missing 3 revision(s):
>          ------------------------------------------------------------
>          revno: 467
>          git commit: 74fca0d0065da3c727d9d0e523342cc4a5d8b7f3
>          committer: Jelmer Vernooij<jelmer at samba.org>
>          timestamp: Sun 2010-02-28 18:46:33 +0100
>          message:
>            Fix memory leaks in error paths.
>          ------------------------------------------------------------
>          revno: 466
>          git commit: 921769dfb485afa6bae7e998dc3fd0147c6e0953
>          committer: Jelmer Vernooij<jelmer at samba.org>
>          timestamp: Mon 2010-03-01 20:24:35 +0100
>          message:
>            Change license of dul-web to GPLv2 or later, consistent with the rest of Dulwich. Thanks to Dave for licensing this as GPLv2+.
>          ------------------------------------------------------------
>          revno: 465 [merge]
>          git commit: b4495a08872e784b9967342265869eff99a83735
>          committer: Jelmer Vernooij<jelmer at samba.org>
>          timestamp: Sat 2010-02-27 17:16:29 +0100
>          message:
>            Add --pure option to setup.py.
>
> So there must have been a rebase that changed the structure.  This means
> "bzr pull" is not feasible as a way of following Dulwich.  So what is
> the official one liner that does the right thing?  Which in this case is
> I just want a mirror of what you have so I know when I have to
> reinstall.
>    
Yes, I occasionally rebase after the fact. This is mainly caused by my 
personal setup.

Using"bzr pull --overwrite" should make sure you always get the latest 
tip, never diverged branches errors.

Cheers,

Jelmer



More information about the bazaar mailing list