termie / git-bzr-ng

bi-directional git to bzr bridge: never fear bzr again
BSD 3-Clause "New" or "Revised" License
198 stars 47 forks source link

New bzr init subcommand, and rename handling #18

Closed niemeyer closed 13 years ago

niemeyer commented 13 years ago

These changes introduce a new "git bzr init" subcommand which enables starting the development process within git, and thus enabling one to push brand new branches into Launchpad.

Without further arguments, "git bzr init" will initialize the bzr/ tracking branch for the current branch (including master), otherwise, it initializes the bzr/ tracking branch for the named target.

In addition to that, it also adds the -M flag to git fast-export, so that renames are properly considered by bzr.

termie commented 13 years ago

looks awesome, thanks :) will merge momentarily

niemeyer commented 13 years ago

Thanks!

termie commented 13 years ago

merged, added some tests (they'd be nice if you want to include them when you contribute in the future) and had to remove the init based on a branch because it wasn't working correctly, but you get the same effect by using 'master' all the time:

https://github.com/termie/git-bzr-ng/commit/9eb799199551edf8d6ace82e0d1502fb29d84532

niemeyer commented 13 years ago

That's awesome, thanks, and sorry for the lack of tests.