make duplicate of a branch

Asked by Vy Nguyen

Hi,
Is there a way to create a new branch which is a duplicate of an existing branch?

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Max Bowsher
Solved:
Last query:
Last reply:
Revision history for this message
Best Max Bowsher (maxb) said :
#1

Could you clarify why you would want to?

If it's just so you can then continue development, uploading only the differences, then you don't need to do it that way - instead just:

bzr push --stacked-on=bzr+ssh://bazaar.launchpad.net/~owner-of/project/existing-branch lp:~you/project/new-branch

The new branch will share storage for common revisions with the existing branch.

Revision history for this message
Vy Nguyen (oontvoo) said :
#2

Thanks Max Bowsher, that solved my question.