Is there a way to mark a file; not a commit or should I say, not the whole commit; but only some file within some commit in Mercurial?
Apart from the method of just writing the name of the file in the commit message, of course.
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.
Right, let’s make an attempt at an answer, based on the info provided.
Mercurial is not a file-based VCS, it’s change-based VCS. In other words it doesn’t know that you changed fileA or fileB, all it know is that you made a changeset X. So there is, unfortunately, no way to “mark” a particular file.
As an alternative solution I’d suggest creating a “tag” (see here) on currently commited/pushed changeset when you send out a file, maybe formatting tagname to identify the file you have sent out.