This is an archive of the discontinued Mercurial Phabricator instance.

dirstate: drop workaround for '.' matching root directory
ClosedPublic

Authored by martinvonz on May 17 2019, 1:57 PM.

Details

Summary

The check was added in 31abcae33b4f (dirstate: do not ignore current
directory '.' (issue 1078), 2008-04-05) to fix issue1078. Funnily
enough, comment #2 on that issue mentions using '' instead of '.' to
represent the root directory, just like my previous patch did.

test-hgignore.t fails with this patch without the previous patch.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.