Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track files outside the image #228

Open
wants to merge 179 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 178 commits
Commits
Show all changes
179 commits
Select commit Hold shift + click to select a range
e514624
U work?
LeonBein Oct 29, 2018
e6fc35a
Create README.md
LeonBein Oct 29, 2018
052c308
Update README.md
LeonBein Oct 29, 2018
49bf0ab
revert?
LeonBein Oct 29, 2018
1343c8c
Update README.md
LeonBein Oct 29, 2018
8a73010
Update readme again
LeonBein Oct 29, 2018
f787cef
Update README.md
LeonBein Oct 29, 2018
b4b8e07
Update foo..st
LeonBein Oct 30, 2018
0ef9c52
Create newFile.txt
LeonBein Oct 31, 2018
2d796c1
Update newFile.txt
LeonBein Oct 31, 2018
6059aec
Create aVeryRecognizableFile.txt
LeonBein Oct 31, 2018
72cdddd
Update aVeryRecognizableFile.txt
LeonBein Oct 31, 2018
b32469c
Create thisIsNoOverwrite.md
LeonBein Nov 1, 2018
40bd1d3
Update aVeryRecognizableFile.txt
LeonBein Nov 1, 2018
a73794b
Commit another I want
LeonBein Nov 1, 2018
249bc75
Plus commit
LeonBein Nov 1, 2018
38396bd
Create cheating.package
LeonBein Nov 1, 2018
8761240
Delete cheating.package
LeonBein Nov 1, 2018
f89a8d5
Added second test class
LeonBein Nov 10, 2018
a78ae6e
Added aFile.txt
LeonBein Nov 10, 2018
b593f68
Update aFile.txt
LeonBein Nov 10, 2018
596b118
Added diff and stuff
LeonBein Nov 10, 2018
4173f32
See
LeonBein Nov 10, 2018
e5e6e12
Errr
LeonBein Nov 10, 2018
899d983
Next
LeonBein Nov 10, 2018
2c497e2
Serializer
LeonBein Nov 10, 2018
3db0bfb
Remove aFile
LeonBein Nov 10, 2018
dbfc6dd
Added bFile?
LeonBein Nov 10, 2018
a36b760
Added cfile
LeonBein Nov 10, 2018
921cb08
Enter commit log message here
LeonBein Nov 10, 2018
cf44a87
Add c again
LeonBein Nov 10, 2018
1dd5ef0
Update cFile.txt
LeonBein Nov 10, 2018
280f3ca
Added path to shadow
LeonBein Nov 10, 2018
8608c64
Update cFile.txt
LeonBein Nov 10, 2018
514da1f
Difffnstuff
LeonBein Nov 10, 2018
285ae99
Enter commit log message here
LeonBein Nov 10, 2018
8cf8035
Update cFile.txt
LeonBein Nov 10, 2018
e43807a
Much stuff
LeonBein Nov 10, 2018
59f09b4
Again added cfile
LeonBein Nov 10, 2018
c054cad
rem c
LeonBein Nov 10, 2018
54c613c
add c
LeonBein Nov 10, 2018
0267396
Update cFile.txt
LeonBein Nov 10, 2018
444a3ec
Rem c to allow pull of rest code
LeonBein Nov 10, 2018
f2203fb
Readd c
LeonBein Nov 10, 2018
2024f82
Several fixes
LeonBein Nov 10, 2018
191f754
more
LeonBein Nov 10, 2018
e890a70
Update .squot
LeonBein Nov 10, 2018
19e7d2e
No change
LeonBein Nov 10, 2018
62f2d27
Create superduper.md
LeonBein Nov 12, 2018
e76ac92
Delete cFile.txt
LeonBein Nov 12, 2018
08c4928
Delete properties.json
LeonBein Nov 12, 2018
3a20ec6
Delete .filetree
LeonBein Nov 12, 2018
386c7af
Delete initializers.st
LeonBein Nov 12, 2018
d5fe5b8
Delete properties.json
LeonBein Nov 12, 2018
4e7fe2e
Delete methodProperties.json
LeonBein Nov 12, 2018
b1da220
Delete README.md
LeonBein Nov 12, 2018
9cc363b
Delete .squot-contents
LeonBein Nov 12, 2018
654cdf3
Delete squotShouldKeepIdentity.st
LeonBein Nov 12, 2018
85f3f8c
Delete squotShadowFactory.st
LeonBein Nov 12, 2018
26a5bd8
Delete squotRemoveTransientStoreInfoFrom..st
LeonBein Nov 12, 2018
3b99352
Delete squotAddTransientStoreInfoTo..st
LeonBein Nov 12, 2018
ebbe4d9
Delete rootDirectory.st
LeonBein Nov 12, 2018
3fec653
Delete rootDirectory..st
LeonBein Nov 12, 2018
c6d8cab
Delete path.st
LeonBein Nov 12, 2018
ed1aaa0
Delete path..st
LeonBein Nov 12, 2018
d515b02
Delete captureWithSquot.st
LeonBein Nov 12, 2018
6d488c1
Delete captureWithSquot..st
LeonBein Nov 12, 2018
618cfba
Delete browseFromSquot..st
LeonBein Nov 12, 2018
f5b9fc4
Delete thisIsNoOverwrite.md
LeonBein Nov 12, 2018
da3c8f5
clean
LeonBein Nov 12, 2018
601cf0e
Readded code
LeonBein Nov 12, 2018
3e16456
Readded working copy extension and added serializer initialization
LeonBein Nov 12, 2018
812b338
Pre-Materialization commit
LeonBein Nov 17, 2018
2df2138
Unstable materialization 1
LeonBein Nov 18, 2018
7c2b5d9
Materialization seems to work
LeonBein Nov 18, 2018
55a8a6d
Added recorded file artifact
LeonBein Nov 22, 2018
a5d8ad3
Working: online addition and removel of files
LeonBein Nov 22, 2018
d3a1c94
Rest changes
LeonBein Nov 22, 2018
f9ca352
Merge branch 'master' of https://github.com/LeonBein/SmalltalkGitTest…
LeonBein Nov 22, 2018
9eee262
Cool diffing
LeonBein Nov 25, 2018
c4c57df
Working!
LeonBein Nov 25, 2018
2256f11
Feature complete (hopefully) (lets label it with @version 1.0.0)
LeonBein Nov 26, 2018
a6c00f1
Remove unused classes
LeonBein Nov 26, 2018
bf28532
Renamed package
LeonBein Nov 26, 2018
2008a7b
Added baseline
LeonBein Nov 26, 2018
8b724fa
Added extension metzhods in squot
LeonBein Nov 26, 2018
89f94ce
Removed isthisevercalled
LeonBein Nov 26, 2018
82da911
Removed void class
LeonBein Nov 26, 2018
b1b7f7a
Try to allow copy of images
LeonBein Nov 26, 2018
0dad650
Create README.md
LeonBein Nov 27, 2018
d55cd4e
Changed readne
LeonBein Nov 27, 2018
ced89ee
Added first few tests
LeonBein Dec 4, 2018
f921951
Create .smalltalk.ston
LeonBein Dec 4, 2018
e1d40b1
Added tests to baseline
LeonBein Dec 4, 2018
4b51f2f
Merge branch 'master' of https://github.com/LeonBein/SmalltalkGitTest…
LeonBein Dec 4, 2018
0fc55c5
Create .travis.yml
LeonBein Dec 4, 2018
9a913bf
Update .smalltalk.ston
LeonBein Dec 4, 2018
3a5f511
Fixed package structure
LeonBein Dec 4, 2018
dba03b0
Merge branch 'master' of https://github.com/LeonBein/SmalltalkGitTest…
LeonBein Dec 4, 2018
af56585
Added squot installer for 5.2
LeonBein Dec 4, 2018
97bdd06
Added squot as baseline dependency
LeonBein Dec 4, 2018
fd08444
Setting git stamp on preload
LeonBein Dec 4, 2018
1049f06
Added extension and fixed preload
LeonBein Dec 4, 2018
90c87f5
Replaced preload by postload
LeonBein Dec 4, 2018
1bebcf5
Update baseline
LeonBein Dec 4, 2018
78c4fce
Update baseline
LeonBein Dec 4, 2018
94dff19
Update .travis.yml
LeonBein Dec 4, 2018
0443cc2
Travis poke 1
LeonBein Dec 4, 2018
d7b26e7
Merge branch 'master' of https://github.com/LeonBein/SmalltalkGitTest…
LeonBein Dec 4, 2018
fc3153a
Added compatibility for newer versions of squot
LeonBein Dec 7, 2018
f3466a1
Update .travis.yml
LeonBein Dec 7, 2018
91e1fd4
Added real remote tests moved local test to extra class
LeonBein Dec 13, 2018
9bb5ea5
Merge branch 'master' of https://github.com/LeonBein/SmalltalkGitTest…
LeonBein Dec 13, 2018
ff7a7fc
Git credentials
LeonBein Dec 13, 2018
c9c9f36
Allowing backsaving ... probably
LeonBein Dec 13, 2018
7792999
Added token and small fix
LeonBein Dec 13, 2018
441cecb
Replaced method for the merging of two replacement diffs, it caused a…
LeonBein Jan 24, 2019
d09aeb4
This should fix the error of #22
LeonBein Jan 24, 2019
0c7fa7c
Added merge test; modified commit dialog by adding a signal.
LeonBein Feb 13, 2019
9ab536d
Update README.md
LeonBein Feb 13, 2019
1540276
Try again to trigger build
LeonBein Feb 13, 2019
200b908
Closes #22
LeonBein Feb 13, 2019
979c621
Merge branch 'master' of https://github.com/LeonBein/SmalltalkGitTest…
LeonBein Feb 13, 2019
afba177
Starting attempt to minimize travis flaky tests
LeonBein Feb 13, 2019
f3cb7eb
Adding retry mechanism in order to dampen travis flaky tests on conne…
LeonBein Feb 13, 2019
931bbce
Trying different error type
LeonBein Feb 13, 2019
9ea7978
Merge remote-tracking branch 'lbgit/master' into develop
LeonBein Feb 24, 2019
7879eec
(Re-)added lbgit packages to .squot
LeonBein Feb 24, 2019
d1cc9ae
Code merge
LeonBein Feb 24, 2019
4d5444d
Moved lbgit extension code into squot main code
LeonBein Feb 24, 2019
19bdff5
trying to remove empty extension package
LeonBein Feb 24, 2019
ebfa30d
Working on #14; need to merge fixes into this fork
LeonBein Mar 1, 2019
4ac065b
Merge branch 'develop' of https://github.com/hpi-swa/Squot into develop
LeonBein Mar 1, 2019
e2d0f29
Merge branch 'develop' of https://github.com/hpi-swa/Squot into develop
LeonBein Mar 10, 2019
902ef89
Adapted to merged pull request #215
LeonBein Mar 10, 2019
7e1acb5
Fix most test errors
LeonBein Mar 27, 2019
2900d69
Added lbgit to baseline
LeonBein Apr 11, 2019
6cb2827
Moved lbgit to src
LeonBein Apr 11, 2019
dedb052
update .squot
LeonBein Apr 11, 2019
51fc4c5
Added missing methods storeWith: on all file lists and asConflicts on…
LeonBein Apr 27, 2019
fc1312f
Live artifact now allows one case of diffing against another: if it i…
LeonBein Apr 27, 2019
304dab2
Adapted tests to reflect addition of tracked files artifact
LeonBein Apr 27, 2019
2345adf
Changed way how live file artifact is created: now storing dummy object
LeonBein Apr 27, 2019
87a02ea
Revert change of artifact creation
LeonBein Apr 27, 2019
0616d96
Adapted test to match their intent and changed way live file artifact…
LeonBein Apr 27, 2019
23db545
All adding of live file artifact is now in image store
LeonBein Apr 27, 2019
24bf16e
Readded tracked dummy object
LeonBein Apr 27, 2019
811fa20
File list artifacts now don't error in file stores outside of git any…
LeonBein Apr 27, 2019
dd0448a
As now again an object is tracked we do not need the adapted collect …
LeonBein Apr 27, 2019
93a036e
Fix some tests: missing metadata and missing knowledge about a file l…
LeonBein Apr 27, 2019
b695c18
Fixes #= on file list artifact
LeonBein Apr 28, 2019
89c814a
Adapted files object class comment and renamed file metadata inst var…
LeonBein Apr 28, 2019
0869dff
Minor fixes
LeonBein Apr 28, 2019
63923a2
Commit missing changes from renaming ownerSnapshot to objectContainer
LeonBein Apr 28, 2019
295ee46
Added warning to file list diff merge with removal
LeonBein Apr 28, 2019
61a0af4
Safer usage of streams in file diff
LeonBein Apr 28, 2019
da8fe55
Minor changes
LeonBein Apr 28, 2019
7299aa7
Remove unnecessary trait from file list diff
LeonBein Apr 28, 2019
6436c3c
Optimized and cleaned collect files in recorder files artifact
LeonBein Apr 28, 2019
214bafb
Shouldnotimplement on content diffs in file list diff (has no content)
LeonBein Apr 28, 2019
77b34b7
Added remote tests to expected failures for now
LeonBein Apr 28, 2019
cef02b4
Fix critical defect: mssing brackets
LeonBein Apr 28, 2019
b738e01
Fix defect: missing brackets
LeonBein Apr 28, 2019
a9629f1
Now always allowing diff between multiple live file lists, however is…
LeonBein Apr 28, 2019
3a870fc
Adapted squot file filtering mask
LeonBein Apr 28, 2019
3abe9ba
Add diffing methods for unrecorded file artifact, if somebody tries t…
LeonBein Apr 28, 2019
843b2a7
Renamed lbgit classes to squot classes
LeonBein Apr 28, 2019
9136020
Removed lbgit baseline and renamed lbgit tests
LeonBein Apr 28, 2019
af7b46e
Fix obsolete class references
LeonBein Apr 28, 2019
1cba414
Fix more obsolete class refs (refactoring tools seem to have failed f…
LeonBein Apr 28, 2019
ed07287
Fix (hopefully) last obsolete class ref
LeonBein Apr 28, 2019
18b0c0e
file list diff now uses right path
LeonBein Apr 28, 2019
d1d4ec6
Added choice to file conflicts
LeonBein May 5, 2019
df3cc88
Added include/exclude behavior to all file diffs; tweaked conflict be…
LeonBein May 5, 2019
c0eed3c
Changed diff dispatch => no nasty typechecking anymore
LeonBein May 5, 2019
4d9a794
Trying to apply a file addition without existing file now throws an e…
LeonBein May 5, 2019
feb3187
Deleted unused method
LeonBein May 5, 2019
edb0cf4
Remove unused SquotFileArtifact and SquotUnacquaintedFileVisitor
j4yk May 5, 2019
879ca03
fixup! Remove unused SquotFileArtifact and SquotUnacquaintedFileVisitor
j4yk May 5, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 4 additions & 2 deletions .squot
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
OrderedDictionary {
'src\/VersionControl.package' : #SquotCypressCodeSerializer,
'src\/Pharo-compatibility.package' : #SquotCypressCodeSerializer,
'src\/FS-Core.package' : #SquotCypressCodeSerializer,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What? There seems to be something fishy here. I have yet to determine the cause.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume pulling the changes from your repository got me a somehow inconsistent image store. It also did not contain the file object at first, as I already commented. Upon committing edb0cf4 I excluded the deletion of the "tracked files" and some other stuff. But I'm not sure if that is related to the problem.

'src\/FS-Memory.package' : #SquotCypressCodeSerializer,
'src\/FS-Disk.package' : #SquotCypressCodeSerializer,
'src\/FS-AnsiStreams.package' : #SquotCypressCodeSerializer,
Expand All @@ -14,5 +13,8 @@ OrderedDictionary {
'src\/FS-Tests-Memory.package' : #SquotCypressCodeSerializer,
'src\/FS-Tests-Disk.package' : #SquotCypressCodeSerializer,
'src\/FS-Tests-AnsiStreams.package' : #SquotCypressCodeSerializer,
'src\/BaselineOfSquot.package' : #SquotCypressCodeSerializer
'src\/BaselineOfSquot.package' : #SquotCypressCodeSerializer,
'src\/LBGit-Core.package' : #SquotCypressCodeSerializer,
'src\/LBGit-Tests.package' : #SquotCypressCodeSerializer,
'src\/BaselineOfLBGit.package' : #SquotCypressCodeSerializer
}
4 changes: 4 additions & 0 deletions src/BaselineOfLBGit.package/.filetree
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"noMethodMetaData" : true,
"separateMethodMetaAndSource" : false,
"useCypressPropertiesFile" : true }
5 changes: 5 additions & 0 deletions src/BaselineOfLBGit.package/.squot-contents
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
SquotTrackedObjectMetadata {
#objectClassName : #PackageInfo,
#objectsReplacedByNames : true,
#serializer : #SquotCypressCodeSerializer
}
2 changes: 2 additions & 0 deletions src/BaselineOfLBGit.package/properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,12 @@ baseline: spec
package: 'FileSystem-Git' with: [
spec requires: #('FS-Core' 'FS-Disk' 'FS-Memory' 'FS-AnsiStreams' 'FS-Tests-Core' 'Pharo-compatibility' 'INIFile' 'VersionControl' ). ];
package: 'Squit' with: [
spec requires: #('FileSystem-Git' 'Squot' 'FS-FileDirectory-Adapters' ). ].
spec requires: #('FileSystem-Git' 'Squot' 'FS-FileDirectory-Adapters' ). ];
package: 'LBGit-Core';
package: 'LBGit-Tests' with: [
spec requires: #('LBGit-Core'). ].
spec
group: 'FileSystemGit' with: #('FileSystem-Git' );
group: 'FileSystem' with: #('FS-Core' 'FS-Disk' 'FS-Memory' 'FS-AnsiStreams' 'FS-FileDirectory-Adapters' );
group: 'tests' with: #('Squit' 'FS-Tests-Core' 'FS-Tests-Disk' 'FS-Tests-Memory' 'FS-Tests-AnsiStreams');
group: 'default' with: #('Squit' 'Squot'). ].
group: 'tests' with: #('Squit' 'FS-Tests-Core' 'FS-Tests-Disk' 'FS-Tests-Memory' 'FS-Tests-AnsiStreams' 'LBGit-Tests');
group: 'default' with: #('Squit' 'Squot' 'LBGit-Core'). ].
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"class" : {
},
"instance" : {
"baseline:" : "jr 1/2/2019 00:52",
"baseline:" : "LB 4/11/2019 11:30",
"projectClass" : "jr 5/4/2017 17:25" } }
4 changes: 4 additions & 0 deletions src/LBGit-Core.package/.filetree
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"noMethodMetaData" : true,
"separateMethodMetaAndSource" : false,
"useCypressPropertiesFile" : true }
5 changes: 5 additions & 0 deletions src/LBGit-Core.package/.squot-contents
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
SquotTrackedObjectMetadata {
#objectClassName : #PackageInfo,
#objectsReplacedByNames : true,
#serializer : #SquotCypressCodeSerializer
}
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
as yet unclassified
applyToContainer: anObjectContainer
"right := right capture."
anObjectContainer removeAt: left path.
^ anObjectContainer add: right
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
as yet unclassified
mergeWithDiff: anArtifactDiff

^ anArtifactDiff inConflictWith: self
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
as yet unclassified
squotChangeAsStringOrText

^ 'Removed: ', right,'
added: ', left
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"class" : {
},
"instance" : {
"applyToContainer:" : "LB 11/20/2018 15:06",
"mergeWithDiff:" : "LB 4/28/2019 11:34",
"squotChangeAsStringOrText" : "LB 2/13/2019 14:04" } }
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"category" : "LBGit-Core",
"classinstvars" : [
],
"classvars" : [
],
"commentStamp" : "",
"instvars" : [
],
"name" : "SquotArtifactReplacementDiff",
"pools" : [
],
"super" : "SquotArtifactDiff",
"type" : "normal" }
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
as yet unclassified
applyWith: aFileListDiff

