author | fm |
Thu, 08 Oct 2009 13:58:12 +0200 | |
changeset 298 | 30f2cff79ca7 |
parent 174 | 48fd0bc09710 |
child 471 | b0a3517e2a98 |
permissions | -rw-r--r-- |
53 | 1 |
"{ Package: 'cvut:stx/goodies/libsvn' }" |
2 |
||
3 |
"{ NameSpace: SVN }" |
|
4 |
||
5 |
Command subclass:#CreateRepositoryCommand |
|
6 |
instanceVariableNames:'repositoryPath' |
|
7 |
classVariableNames:'' |
|
8 |
poolDictionaries:'' |
|
9 |
category:'SVN-Private-Commands' |
|
10 |
! |
|
11 |
||
12 |
||
13 |
!CreateRepositoryCommand methodsFor:'accessing'! |
|
14 |
||
15 |
repositoryPath |
|
16 |
^ repositoryPath |
|
17 |
! |
|
18 |
||
19 |
repositoryPath:aString |
|
20 |
repositoryPath := aString. |
|
21 |
! ! |
|
22 |
||
23 |
!CreateRepositoryCommand methodsFor:'executing - private'! |
|
24 |
||
25 |
svnCmd |
|
26 |
"raise an error: must be redefined in concrete subclass(es)" |
|
27 |
||
28 |
^'create' |
|
29 |
||
30 |
"Modified: / 08-04-2009 / 20:36:48 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
31 |
! |
|
32 |
||
33 |
svnCmdArgumentsOn:argStream |
|
34 |
"raise an error: must be redefined in concrete subclass(es)" |
|
35 |
||
36 |
argStream nextPut: repositoryPath |
|
37 |
||
38 |
"Modified: / 08-04-2009 / 21:36:53 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
39 |
! |
|
40 |
||
41 |
svnGlobalArgumentsOn: argStream |
|
42 |
||
43 |
"No global arguments" |
|
44 |
||
45 |
"Created: / 08-04-2009 / 20:38:41 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
46 |
! |
|
47 |
||
48 |
svnProcessCommandOutput:svnStdoutStream err:svnStderrStream |
|
49 |
||
50 |
"Nothing to do" |
|
51 |
||
52 |
"Modified: / 08-04-2009 / 20:38:13 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
53 |
! |
|
54 |
||
55 |
svnProgram |
|
56 |
||
57 |
^'svnadmin' |
|
58 |
||
59 |
"Created: / 08-04-2009 / 20:36:18 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
60 |
! ! |
|
61 |
||
62 |
!CreateRepositoryCommand class methodsFor:'documentation'! |
|
63 |
||
64 |
version |
|
65 |
^ '$Header$' |
|
174 | 66 |
! |
67 |
||
68 |
version_CVS |
|
69 |
^ '$Header$' |
|
70 |
! |
|
71 |
||
72 |
version_SVN |
|
298
30f2cff79ca7
update #version_SVN with § as keyword expansion character
fm
parents:
174
diff
changeset
|
73 |
^'§Id: SVN__CreateRepositoryCommand.st 68 2009-04-16 11:35:57Z vranyj1 §' |
53 | 74 |
! ! |