|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.aragost.javahg.WorkingCopy
public class WorkingCopy
Represents working copy for a Repository.
Warning: The instance cache the information and will not see changes to the working copy. Create a new instance if you need the most current state.
| Method Summary | |
|---|---|
void |
add(String... files)
|
String |
getBranchName()
|
Changeset |
getParent1()
|
Changeset |
getParent2()
|
MergeContext |
merge(Changeset remote)
Merge the working copy with the specified changeset |
StatusResult |
parent2Status()
|
void |
remove(String... files)
|
void |
setBranchName(String branchName)
Set the branch name of working copy |
StatusResult |
status()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Changeset getParent1()
public Changeset getParent2()
public String getBranchName()
public void setBranchName(String branchName)
branchName - public void remove(String... files)
public void add(String... files)
public MergeContext merge(Changeset remote)
throws IOException
remote -
IOExceptionpublic StatusResult status()
public StatusResult parent2Status()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||