aFileListDiff createFile: self path
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
as yet unclassified
before

^ String empty
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
as yet unclassified
title

^ 'Added: ', self path
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"class" : {
},
"instance" : {
"applyWith:" : "LB 11/25/2018 16:39",
"before" : "LB 11/23/2018 18:43",
"title" : "LB 11/23/2018 18:52" } }
14 changes: 14 additions & 0 deletions src/LBGit-Core.package/SquotFileAddition.class/properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"category" : "LBGit-Core",
"classinstvars" : [
],
"classvars" : [
],
"commentStamp" : "",
"instvars" : [
],
"name" : "SquotFileAddition",
"pools" : [
],
"super" : "SquotFileDiff",
"type" : "normal" }
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
as yet unclassified
left: leftFileDiff right: rightFileDiff

^ self new
leftChange: leftFileDiff;
rightChange: rightFileDiff;
yourself
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
as yet unclassified
applyWith: aFileListDiff
"A conflict cannot be applied - only the diff that has been chosen can"
self error: 'Conflict must be resolved first'.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
as yet unclassified
asDiffNode

^ SquotMergeDiffNode
title: self title
content: self
children: #()
onInclude: []
onExclude: []
onReset: []
11 changes: 11 additions & 0 deletions src/LBGit-Core.package/SquotFileConflict.class/instance/body.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
as yet unclassified
body

