Compare commits
No commits in common. "a424c855fc11552ed634ec1974a43137b1c3872a" and "15355bfe956e9d7d4e4cff409530952d2fffe054" have entirely different histories.
a424c855fc
...
15355bfe95
@ -35,15 +35,11 @@ FossilRepo class >> executable: aPathString [
|
|||||||
|
|
||||||
{ #category : #'instance creation' }
|
{ #category : #'instance creation' }
|
||||||
FossilRepo class >> local: aFilePath repository: aFossilFilePath [
|
FossilRepo class >> local: aFilePath repository: aFossilFilePath [
|
||||||
|
|
||||||
| repo |
|
^ self new
|
||||||
repo := self new
|
|
||||||
local: aFilePath;
|
local: aFilePath;
|
||||||
repository: aFossilFilePath.
|
repository: aFossilFilePath;
|
||||||
repo remote = 'off'
|
yourself
|
||||||
ifTrue: [ repo remote: nil ]
|
|
||||||
ifFalse: [ repo remote: repo remote ].
|
|
||||||
^ repo
|
|
||||||
]
|
]
|
||||||
|
|
||||||
{ #category : #accessing }
|
{ #category : #accessing }
|
||||||
@ -173,19 +169,6 @@ FossilRepo >> createPage: pageName [
|
|||||||
^ NeoJSONReader fromString: (self jsonWikiDataFor: 'create/', pageName)
|
^ NeoJSONReader fromString: (self jsonWikiDataFor: 'create/', pageName)
|
||||||
]
|
]
|
||||||
|
|
||||||
{ #category : #accessing }
|
|
||||||
FossilRepo >> delete: fileRelativePath [
|
|
||||||
"I delete a file to the working Fossil repository, given that both, the file and the repositor,
|
|
||||||
share the same root directory/folder."
|
|
||||||
|
|
||||||
OSSUnixSubprocess new
|
|
||||||
command: self class locateExecutable;
|
|
||||||
workingDirectory: self localRoot;
|
|
||||||
arguments: { 'delete' . fileRelativePath };
|
|
||||||
redirectStdout;
|
|
||||||
runAndWaitOnExitDo: [ :process :outString | ^ outString ]
|
|
||||||
]
|
|
||||||
|
|
||||||
{ #category : #accessing }
|
{ #category : #accessing }
|
||||||
FossilRepo >> diff [
|
FossilRepo >> diff [
|
||||||
|
|
||||||
@ -454,11 +437,7 @@ FossilRepo >> remote [
|
|||||||
|
|
||||||
{ #category : #accessing }
|
{ #category : #accessing }
|
||||||
FossilRepo >> remote: anUrlString [
|
FossilRepo >> remote: anUrlString [
|
||||||
|
remote := anUrlString asUrl
|
||||||
anUrlString
|
|
||||||
ifNil: [ remote := anUrlString ]
|
|
||||||
ifNotNil: [ remote := anUrlString asUrl ]
|
|
||||||
|
|
||||||
]
|
]
|
||||||
|
|
||||||
{ #category : #accessing }
|
{ #category : #accessing }
|
||||||
|
Loading…
Reference in New Issue
Block a user