hg import -f commits files that aren't in the patch.

Matt Mackall mpm at selenic.com
Tue Jul 16 01:49:53 CDT 2013


On Sat, 2013-07-13 at 13:51 -0500, Rob Landley wrote:
> Dear Princess Celestia:
> 
> The hg import -f command does a checkin -a, meaning it sucks in changes  
> to
> unrelated files in the tree.

Perhaps you're under the misapprehension that --force refers to the
magical energy field that permeates all living things and surrounds us
and penetrates us and binds the galaxy together and makes some people
good with lightsabers. This is actually uppercase --Force.

Sadly, --force refers to the much more mundane 'force' in the sense of
'it was stuck for some reason, so I tried to force it, then it broke and
I cut myself in the process, and now I feel like an idiot and have no
one to blame but myself.'

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial mailing list