=== margeas is now known as markong | ||
Lucifer_arma | ok, 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 from | 23:53 |
---|---|---|
Lucifer_arma | how do I do that? | 23:53 |
Lucifer_arma | keeping 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 could | 23:54 |
fullermd | There'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_arma | maybe I've done something wrong, then? I tried that. :) | 23:55 |
Lucifer_arma | $ bzr branch dswc/src davecrm | 23:55 |
Lucifer_arma | bzr: ERROR: Not a branch: "/home/dave/Projects/dswc/src/.bzr/branch/": location is a repository. | 23:55 |
Lucifer_arma | and this: | 23:56 |
Lucifer_arma | $ bzr status | 23:56 |
Lucifer_arma | bzr: ERROR: No WorkingTree exists for "file:///home/dave/Projects/dswc/src/.bzr/checkout/". | 23:56 |
Lucifer_arma | bzr info tells me it's an unshared repository | 23:56 |
fullermd | Well, you're doing at least two things wrong then :) | 23:56 |
fullermd | I blame Friday. | 23:57 |
Lucifer_arma | heh, ok. So what am I doing wrong? | 23:57 |
fullermd | First you'd need a branch with a WT to do the split in. Probably a scratch copy, not your main one. | 23:58 |
Lucifer_arma | ok, 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!