SVN__DeleteCommand.st
author mawalch
Mon, 08 Aug 2016 20:14:05 +0200
changeset 1177 dc7a7fa9bae9
parent 842 72a8af4cc1ca
permissions -rw-r--r--
#OTHER by mawalch Fix ridiculously propagated typo.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
686
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
     1
"
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
     2
 Copyright (c) 2007-2010 Jan Vrany
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
     3
 Copyright (c) 2009-2010 eXept Software AG
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
     4
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
     5
 Permission is hereby granted, free of charge, to any person
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
     6
 obtaining a copy of this software and associated documentation
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
     7
 files (the 'Software'), to deal in the Software without
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
     8
 restriction, including without limitation the rights to use,
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
     9
 copy, modify, merge, publish, distribute, sublicense, and/or sell
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    10
 copies of the Software, and to permit persons to whom the
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    11
 Software is furnished to do so, subject to the following
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    12
 conditions:
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    13
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    14
 The above copyright notice and this permission notice shall be
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    15
 included in all copies or substantial portions of the Software.
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    16
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    17
 THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    18
 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    19
 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    20
 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    21
 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    22
 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    23
 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    24
 OTHER DEALINGS IN THE SOFTWARE.
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    25
"
402
44f42a1e1fcc *** empty log message ***
fm
parents: 360
diff changeset
    26
"{ Package: 'stx:libsvn' }"
73
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    27
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    28
"{ NameSpace: SVN }"
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    29
492
74ff0960961c *** empty log message ***
fm
parents: 402
diff changeset
    30
WCPathCommand subclass:#DeleteCommand
73
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    31
	instanceVariableNames:''
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    32
	classVariableNames:''
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    33
	poolDictionaries:''
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    34
	category:'SVN-Private-Commands'
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    35
!
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    36
686
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    37
!DeleteCommand class methodsFor:'documentation'!
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    38
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    39
copyright
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    40
"
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    41
 Copyright (c) 2007-2010 Jan Vrany
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    42
 Copyright (c) 2009-2010 eXept Software AG
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    43
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    44
 Permission is hereby granted, free of charge, to any person
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    45
 obtaining a copy of this software and associated documentation
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    46
 files (the 'Software'), to deal in the Software without
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    47
 restriction, including without limitation the rights to use,
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    48
 copy, modify, merge, publish, distribute, sublicense, and/or sell
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    49
 copies of the Software, and to permit persons to whom the
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    50
 Software is furnished to do so, subject to the following
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    51
 conditions:
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    52
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    53
 The above copyright notice and this permission notice shall be
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    54
 included in all copies or substantial portions of the Software.
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    55
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    56
 THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    57
 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    58
 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    59
 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    60
 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    61
 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    62
 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    63
 OTHER DEALINGS IN THE SOFTWARE.
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    64
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    65
"
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    66
! !
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    67
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    68
!DeleteCommand class methodsFor:'others'!
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    69
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    70
version_CVS
842
72a8af4cc1ca checkin to get version methods correct
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 686
diff changeset
    71
    ^ '$Header$'
686
d6e71fff5c5d Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    72
! !
73
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    73
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    74
!DeleteCommand methodsFor:'executing - private'!
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    75
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    76
svnCmd
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    77
    "raise an error: must be redefined in concrete subclass(es)"
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    78
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    79
    ^'delete'
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    80
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    81
    "Created: / 16-03-2008 / 10:14:04 / janfrog"
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    82
!
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    83
492
74ff0960961c *** empty log message ***
fm
parents: 402
diff changeset
    84
svnCmdArgumentsOn:arg
73
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    85
    "raise an error: must be redefined in concrete subclass(es)"
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    86
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    87
    super svnCmdArgumentsOn:arg.
492
74ff0960961c *** empty log message ***
fm
parents: 402
diff changeset
    88
    arg
74ff0960961c *** empty log message ***
fm
parents: 402
diff changeset
    89
	nextPut:'--force'
73
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    90
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    91
    "Created: / 19-04-2008 / 13:09:39 / Jan Vrany <vranyj1@fel.cvut.cz>"
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    92
! !
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    93
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    94
!DeleteCommand class methodsFor:'documentation'!
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    95
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
    96
version
842
72a8af4cc1ca checkin to get version methods correct
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 686
diff changeset
    97
    ^ '$Header$'
164
289ec2b95b3f changed: #version_SVN
fm
parents: 73
diff changeset
    98
!
289ec2b95b3f changed: #version_SVN
fm
parents: 73
diff changeset
    99
289ec2b95b3f changed: #version_SVN
fm
parents: 73
diff changeset
   100
version_SVN
842
72a8af4cc1ca checkin to get version methods correct
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 686
diff changeset
   101
    ^ '§Id: SVN__DeleteCommand.st 362 2011-08-08 13:07:42Z vranyj1 §'
73
7f6cbb20e649 initial checkin
fm
parents:
diff changeset
   102
! !