Envision
A visual programming IDE for object-oriented languages
|
Public Types | |
enum class | Kind { Unclassified , AlreadyUpToDate , FastForward , TrueMerge } |
enum class | Stage { NotInitialized , FoundMergeBase , Classified , AutoMerged , ManualMerged , BuiltMergedTree , WroteToWorkDir , WroteToIndex , Committed } |
Public Member Functions | |
bool | commit (const Signature &author, const Signature &committer, const QString &message) |
bool | hasConflicts () const |
bool | isAlreadyMerged () const |
bool | isNodeInConflict (Model::NodeIdType nodeId) const |
std::shared_ptr< GenericTree > | mergedTree () |
const QList< MergeChange * > | remainingChanges () const |
const QList< SoftConflict > & | softConflicts () const |
Private Member Functions | |
Merge (QString revision, bool fastForward, GitRepository *repository) | |
Merges revision into current HEAD. More... | |
void | initializePipelineComponents () |
void | performTrueMerge () |
If the merge is non-trivial, this is where the real merge algorithm and the pipeline is run. More... | |
Private Attributes | |
QString | baseCommitId_ |
QString | headCommitId_ |
Revisions. More... | |
MergeData | mergeData_ |
QList< std::shared_ptr< MergePipelineComponent > > | mergePipeline_ |
Components are executed in the order they appear in this list. More... | |
GitRepository * | repository_ {} |
QString | revisionCommitId_ |
Stage | stage_ = Stage::NotInitialized |
Friends | |
class | GitRepository |
class | RunMerge |
|
strong |
|
strong |
|
private |
Merges revision into current HEAD.
bool FilePersistence::Merge::commit | ( | const Signature & | author, |
const Signature & | committer, | ||
const QString & | message | ||
) |
bool FilePersistence::Merge::hasConflicts | ( | ) | const |
|
private |
|
inline |
bool FilePersistence::Merge::isNodeInConflict | ( | Model::NodeIdType | nodeId | ) | const |
std::shared_ptr< GenericTree > FilePersistence::Merge::mergedTree | ( | ) |
|
private |
If the merge is non-trivial, this is where the real merge algorithm and the pipeline is run.
|
inline |
const QList< SoftConflict > & FilePersistence::Merge::softConflicts | ( | ) | const |
|
friend |
|
friend |
|
private |
|
private |
Revisions.
|
private |
|
private |
Components are executed in the order they appear in this list.
|
private |
|
private |
|
private |