def METHOD_NAME(self) -> None:
    commits = []
    def populate(repo):
        # We ignore ".hg" here just so some of the tests that list files don't have
        # to explicitly filter out the contents of this directory.  However, in most
        # situations the .hg directory normally should not be ignored.
        repo.write_file(".watchmanconfig", '{"ignore_dirs":[".buckd", ".hg"]}')
        repo.write_file("hello", "hola\n")
        commits.append(repo.commit("initial commit."))
        repo.write_file("welcome", "bienvenue\n")
        commits.append(repo.commit("commit 2"))
        repo.write_file("readme.txt", "important docs\n")
        commits.append(repo.commit("commit 3"))
        # Switch back to the first commit at the start of the test
        repo.update(commits[0])
    root = self.makeEdenMount(populate)
    repo = self.repoForPath(root)
    res = self.watchmanCommand("watch", root)
    self.assertEqual("eden", res["watcher"])
    self.watchmanCommand(
        "subscribe",
        root,
        "myname",
        {"fields": ["name"], "expression": ["not", ["match", ".watchman-cookie*"]]},
    )
    dat = self.waitForSub("myname", root=root)[0]
    self.assertTrue(dat["is_fresh_instance"])
    self.assertFileListsEqual(
        dat["files"], self.eden_dir_entries + [".eden", ".watchmanconfig", "hello"]
    )
    self.touchRelative(root, "w0000t")
    dat = self.waitForSub("myname", root=root)[0]
    self.assertEqual(False, dat["is_fresh_instance"])
    self.assertFileListsEqual(dat["files"], ["w0000t"])
    # we should not observe .buckd in the subscription results
    # because it is listed in the ignore_dirs config section.
    os.mkdir(os.path.join(root, ".buckd"))
    self.touchRelative(root, "hello")
    dat = self.waitForSub("myname", root=root)[0]
    self.assertEqual(False, dat["is_fresh_instance"])
    self.assertFileListsEqual(dat["files"], ["hello"])
    # performing an hg checkout should notify us of the files changed between
    # commits
    repo.update(commits[2])
    dat = self.waitForSub("myname", root=root)[0]
    self.assertEqual(False, dat["is_fresh_instance"])
    self.assertFileListsEqual(dat["files"], ["welcome", "readme.txt"])
    # make another subscription and assert that we get a fresh
    # instance result with all the files in it
    self.watchmanCommand(
        "subscribe",
        root,
        "othersub",
        {"fields": ["name"], "expression": ["not", ["match", ".watchman-cookie*"]]},
    )
    dat = self.waitForSub("othersub", root=root)[0]
    self.assertEqual(True, dat["is_fresh_instance"])
    self.assertFileListsEqual(
        dat["files"],
        self.eden_dir_entries
        + [".eden", ".watchmanconfig", "hello", "w0000t", "welcome", "readme.txt"],
    )