1

I am using VisualHG 1.0.7 and cannot seem to ignore the files that I want.

The behavior I am experiencing is the RegEx values I enter for ignoring files appears to only be applied to items marked as ?: unknown.

What I am looking for is a way to add RegEx values to ignore the following:

  • files in any bin directory
  • files in any obj directory
  • files with the cache extension
  • files with the suo extension

I can write the correct RegEx but they aren't being applied to all of the files in the commit view.

Should I just 'forget' these files, or is there another way I should be accomplishing this?

blu
  • 12,515
  • 19
  • 68
  • 104

1 Answers1

2

It's by design: hgignore rules are for untracked files only - so you must exclude the files from the repository.

Check this answer for details about 'hg forget'

Community
  • 1
  • 1
alexandrul
  • 12,166
  • 11
  • 71
  • 98