branch should have a --use-existing flag

Bug #286892 reported by Dan Watkins
2
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Medium
Unassigned

Bug Description

When branching an SVN branch, I often run out of memory. If I'm running the branch in a shared repository, then I can recover the progress to that point without difficulty, but not so if I'm using a standalone branch. This flag should remedy that.

Tags: branch
Revision history for this message
John A Meinel (jameinel) wrote :

Isn't 'bzr pull' the appropriate solution for "I already have a branch and I want to get more revisions into it" ?

Changed in bzr:
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Martin Albisetti (beuno) wrote :

This is a different use case, but if I have a dir, and I want to use it as the branch, well, --use-existing would be neat.

Revision history for this message
Matthew Fuller (fullermd) wrote : Re: [Bug 286892] [NEW] branch should have a --use-existing flag

> This flag should remedy that.

This used to exist in --basis, but was removed in 0.16 for various
reasons. See e.g. bug 53675.

--
Matthew Fuller
<email address hidden>

Revision history for this message
Dan Watkins (oddbloke) wrote : Re: [Bug 286892] Re: branch should have a --use-existing flag

On Tue, 2008-10-21 at 14:02 +0000, John A Meinel wrote:
> Isn't 'bzr pull' the appropriate solution for "I already have a branch
> and I want to get more revisions into it" ?
The issue here is that bzr (or perhaps bzr-svn, I'm unsure) pulls the
revisions into .bzr/repository before .bzr/branch is created. When the
process is interrupted, as an OOM does, then there isn't a branch to
continue from, and some hackery has to happen in order to use the
existing repository. Doing 'bzr init' followed by a 'bzr pull
<LOCATION>' seems to work, as does moving .bzr/repository into a fresh
shared repo's .bzr/repository. Neither of these is ideal...

Jelmer Vernooij (jelmer)
Changed in bzr:
status: Incomplete → Triaged
Vincent Ladeuil (vila)
Changed in bzr:
status: Triaged → Confirmed
Jelmer Vernooij (jelmer)
tags: added: branch
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
Jelmer Vernooij (jelmer)
tags: removed: check-for-breezy
Changed in bzr:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.