Command addremove

Matt Mackall mpm at selenic.com
Tue Nov 6 17:01:20 UTC 2007


On Tue, Nov 06, 2007 at 05:47:02PM +0100, Gaunet Sylvain wrote:
> HI
> 
>  
> 
> [gaunets at sgc2-ci compo]$ hg status
> 
> [gaunets at sgc2-ci compo]$ hg remove e
> 
> [gaunets at sgc2-ci compo]$ touch e
> 
> [gaunets at sgc2-ci compo]$ hg addremove
> 
> [gaunets at sgc2-ci compo]$ hg status
> 
> R compo/e
> 
>  
> 
> Could you confirm that is normal that the file e is still flagged as
> Removed despite the command addremove was passed ?
> 
>  
> 
> For me that's normal ...

Yes, addremove adds files in state "U" (unknown) and removes files in
state "!" (deleted, but still tracked). Files in all other states are
unaffected.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial mailing list