A branch from a sub-directory?

Matthew D. Fuller fullermd at over-yonder.net
Sun Feb 15 16:02:59 GMT 2009


On Sun, Feb 15, 2009 at 04:07:41PM +0200 I heard the voice of
Marius Kruger, and lo! it spake thus:
> 2009/2/15 Gioele <gioele at svario.it>
> 
> > Is there a way to create a branch from that directory without
> > bringing in the complete history of the previous branch but only
> > the history of files in that subdirectory?
> 
> maybe `bzr split ...` would do the trick for you:

No, split will have the full history.  It just automates the grunt
work of doing so.

You can't have a new branch with the same revisions and without all
the files' history.  The only option is to create a new, similar
history, with just those files, and new revisions.  There's been some
work on tools to automate that, but I don't know what shape they're
in.


-- 
Matthew Fuller     (MF4839)   |  fullermd at over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.



More information about the bazaar mailing list