Mercurial > hg4j
comparison src/org/tmatesoft/hg/core/HgCloneCommand.java @ 204:883f1efbcf27
Add clone,incoming and outging tests
| author | Artem Tikhomirov <tikhomirov.artem@gmail.com> | 
|---|---|
| date | Tue, 26 Apr 2011 23:58:15 +0200 | 
| parents | 706bcc7cfee4 | 
| children | 9fb50c04f03c | 
   comparison
  equal
  deleted
  inserted
  replaced
| 203:66fd2c73c56f | 204:883f1efbcf27 | 
|---|---|
| 54 private HgRemoteRepository srcRepo; | 54 private HgRemoteRepository srcRepo; | 
| 55 | 55 | 
| 56 public HgCloneCommand() { | 56 public HgCloneCommand() { | 
| 57 } | 57 } | 
| 58 | 58 | 
| 59 /** | |
| 60 * @param folder location to become root of the repository (i.e. where <em>.hg</em> folder would reside). Either | |
| 61 * shall not exist or be empty otherwise. | |
| 62 * @return <code>this</code> for convenience | |
| 63 */ | |
| 59 public HgCloneCommand destination(File folder) { | 64 public HgCloneCommand destination(File folder) { | 
| 60 destination = folder; | 65 destination = folder; | 
| 61 return this; | 66 return this; | 
| 62 } | 67 } | 
| 63 | 68 | 
