azio
azio

Reputation: 585

How can I unignore a Mercurial folder?

I ignored a folder called "temp", how can I unignore it and resume tracking it?

Thanks.

Upvotes: 1

Views: 454

Answers (2)

Mark Tolonen
Mark Tolonen

Reputation: 177971

If temp is empty, Mercurial only tracks files. Otherwise, something is ignoring it in your .hgignore. You could be ignoring a pattern that matches directories above temp, or all the files or directories below temp.

Upvotes: 3

Peter Kellner
Peter Kellner

Reputation: 15508

take it out of your .hgignore file and it should start tracking it again. I've had troubles the other way where I have something in hg I want to ignore. It seems you have to delete the file out of source control, then .hgignore is followed.

Upvotes: 1

Related Questions