Skip to content

Commit

Permalink
fix: Fixed diff for files with "@" (close #223) (#595)
Browse files Browse the repository at this point in the history
  • Loading branch information
edgardmessias authored and JohnstonCode committed Jun 3, 2019
1 parent 2d0ed55 commit ee41f49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/svnRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ee41f49

Please sign in to comment.