-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
77 changed files
with
370 additions
and
41 deletions.
There are no files selected for viewing
9 changes: 0 additions & 9 deletions
9
src/Squot-Core.package/SquotBrowser.class/instance/actionCherryPick..st
This file was deleted.
Oops, something went wrong.
5 changes: 3 additions & 2 deletions
5
....package/SquotBrowser.class/instance/actionChooseNewRepositoryLocationForActiveProject.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
actions | ||
actionChooseNewRepositoryLocationForActiveProject | ||
(self activeWorkingCopyIfNilInformAnd: [^ self]) requestAndMoveToNewRepositoryLocation. | ||
self everythingChanged. | ||
self workingCopyAction: [:workingCopy | | ||
workingCopy requestAndMoveToNewRepositoryLocation. | ||
self everythingChanged]. |
3 changes: 1 addition & 2 deletions
3
src/Squot-Core.package/SquotBrowser.class/instance/actionCommit.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
actions | ||
actionCommit | ||
self activeWorkingCopyIfNilInformAnd: [^ self]. | ||
self openDialogToCommitImageWithInitialMessage: ''. | ||
self workingCopyAction: #openDialogToCommitImage. |
9 changes: 0 additions & 9 deletions
9
...-Core.package/SquotBrowser.class/instance/openDialogToCommitChangeSets.initialMessage..st
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
...ot-Core.package/SquotBrowser.class/instance/openDialogToCommitImageWithInitialMessage..st
This file was deleted.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
src/Squot-Core.package/SquotBrowser.class/instance/workingCopyAction..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
actions | ||
workingCopyAction: aBlock | ||
self activeWorkingCopy ifNil: [ | ||
self inform: 'Please select a project first.'. | ||
^ self]. | ||
aBlock value: self activeWorkingCopy. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
src/Squot-Core.package/SquotGitWorkingCopy.class/instance/cherryPick..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
git-operations | ||
cherryPick: aCommit | ||
^ (self pendingChangeSetsForPick: aCommit) | ||
prefixWindowTitle: 'Cherry-pick '; | ||
initialMessage: aCommit message; | ||
commit |
3 changes: 3 additions & 0 deletions
3
src/Squot-Core.package/SquotGitWorkingCopy.class/instance/openDialogToCommitImage.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
dialog | ||
openDialogToCommitImage | ||
^ self openDialogToCommitImageWithInitialMessage: '' |
6 changes: 6 additions & 0 deletions
6
....package/SquotGitWorkingCopy.class/instance/openDialogToCommitImageWithInitialMessage..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
dialog | ||
openDialogToCommitImageWithInitialMessage: aString | ||
^ (self pendingChangeSetsToCommit: self changeSetsFromHeadCommitToImage) | ||
initialMessage: aString; | ||
alwaysOpenDialog; | ||
commit |
5 changes: 5 additions & 0 deletions
5
src/Squot-Core.package/SquotGitWorkingCopy.class/instance/pendingChangeSets..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pending-changes | ||
pendingChangeSets: aCollection | ||
^ self pendingChanges | ||
changeSets: aCollection; | ||
yourself |
8 changes: 8 additions & 0 deletions
8
src/Squot-Core.package/SquotGitWorkingCopy.class/instance/pendingChangeSetsForPick..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
pending-changes | ||
pendingChangeSetsForPick: aCommit | ||
^ (self pendingChangeSets: | ||
(self | ||
changeSetsToMergeCommitIntoHead: aCommit | ||
withBase: (self parentForPick: aCommit))) | ||
windowTitle: aCommit showOneLine; | ||
yourself |
8 changes: 8 additions & 0 deletions
8
...package/SquotGitWorkingCopy.class/instance/pendingChangeSetsForPick.windowTitlePrefix..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
pending-changes | ||
pendingChangeSetsForPick: aCommit | ||
windowTitlePrefix: aString | ||
^ (self pendingChangeSets: (self | ||
changeSetsToMergeCommitIntoHead: aCommit | ||
withBase: (self parentForPick: aCommit))) | ||
windowTitle: ('{1} {2}' format: {aString. aCommit showOneLine}); | ||
yourself |
5 changes: 5 additions & 0 deletions
5
src/Squot-Core.package/SquotGitWorkingCopy.class/instance/pendingChangeSetsToCommit..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pending-changes | ||
pendingChangeSetsToCommit: aCollection | ||
^ (self pendingChangeSets: aCollection) | ||
windowTitle: 'Changes to commit'; | ||
yourself |
5 changes: 5 additions & 0 deletions
5
src/Squot-Core.package/SquotGitWorkingCopy.class/instance/pendingChanges.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pending-changes | ||
pendingChanges | ||
^ SquotPendingChanges new | ||
workingCopy: self; | ||
yourself |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
3 changes: 3 additions & 0 deletions
3
src/Squot-Core.package/SquotPendingChanges.class/instance/alwaysMaterialize.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
alwaysMaterialize | ||
self shouldAlwaysMaterialize: true. |
3 changes: 3 additions & 0 deletions
3
src/Squot-Core.package/SquotPendingChanges.class/instance/alwaysOpenDialog.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
alwaysOpenDialog | ||
self shouldAlwaysOpenDialog: true. |
6 changes: 6 additions & 0 deletions
6
src/Squot-Core.package/SquotPendingChanges.class/instance/basicCommit.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
actions-private | ||
basicCommit | ||
self workingCopy | ||
commitChangeSets: self changeSets | ||
message: self message | ||
parents: self parents. |
3 changes: 3 additions & 0 deletions
3
src/Squot-Core.package/SquotPendingChanges.class/instance/basicMaterialize.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
actions-private | ||
basicMaterialize | ||
self workingCopy materializeChangeSets: self changeSets. |
3 changes: 3 additions & 0 deletions
3
src/Squot-Core.package/SquotPendingChanges.class/instance/basicWindowTitle.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
basicWindowTitle | ||
^ windowTitle |
3 changes: 3 additions & 0 deletions
3
src/Squot-Core.package/SquotPendingChanges.class/instance/changeSets..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
changeSets: aCollection | ||
changeSets := aCollection |
3 changes: 3 additions & 0 deletions
3
src/Squot-Core.package/SquotPendingChanges.class/instance/changeSets.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
changeSets | ||
^ changeSets |
5 changes: 5 additions & 0 deletions
5
src/Squot-Core.package/SquotPendingChanges.class/instance/checkHasConflictsWhile..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
checks | ||
checkHasConflictsWhile: aString | ||
self hasConflicts ifFalse: [^ false]. | ||
self inform: ('There are conflicts. Please resolve them before {1}. Aborting.' format: {aString}). | ||
^ true |
5 changes: 5 additions & 0 deletions
5
src/Squot-Core.package/SquotPendingChanges.class/instance/checkIsAtOriginalHeadCommit.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
checks | ||
checkIsAtOriginalHeadCommit | ||
self isAtOriginalHeadCommit ifTrue: [^ true]. | ||
self inform: 'These changes are outdated. Aborting.'. | ||
^ false |
5 changes: 5 additions & 0 deletions
5
src/Squot-Core.package/SquotPendingChanges.class/instance/checkIsMessageEmpty.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
checks | ||
checkIsMessageEmpty | ||
self isMessageEmpty ifFalse: [^ false]. | ||
self inform: 'Empty message, aborting.'. | ||
^ true |
5 changes: 5 additions & 0 deletions
5
src/Squot-Core.package/SquotPendingChanges.class/instance/commit.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
actions | ||
commit | ||
(self isMerge not and: [self isEmpty]) ifTrue: [^ self nothingToCommit]. | ||
self shouldOpenDialog ifTrue: [^ self openDialogToCommit]. | ||
^ self commitNow |
3 changes: 3 additions & 0 deletions
3
src/Squot-Core.package/SquotPendingChanges.class/instance/commitActionName.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
commitActionName | ||
^ self isMerge ifTrue: ['merging'] ifFalse: ['committing'] |
3 changes: 3 additions & 0 deletions
3
src/Squot-Core.package/SquotPendingChanges.class/instance/commitButtonLabel.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
commitButtonLabel | ||
^ self isMerge ifTrue: ['Merge'] ifFalse: ['Commit'] |
6 changes: 6 additions & 0 deletions
6
src/Squot-Core.package/SquotPendingChanges.class/instance/commitNow.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
actions-private | ||
commitNow | ||
^ self | ||
basicCommit; | ||
materializeIfNecessary; | ||
done |
3 changes: 3 additions & 0 deletions
3
src/Squot-Core.package/SquotPendingChanges.class/instance/currentHeadCommit.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
currentHeadCommit | ||
^ self workingCopy headCommit |
3 changes: 3 additions & 0 deletions
3
src/Squot-Core.package/SquotPendingChanges.class/instance/dialog..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
dialog: aChangesDialog | ||
dialog := aChangesDialog |
3 changes: 3 additions & 0 deletions
3
src/Squot-Core.package/SquotPendingChanges.class/instance/dialog.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
dialog | ||
^ dialog |
3 changes: 3 additions & 0 deletions
3
src/Squot-Core.package/SquotPendingChanges.class/instance/doAmend.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
configuring | ||
doAmend | ||
self parents: self originalHeadCommit parents. |
5 changes: 5 additions & 0 deletions
5
src/Squot-Core.package/SquotPendingChanges.class/instance/doMerge..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
configuring | ||
doMerge: aCommit | ||
self | ||
parents: {self originalHeadCommit. aCommit}; | ||
alwaysMaterialize. |
3 changes: 3 additions & 0 deletions
3
src/Squot-Core.package/SquotPendingChanges.class/instance/doRegularCommit.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
configuring | ||
doRegularCommit | ||
self parents: {self originalHeadCommit}. |
5 changes: 5 additions & 0 deletions
5
src/Squot-Core.package/SquotPendingChanges.class/instance/done.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
actions-private | ||
done | ||
self dialog ifNotNil: #close. | ||
self promise resolveWith: nil. | ||
^ self promise |
3 changes: 3 additions & 0 deletions
3
src/Squot-Core.package/SquotPendingChanges.class/instance/hasConflicts.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
testing | ||
hasConflicts | ||
^ self changeSets anySatisfy: #hasConflicts |
3 changes: 3 additions & 0 deletions
3
src/Squot-Core.package/SquotPendingChanges.class/instance/initialMessage..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
initialMessage: aString | ||
initialMessage := aString |
3 changes: 3 additions & 0 deletions
3
src/Squot-Core.package/SquotPendingChanges.class/instance/initialMessage.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
initialMessage | ||
^ initialMessage |
6 changes: 6 additions & 0 deletions
6
src/Squot-Core.package/SquotPendingChanges.class/instance/initialize.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
initialize-release | ||
initialize | ||
super initialize. | ||
self | ||
shouldAlwaysOpenDialog: false; | ||
shouldAlwaysMaterialize: false. |
3 changes: 3 additions & 0 deletions
3
src/Squot-Core.package/SquotPendingChanges.class/instance/isAtOriginalHeadCommit.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
testing | ||
isAtOriginalHeadCommit | ||
^ self currentHeadCommit = self originalHeadCommit |
3 changes: 3 additions & 0 deletions
3
src/Squot-Core.package/SquotPendingChanges.class/instance/isMerge.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
testing | ||
isMerge | ||
^ self parents size > 1 |
5 changes: 5 additions & 0 deletions
5
src/Squot-Core.package/SquotPendingChanges.class/instance/materialize.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
actions | ||
materialize | ||
self isEmpty ifTrue: [^ self nothingToMaterialize]. | ||
self shouldOpenDialog ifTrue: [^ self openDialogToMaterialize]. | ||
^ self materializeNow |
3 changes: 3 additions & 0 deletions
3
src/Squot-Core.package/SquotPendingChanges.class/instance/materializeIfNecessary.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
actions-private | ||
materializeIfNecessary | ||
self shouldMaterialize ifTrue: [self basicMaterialize]. |
6 changes: 6 additions & 0 deletions
6
src/Squot-Core.package/SquotPendingChanges.class/instance/materializeNow.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
actions-private | ||
materializeNow | ||
self assert: self hasConflicts not. | ||
^ self | ||
basicMaterialize; | ||
done |
3 changes: 3 additions & 0 deletions
3
src/Squot-Core.package/SquotPendingChanges.class/instance/message.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
message | ||
^ self dialog ifNotNil: #message ifNil: [self initialMessage] |
4 changes: 4 additions & 0 deletions
4
src/Squot-Core.package/SquotPendingChanges.class/instance/nothingToCommit.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
actions-private | ||
nothingToCommit | ||
self inform: 'Nothing to commit.'. | ||
^ self done |
4 changes: 4 additions & 0 deletions
4
src/Squot-Core.package/SquotPendingChanges.class/instance/nothingToMaterialize.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
actions-private | ||
nothingToMaterialize | ||
self inform: 'No changes to load.'. | ||
^ self done |
9 changes: 9 additions & 0 deletions
9
src/Squot-Core.package/SquotPendingChanges.class/instance/openDialog.action.label..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
actions-private | ||
openDialog: aChangesDialogClass action: aBlock label: aString | ||
self dialog: (aChangesDialogClass onChangeSets: self changeSets). | ||
self dialog | ||
windowTitle: self windowTitle; | ||
addCloseButton: 'Cancel'; | ||
addButton: aString action: aBlock; | ||
open. | ||
^ self promise |
8 changes: 8 additions & 0 deletions
8
src/Squot-Core.package/SquotPendingChanges.class/instance/openDialogToCommit.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
actions-private | ||
openDialogToCommit | ||
self | ||
openDialog: SquotChangesDialogWithMessage | ||
action: [self postDialogCommit] | ||
label: self commitButtonLabel. | ||
self dialog message: self initialMessage. | ||
^ self promise |
6 changes: 6 additions & 0 deletions
6
src/Squot-Core.package/SquotPendingChanges.class/instance/openDialogToMaterialize.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
actions-private | ||
openDialogToMaterialize | ||
^ self | ||
openDialog: SquotChangesDialog | ||
action: [self postDialogMaterialize] | ||
label: 'Load changes'. |
3 changes: 3 additions & 0 deletions
3
src/Squot-Core.package/SquotPendingChanges.class/instance/originalHeadCommit..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
originalHeadCommit: aCommit | ||
originalHeadCommit := aCommit |
Oops, something went wrong.