bazaar performance with single large project and a comparison with?git / mercurial
Stefan Monnier
monnier at iro.umontreal.ca
Fri Apr 25 03:50:47 BST 2008
>> In git, I approximate this by committing as soon as I see the
>> unrelated typo, then committing the typo fix, then cleaning things up
>> ex-post by cherrypicking. (My apologies to Stefan ... I really
>> oughtta have this hooked into diff-mode somehow! :-)
Actually, you did submit some diff-mode extension to manage patch-sets.
It's been in my todo list for .... let's just say "a long time".
> In git I do it using git-gui, which makes it trivial. Though it would be
> nice to have an even greater granularity than hunk level and allow
> individual lines to be included/excluded from the commit. Sometimes a hunk
> encompasses things you want and don't want. Bug #185764 has that idea noted
> too...
For what it's worth, I have a pending change for VC (been pending for
several years already) where I do M-x vc-prepare-for-partial-commit RET
which copies to current file to some temp file, then I can modify the
file all I want (e.g. with diff-mode plus reverting some hunks,
including doing it at a finer granularity) and upon commit the saved
temp file is copied back, so you can then commit the left over changes
(or part of it, again). It's very simple but works wonders for me.
I much prefer it to darcs since I can choose changes at a much finer
granularity than hunks, with the full power of my editor.
Stefan
More information about the bazaar
mailing list