In the answer to this question on the kiln stack exchange site, there is a comment that mentions "if you commit from one consumer of the library, the other library consumers do not immediately see those changesets. You have to explicitly pull the changes on the library repo in other consumers."
i have added a few files to a repository which is referred to in a projects .hgsub & .hgsubstate files, but they are not showing up in the projects subrespository (because the project is quite rightly using the previous change-set it was earlier assigned)
I'd like to know how to edit which changeset a subrepo uses. do I just edit the .hgsubstate file (seems a little "hackish") or is there a command / kiln website option I can use?
In the subrepository,
hg update
to the changeset you want the main repository to use. Then, in the main repository, issuehg ci
to commit the subrepository change. Mercurial will automatically update the.hgsubstate
file with the current parent changeset ID of the subrepository.Example (Windows .bat file):