^
('Loaded change: ', self leftChange title) asText allBold, '

', self leftChange body, '

',('Incoming change: ', self rightChange title) asText allBold, '

', self rightChange body
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
as yet unclassified
excludeIn: aSquotFileListDiff

super excludeIn: aSquotFileListDiff.
self leftChange includeIn: aSquotFileListDiff.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
as yet unclassified
includeIn: aSquotFileListDiff

super excludeIn: aSquotFileListDiff.
self rightChange includeIn: aSquotFileListDiff.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
as yet unclassified
isConflict

^ true
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
leftChange: anObject

leftChange := anObject.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
leftChange

^ leftChange
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
as yet unclassified
resetIn: aSquotFileListDiff

self leftChange excludeIn: aSquotFileListDiff.
self rightChange excludeIn: aSquotFileListDiff.
super includeIn: aSquotFileListDiff.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
rightChange: anObject

rightChange := anObject.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
rightChange

^ rightChange
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
as yet unclassified
title

^ 'Conflicting changes for: ', self path
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"class" : {
"left:right:" : "LB 11/25/2018 16:22" },
"instance" : {
"applyWith:" : "LB 5/5/2019 12:21",
"asDiffNode" : "LB 5/5/2019 12:16",
"body" : "LB 11/25/2018 16:35",
"excludeIn:" : "LB 5/5/2019 12:17",
"includeIn:" : "LB 5/5/2019 12:17",
"isConflict" : "LB 5/5/2019 12:16",
"leftChange" : "LB 11/25/2018 16:22",
"leftChange:" : "LB 11/25/2018 16:22",
"resetIn:" : "LB 5/5/2019 12:18",
"rightChange" : "LB 11/25/2018 16:22",
"rightChange:" : "LB 11/25/2018 16:22",
"title" : "LB 11/25/2018 16:20" } }
15 changes: 15 additions & 0 deletions src/LBGit-Core.package/SquotFileConflict.class/properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"category" : "LBGit-Core",
"classinstvars" : [
],
"classvars" : [
],
"commentStamp" : "",
"instvars" : [
"leftChange",
"rightChange" ],
"name" : "SquotFileConflict",
"pools" : [
],
"super" : "SquotFileDiff",
"type" : "normal" }
Empty file.
4 changes: 4 additions & 0 deletions src/LBGit-Core.package/SquotFileDiff.class/instance/after.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
after

