recursively brach all repositories in shared repository

Asked by Timmie

Hello,

what is the most efficient way to branch/checkout all repositories contained within in shared repository to a local computer?

Thanks and kind regards,
Timmie

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
ViktorNagy (viktor-nagy) said :
#1

Hi,

my guess would be that the best way is to create a shared repo locally as well, and then check out every branch one-by-one. AFAIK, there is no command to check out every branch of a shared repo at once.

Viktor

Revision history for this message
Vincent Ladeuil (vila) said :
#2

Viktor is correct, there is no way to copy all branches existing below a given repository.

Yet, the bzrtools plugin provides the 'bzr branches' command that may help you build a script to achieve that.

Can you help with this problem?

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

To post a message you must log in.