Mercurial > hg4j
comparison 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 |
comparison
equal
deleted
inserted
replaced
414:bb278ccf9866 | 415:ee8264d80747 |
---|---|
557 return checkFlagsEqual(f, HgManifest.Flags.Link); | 557 return checkFlagsEqual(f, HgManifest.Flags.Link); |
558 } | 558 } |
559 if ((dirstateFileMode & S_IXUSR) == S_IXUSR) { | 559 if ((dirstateFileMode & S_IXUSR) == S_IXUSR) { |
560 return checkFlagsEqual(f, HgManifest.Flags.Exec); | 560 return checkFlagsEqual(f, HgManifest.Flags.Exec); |
561 } | 561 } |
562 return checkFlagsEqual(f, null); // no flags | 562 return checkFlagsEqual(f, HgManifest.Flags.RegularFile); // no flags |
563 } | 563 } |
564 | 564 |
565 /** | 565 /** |
566 * Configure status collector to consider only subset of a working copy tree. Tries to be as effective as possible, and to | 566 * Configure status collector to consider only subset of a working copy tree. Tries to be as effective as possible, and to |
567 * traverse only relevant part of working copy on the filesystem. | 567 * traverse only relevant part of working copy on the filesystem. |