package com.perforce.svn.change; import java.util.List; import com.perforce.common.process.ChangeInfo; import com.perforce.svn.history.Action; 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 | 12446 | Paul Allen | Branching using p4convert-rusty | ||
//guest/perforce_software/p4convert/src/com/perforce/svn/change/ChangeInterface.java | |||||
#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) |