Mercurial, how to remove file from repository?

12,925

See the Mercurial FAQ:

  • 4.14. I committed a change containing nuclear launch codes, how do I delete it permanently?
  • 4.15. I committed a large binary file/files, how do I delete them permanently?

There are some options described on the Editing History page as well.

Share:
12,925
Alexandr Sharamko
Author by

Alexandr Sharamko

Updated on June 04, 2022

Comments

  • Alexandr Sharamko
    Alexandr Sharamko about 2 years

    I push in our repository more big video files, my fault, I did not notice them and forgot to add the folder with the video to ignore file. Now my friends can not upgrade because a shortage of memory (abort: out of memory). How do I remove a video from the master repository? I tried to just delete the folder with the video in /home/hg/project/.hg/ But then do not start updating with an error. Help me pliz and sorry for my english/