tikhomirov@373: /* tikhomirov@373: * Copyright (c) 2012 TMate Software Ltd tikhomirov@373: * tikhomirov@373: * This program is free software; you can redistribute it and/or modify tikhomirov@373: * it under the terms of the GNU General Public License as published by tikhomirov@373: * the Free Software Foundation; version 2 of the License. tikhomirov@373: * tikhomirov@373: * This program is distributed in the hope that it will be useful, tikhomirov@373: * but WITHOUT ANY WARRANTY; without even the implied warranty of tikhomirov@373: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the tikhomirov@373: * GNU General Public License for more details. tikhomirov@373: * tikhomirov@373: * For information on how to redistribute this software under tikhomirov@373: * the terms of a license other than GNU General Public License tikhomirov@373: * contact TMate Software at support@hg4j.com tikhomirov@373: */ tikhomirov@373: package org.tmatesoft.hg.repo; tikhomirov@373: tikhomirov@373: tikhomirov@373: /** tikhomirov@442: * Names of some Mercurial configuration/service files. tikhomirov@442: * tikhomirov@373: * @author Artem Tikhomirov tikhomirov@373: * @author TMate Software Ltd. tikhomirov@373: */ tikhomirov@373: public enum HgRepositoryFiles { tikhomirov@373: tikhomirov@373: HgIgnore(".hgignore"), HgTags(".hgtags"), HgEol(".hgeol"), tikhomirov@442: Dirstate(".hg/dirstate"), HgLocalTags(".hg/localtags"), tikhomirov@442: HgSub(".hgsub"), HgSubstate(".hgsubstate"); tikhomirov@373: tikhomirov@373: private String fname; tikhomirov@373: tikhomirov@373: private HgRepositoryFiles(String filename) { tikhomirov@373: fname = filename; tikhomirov@373: } tikhomirov@373: tikhomirov@373: public String getPath() { tikhomirov@373: return fname; tikhomirov@373: } tikhomirov@373: }