InvalidChange.st
author Claus Gittinger <cg@exept.de>
Sun, 12 May 2019 13:22:00 +0200
changeset 4421 d992c2e999b4
parent 4072 de6c442df73b
child 4074 533d1c715e83
permissions -rw-r--r--
#DOCUMENTATION by cg class: SourceCodeManagerUtilities comment/format in: #askForExistingRevision:title:class:manager:module:package:fileName:
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3114
a9f42d2b0928 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2998
diff changeset
     1
"
a9f42d2b0928 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2998
diff changeset
     2
 COPYRIGHT (c) 2012 by eXept Software AG
a9f42d2b0928 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2998
diff changeset
     3
              All Rights Reserved
a9f42d2b0928 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2998
diff changeset
     4
a9f42d2b0928 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2998
diff changeset
     5
 This software is furnished under a license and may be used
a9f42d2b0928 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2998
diff changeset
     6
 only in accordance with the terms of that license and with the
a9f42d2b0928 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2998
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
a9f42d2b0928 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2998
diff changeset
     8
 be provided or otherwise made available to, or used by, any
a9f42d2b0928 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2998
diff changeset
     9
 other person.  No title to or ownership of the software is
a9f42d2b0928 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2998
diff changeset
    10
 hereby transferred.
a9f42d2b0928 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2998
diff changeset
    11
"
2744
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    12
"{ Package: 'stx:libbasic3' }"
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    13
4072
de6c442df73b #OTHER by mawalch
mawalch
parents: 3114
diff changeset
    14
"{ NameSpace: Smalltalk }"
de6c442df73b #OTHER by mawalch
mawalch
parents: 3114
diff changeset
    15
2744
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    16
Change subclass:#InvalidChange
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    17
	instanceVariableNames:''
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    18
	classVariableNames:''
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    19
	poolDictionaries:''
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    20
	category:'System-Changes'
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    21
!
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    22
2998
9a38e9302dd6 comments
Claus Gittinger <cg@exept.de>
parents: 2744
diff changeset
    23
!InvalidChange class methodsFor:'documentation'!
9a38e9302dd6 comments
Claus Gittinger <cg@exept.de>
parents: 2744
diff changeset
    24
3114
a9f42d2b0928 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2998
diff changeset
    25
copyright
a9f42d2b0928 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2998
diff changeset
    26
"
a9f42d2b0928 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2998
diff changeset
    27
 COPYRIGHT (c) 2012 by eXept Software AG
a9f42d2b0928 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2998
diff changeset
    28
              All Rights Reserved
a9f42d2b0928 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2998
diff changeset
    29
a9f42d2b0928 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2998
diff changeset
    30
 This software is furnished under a license and may be used
a9f42d2b0928 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2998
diff changeset
    31
 only in accordance with the terms of that license and with the
a9f42d2b0928 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2998
diff changeset
    32
 inclusion of the above copyright notice.   This software may not
a9f42d2b0928 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2998
diff changeset
    33
 be provided or otherwise made available to, or used by, any
a9f42d2b0928 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2998
diff changeset
    34
 other person.  No title to or ownership of the software is
a9f42d2b0928 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2998
diff changeset
    35
 hereby transferred.
a9f42d2b0928 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2998
diff changeset
    36
a9f42d2b0928 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2998
diff changeset
    37
"
a9f42d2b0928 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2998
diff changeset
    38
!
a9f42d2b0928 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2998
diff changeset
    39
2998
9a38e9302dd6 comments
Claus Gittinger <cg@exept.de>
parents: 2744
diff changeset
    40
documentation
9a38e9302dd6 comments
Claus Gittinger <cg@exept.de>
parents: 2744
diff changeset
    41
"
9a38e9302dd6 comments
Claus Gittinger <cg@exept.de>
parents: 2744
diff changeset
    42
    I represent unhandled change chunks (in a changeFile)
9a38e9302dd6 comments
Claus Gittinger <cg@exept.de>
parents: 2744
diff changeset
    43
"
9a38e9302dd6 comments
Claus Gittinger <cg@exept.de>
parents: 2744
diff changeset
    44
! !
2744
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    45
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    46
!InvalidChange methodsFor:'applying'!
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    47
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    48
apply
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    49
    ^ self error:'Invalid change, cannot apply'
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    50
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    51
    "Modified: / 24-01-2012 / 16:50:52 / Jan Vrany <jan.vrany@fit.cvut.cz>"
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    52
! !
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    53
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    54
!InvalidChange methodsFor:'printing & storing'!
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    55
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    56
printOn:aStream
4072
de6c442df73b #OTHER by mawalch
mawalch
parents: 3114
diff changeset
    57
    "append a printed representation of the receiver to the argument, aStream"
2744
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    58
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    59
    aStream nextPutAll: 'Invalid change'
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    60
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    61
    "Modified: / 24-01-2012 / 16:51:56 / Jan Vrany <jan.vrany@fit.cvut.cz>"
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    62
! !
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    63
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    64
!InvalidChange class methodsFor:'documentation'!
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    65
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    66
version
4072
de6c442df73b #OTHER by mawalch
mawalch
parents: 3114
diff changeset
    67
    ^ '$Header$'
2744
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    68
!
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    69
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    70
version_CVS
4072
de6c442df73b #OTHER by mawalch
mawalch
parents: 3114
diff changeset
    71
    ^ '$Header$'
2744
f4e60b8ad090 initial checkin
vrany
parents:
diff changeset
    72
! !
2998
9a38e9302dd6 comments
Claus Gittinger <cg@exept.de>
parents: 2744
diff changeset
    73