Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm having problems removing a file from TortoiseHg.

I make the clone, and there are a few test files which I want out. What is the procedure for removing a file from the repository?

share|improve this question

If you are using the GUI, you can right click on your local directory and choose repository explorer to see what the branches look like. Then, you will want to remove the files locally, and then next time you commit and push changes they will be gone. To do this you would right click on the files you want to remove and choose "remove." It may prompt you to confirm this "clean." Then, commit and push changes. When you finsih this, log into your repository (i.e,, kiln) and confirm your changes.

If you want to do this through the command line, type:

hg -? in Windows to see list of commands. Or, type:

hg --help in Linux for the help list.

share|improve this answer
thanks nicorellius, got there eventually. Found it via, right click, tortoisehg, then remove files. picked off the ones I didnt need and then synchronized with a push and i then had a new changeset with the right files i wanted to be there. relief! – bergin May 30 '10 at 1:29
Good to hear. Choose as correct answer if it solved your problem! Take care ;--) – nicorellius May 30 '10 at 5:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .