I am looking to remove a directory from local and central repository. I managed to do it locally by
hg remove name_directoriy
hg commit
However, after pushing my changes to the central repository the deleted folder is still in the central repository while it is gone locally.
How to remove directory in central repository?
Thank you
p.s. with ‘remove’ i mean that it does not appear but still it is in the history
If you mean that you want to remove it from the history on the central repository, the answer is that you can’t – that’s not how version control works.
If you mean that your remote repository has a working directory that you want the file(s) to disappear from, then you probably need to run
hg updateon that remote repo.