In CVS I could put $LOG$ into the source file and when the file is checked in $LOG$ will be expanded into true logs in the file.
But how to implement this in Mercurial? Of course I mean the other keyword such as the latest checkin date and time.
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.
For most of the problems keyword expansion solves it creates a whole heap more; isn’t recommended in Mercurial CVS/RCS-like Keyword Substitution – Why You Don’t Need It however it is documented how to do it with expansions if you really need to.
I’m not the only one to advise against keyword expansion, although there are times it can be useful one really needs to think hard before doing it.