comparison src/org/tmatesoft/hg/core/HgRepoFacade.java @ 586:73c20c648c1f

HgCommitCommand initial support
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Fri, 26 Apr 2013 18:38:41 +0200
parents e4ee4bf4c7d0
children 72c979555cb8
comparison
equal deleted inserted replaced
585:b47ef0d2777b 586:73c20c648c1f
124 124
125 public HgIncomingCommand createIncomingCommand() { 125 public HgIncomingCommand createIncomingCommand() {
126 return new HgIncomingCommand(repo); 126 return new HgIncomingCommand(repo);
127 } 127 }
128 128
129 // TODO [1.1] add factory methods for all new commands 129 public HgCloneCommand createCloneCommand() {
130 return new HgCloneCommand();
131 }
132
133 public HgUpdateConfigCommand createUpdateRepositoryConfigCommand() {
134 return HgUpdateConfigCommand.forRepository(repo);
135 }
136
137 public HgAddRemoveCommand createAddRemoveCommand() {
138 return new HgAddRemoveCommand(repo);
139 }
140
141 public HgCheckoutCommand createCheckoutCommand() {
142 return new HgCheckoutCommand(repo);
143 }
144
145 public HgRevertCommand createRevertCommand() {
146 return new HgRevertCommand(repo);
147 }
130 148
131 public HgAnnotateCommand createAnnotateCommand() { 149 public HgAnnotateCommand createAnnotateCommand() {
132 return new HgAnnotateCommand(repo); 150 return new HgAnnotateCommand(repo);
133 } 151 }
152
153 public HgCommitCommand createCommitCommand() {
154 return new HgCommitCommand(repo);
155 }
134 } 156 }