Mercurial > hg4j
comparison src/org/tmatesoft/hg/core/HgCommitCommand.java @ 626:5afc7eedb3dd v1.1rc1
@since, TODOs. Tests: add 1 sec to deal with fs timestamp granularity on linux
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Tue, 21 May 2013 19:30:12 +0200 |
parents | 7c0d2ce340b8 |
children | 6526d8adbc0f |
comparison
equal
deleted
inserted
replaced
625:b4948b159ab1 | 626:5afc7eedb3dd |
---|---|
21 import java.io.IOException; | 21 import java.io.IOException; |
22 | 22 |
23 import org.tmatesoft.hg.internal.COWTransaction; | 23 import org.tmatesoft.hg.internal.COWTransaction; |
24 import org.tmatesoft.hg.internal.CommitFacility; | 24 import org.tmatesoft.hg.internal.CommitFacility; |
25 import org.tmatesoft.hg.internal.CompleteRepoLock; | 25 import org.tmatesoft.hg.internal.CompleteRepoLock; |
26 import org.tmatesoft.hg.internal.Experimental; | |
27 import org.tmatesoft.hg.internal.FileContentSupplier; | 26 import org.tmatesoft.hg.internal.FileContentSupplier; |
28 import org.tmatesoft.hg.internal.Internals; | 27 import org.tmatesoft.hg.internal.Internals; |
29 import org.tmatesoft.hg.internal.Transaction; | 28 import org.tmatesoft.hg.internal.Transaction; |
30 import org.tmatesoft.hg.internal.WorkingCopyContent; | 29 import org.tmatesoft.hg.internal.WorkingCopyContent; |
31 import org.tmatesoft.hg.repo.HgChangelog; | 30 import org.tmatesoft.hg.repo.HgChangelog; |
40 import org.tmatesoft.hg.util.Outcome.Kind; | 39 import org.tmatesoft.hg.util.Outcome.Kind; |
41 import org.tmatesoft.hg.util.Pair; | 40 import org.tmatesoft.hg.util.Pair; |
42 import org.tmatesoft.hg.util.Path; | 41 import org.tmatesoft.hg.util.Path; |
43 | 42 |
44 /** | 43 /** |
45 * WORK IN PROGRESS. UNSTABLE API | |
46 * | |
47 * 'hg commit' counterpart, commit changes | 44 * 'hg commit' counterpart, commit changes |
48 * | 45 * |
46 * @since 1.1 | |
49 * @author Artem Tikhomirov | 47 * @author Artem Tikhomirov |
50 * @author TMate Software Ltd. | 48 * @author TMate Software Ltd. |
51 */ | 49 */ |
52 @Experimental(reason="Work in progress. Unstable API") | |
53 public class HgCommitCommand extends HgAbstractCommand<HgCommitCommand> { | 50 public class HgCommitCommand extends HgAbstractCommand<HgCommitCommand> { |
54 | 51 |
55 private final HgRepository repo; | 52 private final HgRepository repo; |
56 private String message; | 53 private String message; |
57 private String user; | 54 private String user; |