[issue1833] hg incoming could warn about new heads if pull

Rafael Fernández López bugs at mercurial.selenic.com
Tue Sep 15 19:18:51 UTC 2009


New submission from Rafael Fernández López <ereslibre at gmail.com>:

The idea is that someone tells me that he has a really nice feature I have 
to pull from, and he accidentally (for instance) created new heads on his 
repository, I have the next workflow:

hg in whoever -- overview of the changes
hg in -p whoever -- a bit more in-depth
hg pull whoever -- oh no ! new heads and I didn't hack on the code
hg rollback -- go and blame whoever asked me to pull

So basically, "hg in" could inform that if you run "hg pull", it will add X 
heads to the local repository. This way we don't have the need to pull & 
rollback.

Obviously this does not include the implicit head created when you have 
divergent changes than the other person. In this case, obviously it is 
perfectly fine to have +1 head, since your "history" is not shared, and it 
needs action from your side (merging or whatever). The only problem is when 
the new heads are coming entirely from the repository being pulled.

----------
messages: 10511
nosy: ereslibre
priority: wish
status: unread
title: hg incoming could warn about new heads if pull

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue1833>
____________________________________________________



More information about the Mercurial-devel mailing list