Can I use a heavyweight checkout to build a new repo?

Carlos Mundi cmundi at gmail.com
Wed Aug 8 16:11:02 UTC 2012


Ah, bummer.  Thank you, Max.  Well, I guess I need to go touch the server.
Several lessons learned here.  Thanks for all your help!
 On Aug 8, 2012 12:22 AM, "Max Bowsher" <_ at maxb.eu> wrote:

> You should keep the bazaar mailing list on cc, to avoid unnecessarily
> limiting your audience of potential help.
>
> Unfortunately, based on your 'bzr info' output, I conclude that you
> actually had a lightweight checkout, not a heavyweight one.
>
> That being the case, it stores no history, so can't help you here.
>
> Max.
>
>
> On 07/08/12 03:39, Carlos Mundi wrote:
> > Unfortunately, it appears that I cannot unbind my checkout now that the
> > repo is gone!
> >
> > $ *pwd*
> > /home/cmundi/project
> > $ *bzr info*
> > Dangling branch reference (format: 2a or pack-0.92)
> > Location:
> >    control directory: .
> >   checkout of branch: /var/repos/project/trunk/
> > $ *bzr unbind*
> > bzr: ERROR: Not a branch: "/var/repos/project/trunk/"
> >
> > So I am not surprised that push fails with the same message.
> >
> > I guess my question should be, how can I cut off a dangling branch
> > reference.  Searching docs, bit not much luck yet...
> >
> > Thanks,
> > Carlos
> >
> >
> > On Mon, Aug 6, 2012 at 3:08 PM, Max Bowsher <_ at maxb.eu
> > <mailto:_ at maxb.eu>> wrote:
> >
> >     On 06/08/12 22:39, Carlos Mundi wrote:
> >     > Suppose I accidentally destroyed a repo.  And suppose no backup is
> >     > conveniently within reach.  But I do have a heavyweight checkout,
> >     which
> >     > should have all of the information since the last time the checout
> was
> >     > updated from the repo.  Is there a way to populate a new repo from
> the
> >     > checkout and preserve all of the history that the checkout knows?
> >
> >     Try 'bzr push <destination>' to transfer a copy of the local data to
> a
> >     new branch-and-repo elsewhere, and 'bzr unbind' to tell the checkout
> to
> >     remove its association with the destroyed remote branch, becoming a
> >     standalone branch itself.
> >
> >     Max.
> >
> >
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20120808/70f4da5d/attachment.html>


More information about the bazaar mailing list