[RFC] Enforcing a "linear" repository by first parent?

Ted Pavlic ted at tedpavlic.com
Thu Mar 19 14:31:45 CDT 2009


> Less smart-alecky response: embrace the brave new world.  Branches and
> merges happen all the time, so why not let your history reflect that?
> Use rebase if you don't want so many silly little merge changesets.

You could even put (in ~/.hgrc or the repo-specific hgrc's)...

[defaults]
pull = --rebase

[extensions]
hgext.rebase =

Then tell everyone to do an "hg pull" before every push. That should go 
a long way to getting rid of un-meaningful merges (and it still allows 
for meaningful merges),

--Ted

-- 
Ted Pavlic <ted at tedpavlic.com>

   Please visit my ALS association page:
         http://web.alsa.org/goto/tedpavlic
   My family appreciates your support in the fight to defeat ALS.


More information about the Mercurial mailing list