Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I check out only certain subfolders from a branch in Bazaar? Example:

Given the branch consisting of:

/myapp /myapp/doc /myapp/bin /my /myapp/bunch-o-crap

how do I create a versioned working copy of just

/myapp/doc /myapp/bin

share|improve this question
up vote 0 down vote accepted

You can't.

Distributed version control software like git, mercurial and bzr do work on the complete repository as a single unit. This is required for storing the history of moved files etc properly.

share|improve this answer
Yes, but once I have cloned or branched the repo, it must be possible to selectively create my working copy..? Or do I really have to have every single file in the entire repo in my working copy? – Frank Brenner Oct 28 '11 at 19:02
Ah, using 'bzr view' lets me only see the files I want to work with. – Frank Brenner Oct 31 '11 at 11:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.