What to do if VC-ROOT changes after checkout?

Jari Aalto jari.aalto at cante.net
Sat Nov 18 15:15:19 GMT 2006


"Erik Bågfors" <zindar at gmail.com> writes:

> On 18 Nov 2006 16:26:36 +0200, Jari Aalto <jari.aalto at cante.net> wrote:
> >
> > Suppose this:
> >
> >         Person (b):
> >         $ checkout VC-ROOT
> >         $ ... update, commit, fo work
> >
> > Now suppose that the original location VC-ROOT no longer exists. The
> > maintainer(a) had decided that the directory location is now elsewhere.
> >
> > Person(b) has uncommitted changes, but is unable to ci, because (a)
> > has changed the directory location.
> >
> > If there were:
> >
> >         bzr admin --checkout --new-url <new location>
> >             =====
> >             For other admin type command now and in the future.
> >
> > This would just do the right thing and person b could continue as usual
> > after the pointer to checkout location had been updated.
> >
> > But now, what can be done to achieve same effect? What file in .bzr/
> > shoudl be changed?
> >
> 
> If this is a standard checkout, you can do
> bzr unbind
> bzr bind new_url

In this case, it's "co --lightweight". Other suggestions?

Jari





More information about the bazaar mailing list