^ self contentsOf: (self parent rightReferenceOn: self path)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
as yet unclassified
applyWith: aFileListDiff

^ self subclassResponsibility
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
as yet unclassified
asDiffNode

^ SquotDiffNode
title: self title
content: self
children: #()
onInclude: []
onExclude: []
4 changes: 4 additions & 0 deletions src/LBGit-Core.package/SquotFileDiff.class/instance/before.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
before

^ self contentsOf: (self parent leftReferenceOn: self path)
4 changes: 4 additions & 0 deletions src/LBGit-Core.package/SquotFileDiff.class/instance/body.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
body

^ TextDiffBuilder buildDisplayPatchFrom: self before to: self after
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
accessing
contentsOf: aReference

^ aReference readStreamDo:
[:stream |
stream binary.
stream contents]
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
as yet unclassified
excludeIn: aSquotFileListDiff

aSquotFileListDiff diffs remove: self.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
as yet unclassified
includeIn: aSquotFileListDiff

aSquotFileListDiff diffs add: self.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
as yet unclassified
isConflict

^ false
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
as yet unclassified
mergeWith: anotherFileDiff

^ (SquotFileConflict left: self right: anotherFileDiff)
path: self path;
yourself
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
parent: aLBGitFileListDiff

parent := aLBGitFileListDiff.
4 changes: 4 additions & 0 deletions src/LBGit-Core.package/SquotFileDiff.class/instance/parent.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
parent

^ parent
4 changes: 4 additions & 0 deletions src/LBGit-Core.package/SquotFileDiff.class/instance/path..st
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
path: anObject

path := anObject.
4 changes: 4 additions & 0 deletions src/LBGit-Core.package/SquotFileDiff.class/instance/path.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
path

^ path
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
as yet unclassified
printOn: aStream

super printOn: aStream.
aStream nextPutAll: '(''', self path, ''')'.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
as yet unclassified
resetIn: aSquotFileListDiff

"Per default, reset is needed only for conflicts"
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
as yet unclassified
squotChangeAsStringOrText

^
self title asText allBold, '

', self body
Loading