"hg up -C" is also evil - ;-)

Kevin Bullock kbullock+mercurial at ringworld.org
Fri Nov 5 14:55:49 UTC 2010


On 5 Nov 2010, at 7:12 AM, Marko Käning wrote:

> Yesterday I issued the command
> 
> 	$ hg up -C
> 
> actually believing that local changes would be moved into *.orig prior to 
> the clean update of my working copy.
> 
> But I was wrong! In many other cases local changes will be preserved with 
> *.orig files or additional warning messages will be thrown, but obviously 
> not with a clean update...

-C == --clean, which would indicate to me that any uncommitted work will at least be at _risk_ of disappearing. It would seem to make sense to write *.orig files though.

pacem in terris / mir / shanti / salaam / heiwa
Kevin R. Bullock

> Is this intentional?
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial




More information about the Mercurial mailing list