Mercurial > hg4j
diff src/org/tmatesoft/hg/repo/HgWorkingCopyStatusCollector.java @ 415:ee8264d80747
Explicit constant for regular file flags, access to flags for a given file revision
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Thu, 22 Mar 2012 18:54:11 +0100 |
parents | 7f27122011c3 |
children | 9c9c442b5f2e |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgWorkingCopyStatusCollector.java Wed Mar 21 20:51:12 2012 +0100 +++ b/src/org/tmatesoft/hg/repo/HgWorkingCopyStatusCollector.java Thu Mar 22 18:54:11 2012 +0100 @@ -559,7 +559,7 @@ if ((dirstateFileMode & S_IXUSR) == S_IXUSR) { return checkFlagsEqual(f, HgManifest.Flags.Exec); } - return checkFlagsEqual(f, null); // no flags + return checkFlagsEqual(f, HgManifest.Flags.RegularFile); // no flags } /**