I use Mercurial Queues to work with patches.
There was no .hgignore
initially.
I'm not sure if I first created an MQ
patch and then created my .hgignore
or the other way round.
(By "creating a patch" I mean hg qnew patch_name -m "..."
)
Anyway, I made some changes to .hgignore
after I created the MQ
patch.
When I did hg qrefresh; hg export qtip
I got the changed contents of .hgignore
also in my patch.
So, tried adding an .hgignore
entry to .hgignore
itself. But that didn't work. The changes persisted.
So, I tried hg forget .hgignore
and this made a bigger mess. It nows shows that I deleted .hgignore in my patch. Like so:
--- a/.hgignore
+++ /dev/null
- all
- the lines of .hgignore
- the lines of .hgignore
How do I resolve this problem?
I just want .hgignore
to be part of my local repo and help in not tracking some files.