package com.perforce.svn.change; import java.util.List; import com.perforce.common.node.Action; import com.perforce.common.process.ChangeInfo; import com.perforce.svn.process.MergeInfo; import com.perforce.svn.process.MergeSource; public interface ChangeInterface { /** * Gets the current change list number (long) * * @return */ public long getChange(); /** * Return the original ChangeInfo object used to create the change * * @return */ public ChangeInfo getChangeInfo(); /** * Submits the revisions into a change. ChangeConvert - writes a journal or * ChangeImport submits revisions to server * * @throws Throwable */ public long submit() throws Exception; /** * Sets the Perforce counter; key and value pair. * * @param key * @param value * @throws Exception */ public void setCounter(String key, String value) throws Exception; /** * Closes final change-list. ChangeConvert - flushes JournalWriter * * @throws Exception */ public void close() throws Exception; /** * Returns the number of revisions currently in change-list * * @return */ public int getNumberOfRevisions() throws Exception; /** * Current Subversion revision number * * @return */ public long getSvnRevision(); /** * Clean up empty change lists */ public void delete() throws Exception; public String getUser(); public void setMergeInfo(MergeInfo m); public List<MergeInfo> getMergeInfoList(); public void setMergeSource(MergeSource m); public MergeSource getMergeSource(); public boolean isPendingRevision(String path) throws Exception; public Action getPendingAction(String path) throws Exception; }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 13876 | Paul Allen | Rename/move file(s) | ||
//guest/paul_allen/p4convert-maven/src/com/perforce/svn/change/ChangeInterface.java | |||||
#1 | 13873 | Paul Allen | Branching using p4convert-maven | ||
//guest/perforce_software/p4convert/src/com/perforce/svn/change/ChangeInterface.java | |||||
#6 | 13776 | Paul Allen |
CVS: Update to node Action detection. The RCS State is normally set to 'Exp' and 'dead', but this change allows more user defined states. - Move Action class to common.node package. - Modified test case061 to test custom states. |
||
#5 | 11263 | Paul Allen | Refactor the enum Action outside of ChangeAction. | ||
#4 | 11013 | Paul Allen | SVN: Expose ChangeInfo object outside of ChangeInterface. | ||
#3 | 10983 | Paul Allen |
SVN: Updated change number mapping. Use the submitted change number not the pending number, for the changeMap. |
||
#2 | 10882 | Paul Allen |
CVS non branched revisions. Address issue when adding files to a branch that have no connection to main. CVS identifies these as 'dead' revisions on main with a branch. - replaced CVS test case 047 |
||
#1 | 9807 | Paul Allen | Initial import of p4-convert (from change 894340) |