why is fetch unloved

Augie Fackler raf at durin42.com
Fri Nov 2 21:29:53 UTC 2018



> On Nov 2, 2018, at 16:20, Uwe Brauer <oub at mat.ucm.es> wrote:
> 
>>>> "Augie" == Augie Fackler <raf at durin42.com> writes:
> 
>>> Perhaps because it may implicitly run a "hg merge" command?  And this --
>>> at least in my book --  should only be done  by people knowing what they
>>> are doing.
>>> 
>>> Just guessing, though.
> 
>> Yep, that's pretty much it.
> 
> Well, I agree in principle, but on the other hand, if you use mercurial
> not for a software project, but for document sharing, you may find
> users, who are either unwilling or unable to really learn mercurial. I
> recently had several issues with my collaborators, because they pulled
> but forgot to merge and couldn't push. For these users, I think fetch is
> a great help, besides (no flamewar intended), but doesn't git do
> precisely this, that is:
> 
> Isn't  «git pull»  basically a «hg fetch»?

Yes, and I've heard regular advice to never run `git pull` from git enthusiasts for exactly this reason, or if you insist to always use `git pull --rebase`.

> _______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial




More information about the Mercurial mailing list