when I run hg commit, vim editor is opened and shows
HG: Enter commit message. Lines beginning with 'HG:' are removed.
HG: Leave message empty to abort commit.
HG: --
and shows some paths. What does that mean? what is the next step?
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.
You can enter any information about your commit there. The message you enter will be shown in commit history
hg log. You should briefly describe the changes made in your commits, because documented history is easier to track.The next step is to save the temporary file in the editor to finalize the commit:
:wq.To avoid spawning an editor, you can enter the commit message directly on the command line using the
-moption:hg commit -m "This is a commit message".