How to edit incorrect commit message in Mercurial? [duplicate]

Update: Mercurial has added –amend which should be the preferred option now. You can rollback the last commit (but only the last one) with hg rollback and then reapply it. Important: this permanently removes the latest commit (or pull). So if you’ve done a hg update that commit is no longer in your working directory … Read more

Mercurial Subrepos – How do you create them and how do they work?

You could probably try this stuff out and learn it more quickly than writing up your question took, but I’ll bite. Can any or all of these steps be executed with TortoiseHG, as of version 0.9.2? If yes, how? TortiseHG doesn’t yet put GUI wrappers around sub-repo creation, but TortiseHG has always done a great … Read more

how to ignore files in kiln/mercurial using tortoise hg “that are part of the repository”

I always use a combination of .hgignore and BeforeBuild (in the .csproj file) for things like this. In one of my pet projects, I have the following setup: App.config contains my real hardcoded user id and password for testing. App.config.example is identical, but with fake data like “dummy_user” and “dummy_pw”. App.config is not part of … Read more