Debugging sanitize.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2019-04-08 21:31:05 +00:00
parent e6725fb9f3
commit d9d7a86dbd
1 changed files with 2 additions and 1 deletions

View File

@ -147,9 +147,10 @@ FossilRepo >> remote: anUrlString [
{ #category : #utilities }
FossilRepo >> sanitize: aFileNameWithRelativePath [
"I dicern if my argument concerns to a versioned or an unversioned file,
and return a relative path to put the fileb."
and return a relative path to put the file."
(aFileNameWithRelativePath beginsWith: '/uv')
ifFalse: [ ^ aFileNameWithRelativePath ]
ifTrue: [ ^ (aFileNameWithRelativePath copyFrom: 5 to: aFileNameWithRelativePath size) ]
]