[PATCH 1 of 2] push: hide description about "-f" in the hint to prevent from using it easily

Kevin Bullock kbullock+mercurial at ringworld.org
Thu Sep 5 20:12:09 CDT 2013


On 29 Aug 2013, at 7:47 AM, Angel Ezquerra wrote:

> I would change:
> 
> "see "hg help push" for detail about pushing"
> 
> into:
> 
> "see "hg help push" for detail about pushing multiple heads"
> 
> On the hg push --help text I would also explicitly say that pushing
> multiple heads is usually a mistake and should not be done unless
> extrictly necessary.

Currently when you're using bookmarks, push --force is the _only_ way to get a new head pushed even if it's bookmarked. So until I get back to that patch that allows push -B to create new heads (*cough*), I'm -1 on this. I'm also not keen on any reference to an "administrator" or "management policy" of the remote repo; these are insufficiently general terms for a distributed environment where anyone can trivially set up a repo that others can push to. I might go for something about checking with the "owner" of the remote repository.

</bikeshedding>

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock



More information about the Mercurial-devel mailing list