mercurial - How to get changes to .hgignore honored in remote repo -


i pushed changes mercurial repo (the remote server) , realized .hgignore misconfigured, files (binaries, etc.) included in commit/push should have bee ignored.

so tweaked .hgignore , got perfect, , push change. surprise, remote server's web ui (rhodecode) still shows "bad" files belonging repo. have expected them automagically culled out since violate .hgignore.

so looks need magic locally makes working copy honor ignore changes, , push changes. perhaps remove files tracking?

as concrete example, in repo root have myapp-meta.bin. in .hgignore added entry *.bin. exact commands need in order remove *.bin tracking (but not file system!) , don't show in latest/head version on remote repo?

also, hg have similar git's dry run (git add . -n)? handy in future see would added tracking before go ahead , it!

you added myapp-meta.bin, it's tracked despite added later .hgignore. if delete repo won't shown new file , ignored.

as dry run, many commands (and hg add among them) support -n or --dry-run option.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -