comparison src/org/tmatesoft/hg/repo/HgManifest.java @ 413:7f27122011c3

Support and respect for symbolic links and executable flag, with /bin/ls backed implementation to discover these
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Wed, 21 Mar 2012 20:40:28 +0100
parents 2747b0723867
children bb278ccf9866
comparison
equal deleted inserted replaced
406:d56ea1a2537a 413:7f27122011c3
52 */ 52 */
53 public class HgManifest extends Revlog { 53 public class HgManifest extends Revlog {
54 private RevisionMapper revisionMap; 54 private RevisionMapper revisionMap;
55 55
56 public enum Flags { 56 public enum Flags {
57 Exec, Link; 57 Exec, Link; // FIXME REVISIT consider REGULAR instead of null
58 58
59 static Flags parse(String flags) { 59 static Flags parse(String flags) {
60 if ("x".equalsIgnoreCase(flags)) { 60 if ("x".equalsIgnoreCase(flags)) {
61 return Exec; 61 return Exec;
62 } 62 }