Add all unmonitored files at once

$ hg status M ... M ... M ... ? ... ? ... ? ... 

I need to add all unmonitored (? Marked) files. Is it possible? I can do "hg add *", but I get a lot of unwanted "already tracked file" messages.

+43
mercurial
Oct 31 '10 at 18:39
source share
1 answer

Just use hg add without *

When no files are given, it adds all unprocessed files == all files with ? front output hg status

Files that are ignored due to .hgignore will not be added by hg add whithout by file names.

+80
Oct. 31 '10 at 18:41
source share
— -



All Articles