author | convert-repo |
Tue, 09 Aug 2016 03:35:30 +0000 | |
changeset 1178 | 3a6dad9479fd |
parent 896 | 3e4f1058bd40 |
permissions | -rw-r--r-- |
750 | 1 |
" |
2 |
Copyright (c) 2007-2010 Jan Vrany |
|
3 |
Copyright (c) 2009-2010 eXept Software AG |
|
4 |
||
5 |
Permission is hereby granted, free of charge, to any person |
|
6 |
obtaining a copy of this software and associated documentation |
|
7 |
files (the 'Software'), to deal in the Software without |
|
8 |
restriction, including without limitation the rights to use, |
|
9 |
copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
10 |
copies of the Software, and to permit persons to whom the |
|
11 |
Software is furnished to do so, subject to the following |
|
12 |
conditions: |
|
13 |
||
14 |
The above copyright notice and this permission notice shall be |
|
15 |
included in all copies or substantial portions of the Software. |
|
16 |
||
17 |
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, |
|
18 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
|
19 |
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
|
20 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
|
21 |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
|
22 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
23 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
|
24 |
OTHER DEALINGS IN THE SOFTWARE. |
|
25 |
" |
|
468 | 26 |
"{ Package: 'stx:libsvn' }" |
64 | 27 |
|
28 |
"{ NameSpace: SVN }" |
|
29 |
||
492 | 30 |
XMLObject subclass:#RevisionLogEntry |
64 | 31 |
instanceVariableNames:'revision author date message changedPaths' |
32 |
classVariableNames:'' |
|
33 |
poolDictionaries:'' |
|
34 |
category:'SVN-Repository' |
|
35 |
! |
|
36 |
||
750 | 37 |
!RevisionLogEntry class methodsFor:'documentation'! |
38 |
||
39 |
copyright |
|
40 |
" |
|
41 |
Copyright (c) 2007-2010 Jan Vrany |
|
42 |
Copyright (c) 2009-2010 eXept Software AG |
|
43 |
||
44 |
Permission is hereby granted, free of charge, to any person |
|
45 |
obtaining a copy of this software and associated documentation |
|
46 |
files (the 'Software'), to deal in the Software without |
|
47 |
restriction, including without limitation the rights to use, |
|
48 |
copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
49 |
copies of the Software, and to permit persons to whom the |
|
50 |
Software is furnished to do so, subject to the following |
|
51 |
conditions: |
|
52 |
||
53 |
The above copyright notice and this permission notice shall be |
|
54 |
included in all copies or substantial portions of the Software. |
|
55 |
||
56 |
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, |
|
57 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
|
58 |
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
|
59 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
|
60 |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
|
61 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
62 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
|
63 |
OTHER DEALINGS IN THE SOFTWARE. |
|
64 |
||
65 |
" |
|
66 |
! ! |
|
67 |
||
68 |
!RevisionLogEntry class methodsFor:'others'! |
|
69 |
||
70 |
version_CVS |
|
896
3e4f1058bd40
checkin to get version methods correct
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
750
diff
changeset
|
71 |
^ '$Header$' |
750 | 72 |
! ! |
64 | 73 |
|
74 |
!RevisionLogEntry methodsFor:'accessing'! |
|
75 |
||
76 |
author |
|
77 |
^ author |
|
78 |
||
79 |
"Created: / 19-04-2008 / 12:26:50 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
80 |
! |
|
81 |
||
82 |
author:something |
|
83 |
author := something. |
|
84 |
||
85 |
"Created: / 19-04-2008 / 12:26:50 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
86 |
! |
|
87 |
||
88 |
changedPaths |
|
89 |
^ changedPaths ? #() |
|
90 |
||
91 |
"Modified: / 24-06-2009 / 15:10:48 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
92 |
! |
|
93 |
||
94 |
date |
|
95 |
^ date |
|
96 |
||
97 |
"Created: / 19-04-2008 / 12:26:50 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
98 |
! |
|
99 |
||
100 |
date:something |
|
101 |
date := something. |
|
102 |
||
103 |
"Created: / 19-04-2008 / 12:26:50 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
104 |
! |
|
105 |
||
106 |
message |
|
107 |
^ message |
|
108 |
||
109 |
"Created: / 19-04-2008 / 12:26:50 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
110 |
! |
|
111 |
||
112 |
message:something |
|
113 |
message := something. |
|
114 |
||
115 |
"Created: / 19-04-2008 / 12:26:50 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
116 |
! |
|
117 |
||
118 |
revision |
|
119 |
^ revision |
|
120 |
||
121 |
"Created: / 19-04-2008 / 12:26:50 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
122 |
! |
|
123 |
||
124 |
revision:something |
|
125 |
revision := something. |
|
126 |
||
127 |
"Created: / 19-04-2008 / 12:26:50 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
128 |
! ! |
|
129 |
||
130 |
!RevisionLogEntry methodsFor:'instance creation'! |
|
131 |
||
492 | 132 |
readFromXml: xml |
750 | 133 |
revision := SVN::Revision number: xml @ 'revision'. |
64 | 134 |
author := (xml / 'author') characterData. |
135 |
date := Timestamp readISO8601From: (xml / 'date') characterData. |
|
136 |
message := (xml / 'msg') characterData. |
|
750 | 137 |
changedPaths := |
138 |
((xml / 'paths' / 'path') |
|
139 |
collect: [:e | WCActionNotification readFromXml: e ]) |
|
140 |
asSortedCollection:[:e1 :e2|e1 path < e2 path] |
|
64 | 141 |
|
142 |
"Created: / 11-04-2008 / 13:27:47 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
143 |
"Modified: / 18-08-2009 / 14:38:48 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
750 | 144 |
"Modified: / 25-06-2010 / 10:25:09 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
64 | 145 |
! ! |
146 |
||
147 |
!RevisionLogEntry class methodsFor:'documentation'! |
|
148 |
||
149 |
version |
|
896
3e4f1058bd40
checkin to get version methods correct
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
750
diff
changeset
|
150 |
^ '$Header$' |
145 | 151 |
! |
152 |
||
153 |
version_SVN |
|
896
3e4f1058bd40
checkin to get version methods correct
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
750
diff
changeset
|
154 |
^ '§Id: SVN__RevisionLogEntry.st 363 2011-08-08 13:49:48Z vranyj1 §' |
64 | 155 |
! ! |