Updating before migration to Git.
This commit is contained in:
parent
67db468dca
commit
7febe22d33
@ -95,7 +95,28 @@ FossilRepo >> commit: message [
|
||||
arguments: { 'commit' . '--no-warnings' . '-m' . message };
|
||||
workingDirectory: self localFolderName;
|
||||
redirectStdout;
|
||||
runAndWaitOnExitDo: [ :process :outString | ^ outString ]
|
||||
runAndWaitOnExitDo: [ :process :outString | ^ outString ]
|
||||
]
|
||||
|
||||
{ #category : #operation }
|
||||
FossilRepo >> commit: message withEnabledWarnings: aBoolean [
|
||||
"I add a file to the working Fossil repository, given that both, the file and the repositor,
|
||||
share the same root directory/folder."
|
||||
|
||||
| warningCommand |
|
||||
warningCommand := aBoolean
|
||||
ifFalse: [ '' ]
|
||||
ifTrue: [ '--no-warnings' ].
|
||||
OSSUnixSubprocess new
|
||||
command: self class locateExecutable;
|
||||
arguments:
|
||||
{'commit'.
|
||||
warningCommand.
|
||||
'-m'.
|
||||
message};
|
||||
workingDirectory: self localFolderName;
|
||||
redirectStdout;
|
||||
runAndWaitOnExitDo: [ :process :outString | ^ outString ]
|
||||
]
|
||||
|
||||
{ #category : #wiki }
|
||||
@ -145,9 +166,9 @@ FossilRepo >> getPageContentsFor: anEmbeddedDocUrl [
|
||||
|
||||
{ #category : #operation }
|
||||
FossilRepo >> init: absolutePathString [
|
||||
"I add a file to the working Fossil repository, given that both, the file and the repositor,
|
||||
share the same root directory/folder."
|
||||
"I init a repository in a given location."
|
||||
Smalltalk os isWindows ifTrue: [ ^ self ].
|
||||
absolutePathString asFileReference exists ifTrue: [ ^ self ].
|
||||
OSSUnixSubprocess new
|
||||
command: self class locateExecutable;
|
||||
arguments: { 'init' . absolutePathString };
|
||||
|
Loading…
Reference in New Issue
Block a user