More bzr hacking
I've extended bzr-establish to give it a new command: hack.
'bzr hack lp:foo' will create a repository with working trees called 'foo' and fetch the lp:foo branch into that repository.
'bzr hack --repository ~/repos lp:foo' will create a repository in '~/repos/foo', a working tree area in 'foo', fetch the branch into the repo and make a light-weight checkout in the working tree area.
You can also specify a non-Launchpad branch, e.g. 'bzr hack http://example.com/some/branch/trunk foo'. This will make a repository called 'foo', put the branch in there and... well, you get the picture.
The plugin lives at lp:~jml/+junk/bzr-establish. It's buggy, not particularly well tested and rough as guts. Still, it's worth a play.

2 Comments:
Tell you what: make a real Launchpad project out of it so that I have somewhere to report bugs, then I'll have a play ;)
Bugger that!
I want someone to tell me it's not a terrible idea first. (Also, I'm thinking about petitioning abentley to add them to bzrtools)
Post a Comment
<< Home