Mercurial > jhg
comparison src/org/tmatesoft/hg/repo/HgRepositoryFiles.java @ 442:6865eb742883
Tests for subrepo API, refactor status tests for reuse, better subrepos API
| author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
|---|---|
| date | Fri, 27 Apr 2012 20:57:20 +0200 |
| parents | dd492acd2431 |
| children | 909306e412e2 |
comparison
equal
deleted
inserted
replaced
| 441:2a08466838d3 | 442:6865eb742883 |
|---|---|
| 17 package org.tmatesoft.hg.repo; | 17 package org.tmatesoft.hg.repo; |
| 18 | 18 |
| 19 import org.tmatesoft.hg.internal.Experimental; | 19 import org.tmatesoft.hg.internal.Experimental; |
| 20 | 20 |
| 21 /** | 21 /** |
| 22 * | 22 * Names of some Mercurial configuration/service files. |
| 23 * | |
| 23 * @author Artem Tikhomirov | 24 * @author Artem Tikhomirov |
| 24 * @author TMate Software Ltd. | 25 * @author TMate Software Ltd. |
| 25 */ | 26 */ |
| 26 @Experimental | 27 @Experimental |
| 27 public enum HgRepositoryFiles { | 28 public enum HgRepositoryFiles { |
| 28 | 29 |
| 29 HgIgnore(".hgignore"), HgTags(".hgtags"), HgEol(".hgeol"), | 30 HgIgnore(".hgignore"), HgTags(".hgtags"), HgEol(".hgeol"), |
| 30 Dirstate(".hg/dirstate"), HgLocalTags(".hg/localtags"); | 31 Dirstate(".hg/dirstate"), HgLocalTags(".hg/localtags"), |
| 32 HgSub(".hgsub"), HgSubstate(".hgsubstate"); | |
| 31 | 33 |
| 32 private String fname; | 34 private String fname; |
| 33 | 35 |
| 34 private HgRepositoryFiles(String filename) { | 36 private HgRepositoryFiles(String filename) { |
| 35 fname = filename; | 37 fname = filename; |
