how to squash commits
Steve Borho
steve at borho.org
Sun Apr 12 09:41:55 CDT 2009
On Sun, Apr 12, 2009 at 7:08 AM, Greg Ward <greg-hg at gerg.ca> wrote:
> On Sat, Apr 11, 2009 at 7:27 PM, Ondrej Certik <ondrej at certik.cz> wrote:
>> It's how I work with git, so I wanted to do the same in mercurial.
>
> Careful! Git and Mercurial are close in some ways, but far apart in
> others. If you try to program in Python the same way you program in
> Perl, then you might be productive at first, but you'll run into
> trouble sooner or later. Same thing with VC system. Best to learn
> the idioms.
>
>> hg up -C default
>> hg vi
>>
>> and the hg vi doesn't even show your branch names and which branch
>> contains what (gitk does that).
>
> Side note: there's a nicer GUI for Mercurial at
> http://www.logilab.org/project/hgview . It's still not as awesome as
> qgit, but it's better than "hg view".
and http://bitbucket.org/tortoisehg/stable/wiki/hgtk
--
Steve Borho
More information about the Mercurial
mailing list