-
Notifications
You must be signed in to change notification settings - Fork 85
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
3 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
Iceberg-TipUI.package/IceTipRepositoryModel.class/instance/checkMissing.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 @@ | ||
checking | ||
checkMissing | ||
|
||
self isMissing ifTrue: [ | ||
IceError signal: ('You have no repository atttached to project "{1}"' format: { self name }) ] |
2 changes: 1 addition & 1 deletion
2
Iceberg-TipUI.package/IceTipRepositoryModel.class/instance/commitId.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,3 +1,3 @@ | ||
accessing | ||
commitId | ||
^ self entity headCommit id | ||
^ [ self entity headCommit id ] on: Error do: [ nil ]. |
2 changes: 2 additions & 0 deletions
2
Iceberg-TipUI.package/IceTipVersionHistoryModel.class/instance/retrieveHistory.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,5 +1,7 @@ | ||
private | ||
retrieveHistory | ||
|
||
self repositoryModel checkMissing. | ||
UIManager default | ||
informUser: ('Retrieving history of {1}' format: { self entity printString }) | ||
during: [ ^ self repositoryModel entity log historyOfMethod: self entity ] |