From ee41f49fc5467517e3bb511f15e2318b2d0de4b5 Mon Sep 17 00:00:00 2001 From: Edgard Lorraine Messias Date: Mon, 3 Jun 2019 09:58:37 -0300 Subject: [PATCH] fix: Fixed diff for files with "@" (close #223) (#595) --- src/svnRepository.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/svnRepository.ts b/src/svnRepository.ts index 2b9744b7..e2d407c5 100644 --- a/src/svnRepository.ts +++ b/src/svnRepository.ts @@ -186,7 +186,7 @@ export class Repository { let target: string = this.removeAbsolutePath(filePath); if (revision) { args.push("-r", revision); - if (["BASE", "COMMITTED", "PREV"].includes(revision.toUpperCase())) { + if (!["BASE", "COMMITTED", "PREV"].includes(revision.toUpperCase())) { const info = await this.getInfo(); target = info.url + "/" + target.replace(/\\/g, "/"); // TODO move to SvnRI