$ hg status
M ...
M ...
M ...
? ...
? ...
? ...
I need to add all not tracked (? marked) files. Is it possible?
I can do “hg add *” but I will get many messages unwanted ‘file already tracked’.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just use
hg addwith no*.When no files are given, it adds all untracked files, that is, all files with
?in front of the output ofhg status.Files that are ignored because of
.hgignorewill not be added byhg addwithout filenames.