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?

4

1 に答える 1

2

これは仕様によるものです。hgignoreルールは追跡されていないファイルのみを対象としているため、リポジトリからファイルを除外する必要があります。

' 'の詳細については、この回答を確認してくださいhg forget

于 2010-02-24T06:31:53.503 に答える