/srv/irclogs.ubuntu.com/2018/05/25/#bzr.txt

=== margeas is now known as markong
Lucifer_armaok, so, I have a subdirectory in a bzr branch that I need to spin off as its own separate branch by itself, with none of the history from the project it came from23:53
Lucifer_armahow do I do that?23:53
Lucifer_armakeeping the history isn't terribly important, so I could just delete the .bzr directories and go from there, but I'd rather keep the history if I could23:54
fullermdThere's a 'split' command, that I believe creates a new branch with the subdir's history.23:54
fullermd(obviously all the revs are different, but...)23:54
Lucifer_armamaybe I've done something wrong, then?  I tried that.  :)23:55
Lucifer_arma$ bzr branch dswc/src davecrm23:55
Lucifer_armabzr: ERROR: Not a branch: "/home/dave/Projects/dswc/src/.bzr/branch/": location is a repository.23:55
Lucifer_armaand this:23:56
Lucifer_arma$ bzr status23:56
Lucifer_armabzr: ERROR: No WorkingTree exists for "file:///home/dave/Projects/dswc/src/.bzr/checkout/".23:56
Lucifer_armabzr info tells me it's an unshared repository23:56
fullermdWell, you're doing at least two things wrong then   :)23:56
fullermdI blame Friday.23:57
Lucifer_armaheh, ok.  So what am I doing wrong?23:57
fullermdFirst you'd need a branch with a WT to do the split in.  Probably a scratch copy, not your main one.23:58
Lucifer_armaok, there actually is a working tree in this branch.  I made a copy by branching in the first place :)23:58
fullermd'k.  So see what you get from running split on the subdir.23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!