Skip to content

Commit ee41f49

Browse files
edgardmessiasJohnstonCode
authored andcommitted
fix: Fixed diff for files with "@" (close #223) (#595)
1 parent 2d0ed55 commit ee41f49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/svnRepository.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ export class Repository {
186186
let target: string = this.removeAbsolutePath(filePath);
187187
if (revision) {
188188
args.push("-r", revision);
189-
if (["BASE", "COMMITTED", "PREV"].includes(revision.toUpperCase())) {
189+
if (!["BASE", "COMMITTED", "PREV"].includes(revision.toUpperCase())) {
190190
const info = await this.getInfo();
191191
target = info.url + "/" + target.replace(/\\/g, "/");
192192
// TODO move to SvnRI

0 commit comments

Comments
 (0)