I’m trying to include an older version of some lib into a new project. Is there a way to notify the current repository that I only need specific revision of other library, and not the tip?
Share
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.
In newer versions of Mercurial there is the concept of sub-repositories or subrepos, and there is an .hgsubstate file in the base directory of a project that records which version of each subrepo is the one that’s being used. That should solve your problem if the other library is maintained in a Mercurial repository.