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