Parent Branch information lost in Heavy-Weight Checkout

Asked by TimeHorse

When I did a regular (heavy-weight) checkout of a repository that I previously branched and merged onto Launchpad, the checkout does not have a Parent.

Steps:

$ bzr branch lp:project
$ cd project
$ bzr push sftp://bazaar.launchpad.net/~me/project/foo
$ cd ..
$ rm -rf project
$ bzr checkout sftp://bazaar.launchpad.net/~me/project/foo
<wait wait wait>
$ cd foo
$ bzr info
Checkout (format: rich-root-pack)
Location:
       checkout root: .
  checkout of branch: sftp://bazaar.launchpad.net/%7Eme/project/foo/

Expected:

$ bzr info

Location:
       checkout root: .
  checkout of branch: sftp://bazaar.launchpad.net/%7Eme/project/foo/

Related branches:
  parent branch: http://bazaar.launchpad.net/project

How do I restore my parent information in my checkout?

Question information

Language:
English Edit question
Status:
Answered
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Martin Pool (mbp) said :
#1

If you specify --remember the next time you do e.g. a merge or pull, that will set the parent location.

Can you help with this problem?

Provide an answer of your own, or ask TimeHorse for more information if necessary.

To post a message you must log in.