Featured post
mercurial - how to ignore dir-prop-base in .svn folder? -
i've read several posts here ignoring files in mercurial i'm stumped on one.
i have couple of .svn files in repository (i'm using hg local commits, pushing svn). files are:
apps\.svn\dir-prop-base apps\.svn\entries
i've got several ignore entries in .hgignore
none of them seem covering these 2 files.
syntax: glob .svn/* **/.svn/**.* syntax: regexp \.svn\\*
i'm trying couple of things see sticks there. me, looks files should ignored twice. strange thing apps\.svn\all-wcprops
being ignored. i'm missing something. i'm checking whether files ignored opening new status window using tortoisehg. can't detect difference between , hg status
.
oben pointed me in right direction. declined making answer, here is:
the files want ignore can't in add state when editing ignore file (since add takes precedence on ignore apparently). solution hg revert
, edit ignore file, use hg status [directory] -i
see files in target directory ignored. repeat until correct files ignored, use hg add
.
- Get link
- X
- Other Apps
Comments
Post a Comment