How to chnage the URL after a branch location change

John Yates jyates at netezza.com
Tue Oct 6 15:34:22 BST 2009


Jonathan Lange wrote:

> >    bzr init-repo --trees project
> >    cd project
> >    bzr branch <URL> upstream
> >    bzr branch upstream local
> >    ... work
> >    ... then one day the original <URL> moves to another location
> >
> > How do I make the 'upstream' to point to a new <URL> location for pull 
> > operations?
> 
> cd upstream
> bzr pull --remember <NEW_URL>

Interesting that recording a <NEW_URL> is exposed as a side effect of pull.  What if I receive notification of a changed URL and want to act on that information before it slips my mind but am not ready to perform a pull?  Am I reduced to piercing the abstraction and editing .bzr/branch/branch.conf directly?

How will Explorer handle this use scenario?

/john



More information about the bazaar mailing list