Mercurial: how to apply the hg forget command to an entire directory
Posted
by SaM
on Stack Overflow
See other posts from Stack Overflow
or by SaM
Published on 2010-03-25T04:54:07Z
Indexed on
2010/03/25
5:03 UTC
Read the original article
Hit count: 529
My directory structure is as follows
Project
-- .hg
-- src
-- tests
When I ran hg init
on the Project path, everything got added into the repo. However, inside src, there are directories like bin and obj which I'd not like to track. How do I exclude them now? I've tried hg forget src\bin
- it says path not found.
Please guide.
© Stack Overflow or respective owner