Implementing the revert
command.
This commit is contained in:
parent
d90f1409fb
commit
63f818ff03
@ -444,6 +444,19 @@ FossilRepo >> repository: aFossilRepoFile [
|
||||
repository := aFossilRepoFile "fullName"
|
||||
]
|
||||
|
||||
{ #category : #operation }
|
||||
FossilRepo >> revert: aRelativeFilePath [
|
||||
"I add 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;
|
||||
arguments: { 'revert' . aRelativeFilePath };
|
||||
workingDirectory: self localRoot;
|
||||
redirectStdout;
|
||||
runAndWaitOnExitDo: [ :process :outString | ^ outString ]
|
||||
]
|
||||
|
||||
{ #category : #accessing }
|
||||
FossilRepo >> revertRemoteUnversioned [
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user