SVN__AddCommand.st
author Claus Gittinger <cg@exept.de>
Fri, 18 Nov 2016 16:14:26 +0100
changeset 1180 92753f6cc822
parent 890 b87c173dfb0d
child 1162 6558c17e1a7f
permissions -rw-r--r--
#REFACTORING by cg class: SVNSourceCodeManager SVNVersionInfo is private
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
731
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
     1
"
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
     2
 Copyright (c) 2007-2010 Jan Vrany
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
     3
 Copyright (c) 2009-2010 eXept Software AG
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
     4
4a7f46bc5c7e 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
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
     6
 obtaining a copy of this software and associated documentation
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
     7
 files (the 'Software'), to deal in the Software without
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
     8
 restriction, including without limitation the rights to use,
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
     9
 copy, modify, merge, publish, distribute, sublicense, and/or sell
4a7f46bc5c7e 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
4a7f46bc5c7e 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
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    12
 conditions:
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    13
4a7f46bc5c7e 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
4a7f46bc5c7e 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.
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    16
4a7f46bc5c7e 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,
4a7f46bc5c7e 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
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    19
 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    20
 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
4a7f46bc5c7e 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,
4a7f46bc5c7e 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
4a7f46bc5c7e 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
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    24
 OTHER DEALINGS IN THE SOFTWARE.
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    25
"
442
9771f0012008 *** empty log message ***
fm
parents: 290
diff changeset
    26
"{ Package: 'stx:libsvn' }"
38
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    27
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    28
"{ NameSpace: SVN }"
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    29
492
74ff0960961c *** empty log message ***
fm
parents: 442
diff changeset
    30
WCPathCommand subclass:#AddCommand
38
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    31
	instanceVariableNames:''
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    32
	classVariableNames:''
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    33
	poolDictionaries:''
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    34
	category:'SVN-Private-Commands'
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    35
!
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    36
731
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    37
!AddCommand class methodsFor:'documentation'!
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    38
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    39
copyright
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    40
"
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    41
 Copyright (c) 2007-2010 Jan Vrany
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    42
 Copyright (c) 2009-2010 eXept Software AG
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    43
4a7f46bc5c7e 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
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    45
 obtaining a copy of this software and associated documentation
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    46
 files (the 'Software'), to deal in the Software without
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    47
 restriction, including without limitation the rights to use,
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    48
 copy, modify, merge, publish, distribute, sublicense, and/or sell
4a7f46bc5c7e 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
4a7f46bc5c7e 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
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    51
 conditions:
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    52
4a7f46bc5c7e 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
4a7f46bc5c7e 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.
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    55
4a7f46bc5c7e 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,
4a7f46bc5c7e 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
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    58
 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    59
 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
4a7f46bc5c7e 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,
4a7f46bc5c7e 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
4a7f46bc5c7e 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
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    63
 OTHER DEALINGS IN THE SOFTWARE.
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    64
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    65
"
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    66
! !
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    67
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    68
!AddCommand class methodsFor:'others'!
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    69
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    70
version_CVS
890
b87c173dfb0d checkin to get version methods correct
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 731
diff changeset
    71
    ^ '$Header$'
731
4a7f46bc5c7e Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 492
diff changeset
    72
! !
38
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    73
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    74
!AddCommand methodsFor:'executing - private'!
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    75
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    76
svnCmd
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    77
    "raise an error: must be redefined in concrete subclass(es)"
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    78
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    79
    ^'add'
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    80
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    81
    "Created: / 16-03-2008 / 10:10:55 / janfrog"
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    82
!
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    83
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    84
svnGlobalArgumentsOn: argStream
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    85
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    86
    "nothing to do"
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    87
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    88
    "Created: / 28-10-2008 / 08:41:08 / Jan Vrany <vranyj1@fel.cvut.cz>"
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    89
! !
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    90
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    91
!AddCommand methodsFor:'initialization'!
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    92
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    93
initialize
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    94
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    95
    paths := OrderedCollection new
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    96
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    97
    "Created: / 16-03-2008 / 10:13:21 / janfrog"
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    98
! !
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
    99
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
   100
!AddCommand class methodsFor:'documentation'!
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
   101
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
   102
version
890
b87c173dfb0d checkin to get version methods correct
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 731
diff changeset
   103
    ^ '$Header$'
189
58eb453d19bf changed: #version_SVN
fm
parents: 38
diff changeset
   104
!
58eb453d19bf changed: #version_SVN
fm
parents: 38
diff changeset
   105
58eb453d19bf changed: #version_SVN
fm
parents: 38
diff changeset
   106
version_SVN
890
b87c173dfb0d checkin to get version methods correct
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 731
diff changeset
   107
    ^ '§Id: SVN__AddCommand.st 363 2011-08-08 13:49:48Z vranyj1 §'
38
b9b3325a6b5d initial checkin
fm
parents:
diff changeset
   108
! !