Adding unversioned export and sync functionality.
This commit is contained in:
parent
fd35ce21fc
commit
07b3fced0a
@ -204,6 +204,16 @@ FossilRepo >> diff [
|
||||
^ self command: 'diff'
|
||||
]
|
||||
|
||||
{ #category : #accessing }
|
||||
FossilRepo >> exportHTMLUnversioned [
|
||||
|
||||
| htmlFileReferenceFullName |
|
||||
htmlFileReferenceFullName := (self listUnversioned)
|
||||
select: [ :each | each endsWith: '.html' ].
|
||||
htmlFileReferenceFullName do: [ :each | self exportUnversioned: each ].
|
||||
^ htmlFileReferenceFullName
|
||||
]
|
||||
|
||||
{ #category : #accessing }
|
||||
FossilRepo >> exportSTONUnversioned [
|
||||
|
||||
@ -443,6 +453,18 @@ FossilRepo >> repository: aFossilRepoFile [
|
||||
repository := aFossilRepoFile "fullName"
|
||||
]
|
||||
|
||||
{ #category : #accessing }
|
||||
FossilRepo >> revertRemoteUnversioned [
|
||||
|
||||
OSSUnixSubprocess new
|
||||
command: 'fossil';
|
||||
arguments: { 'uv' . 'revert' };
|
||||
workingDirectory: self localRoot;
|
||||
redirectStdout;
|
||||
redirectStderr;
|
||||
runAndWaitOnExitDo: [ :process :outString | ^ outString ]
|
||||
]
|
||||
|
||||
{ #category : #utilities }
|
||||
FossilRepo >> sanitize: aFileNameWithRelativePath [
|
||||
"I dicern if my argument concerns to a versioned or an unversioned file,
|
||||
|
Loading…
Reference in New Issue
Block a user