comparison src/org/tmatesoft/hg/repo/HgRepositoryFiles.java @ 373:dd492acd2431

Constants for well-known repository file names
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Fri, 06 Jan 2012 01:12:35 +0300
parents
children 6865eb742883
comparison
equal deleted inserted replaced
372:155c1893bda4 373:dd492acd2431
1 /*
2 * Copyright (c) 2012 TMate Software Ltd
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; version 2 of the License.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * For information on how to redistribute this software under
14 * the terms of a license other than GNU General Public License
15 * contact TMate Software at support@hg4j.com
16 */
17 package org.tmatesoft.hg.repo;
18
19 import org.tmatesoft.hg.internal.Experimental;
20
21 /**
22 *
23 * @author Artem Tikhomirov
24 * @author TMate Software Ltd.
25 */
26 @Experimental
27 public enum HgRepositoryFiles {
28
29 HgIgnore(".hgignore"), HgTags(".hgtags"), HgEol(".hgeol"),
30 Dirstate(".hg/dirstate"), HgLocalTags(".hg/localtags");
31
32 private String fname;
33
34 private HgRepositoryFiles(String filename) {
35 fname = filename;
36 }
37
38 public String getPath() {
39 return fname;
40 }
41 }