Mercurial > jhg
comparison src/org/tmatesoft/hg/core/HgCheckoutCommand.java @ 613:f41dd9a3b8af v1.1m4
Remove few Experimental annotations as the API they've marked graduates
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 10 May 2013 17:31:27 +0200 |
parents | 0890628ed51e |
children | b4242b7e7dfe |
comparison
equal
deleted
inserted
replaced
612:dca70c0b1f74 | 613:f41dd9a3b8af |
---|---|
26 import java.nio.channels.FileChannel; | 26 import java.nio.channels.FileChannel; |
27 | 27 |
28 import org.tmatesoft.hg.internal.CsetParamKeeper; | 28 import org.tmatesoft.hg.internal.CsetParamKeeper; |
29 import org.tmatesoft.hg.internal.DirstateBuilder; | 29 import org.tmatesoft.hg.internal.DirstateBuilder; |
30 import org.tmatesoft.hg.internal.EncodingHelper; | 30 import org.tmatesoft.hg.internal.EncodingHelper; |
31 import org.tmatesoft.hg.internal.Experimental; | |
32 import org.tmatesoft.hg.internal.Internals; | 31 import org.tmatesoft.hg.internal.Internals; |
33 import org.tmatesoft.hg.internal.WorkingDirFileWriter; | 32 import org.tmatesoft.hg.internal.WorkingDirFileWriter; |
34 import org.tmatesoft.hg.repo.HgDataFile; | 33 import org.tmatesoft.hg.repo.HgDataFile; |
35 import org.tmatesoft.hg.repo.HgDirstate; | 34 import org.tmatesoft.hg.repo.HgDirstate; |
36 import org.tmatesoft.hg.repo.HgDirstate.EntryKind; | 35 import org.tmatesoft.hg.repo.HgDirstate.EntryKind; |
44 import org.tmatesoft.hg.util.CancelledException; | 43 import org.tmatesoft.hg.util.CancelledException; |
45 import org.tmatesoft.hg.util.Path; | 44 import org.tmatesoft.hg.util.Path; |
46 import org.tmatesoft.hg.util.ProgressSupport; | 45 import org.tmatesoft.hg.util.ProgressSupport; |
47 | 46 |
48 /** | 47 /** |
49 * WORK IN PROGRESS. | |
50 * | |
51 * Update working directory to specific state, 'hg checkout' counterpart. | 48 * Update working directory to specific state, 'hg checkout' counterpart. |
52 * For the time being, only 'clean' checkout is supported ('hg co --clean') | 49 * For the time being, only 'clean' checkout is supported ('hg co --clean') |
53 * | 50 * |
54 * @since 1.1 | 51 * @since 1.1 |
55 * @author Artem Tikhomirov | 52 * @author Artem Tikhomirov |
56 * @author TMate Software Ltd. | 53 * @author TMate Software Ltd. |
57 */ | 54 */ |
58 @Experimental(reason="Work in progress") | |
59 public class HgCheckoutCommand extends HgAbstractCommand<HgCheckoutCommand>{ | 55 public class HgCheckoutCommand extends HgAbstractCommand<HgCheckoutCommand>{ |
60 | 56 |
61 private final HgRepository repo; | 57 private final HgRepository repo; |
62 private final CsetParamKeeper revisionToCheckout; | 58 private final CsetParamKeeper revisionToCheckout; |
63 private boolean cleanCheckout; | 59 private boolean cleanCheckout; |