From db6c1808c4de56badd638b9f82229795124c08ad Mon Sep 17 00:00:00 2001 From: chris johnston Date: Sun, 16 Sep 2018 17:31:14 +0100 Subject: [PATCH] fix: Property changes will show in SCM view and be committed, fixes #254 --- src/repository.ts | 1 - src/svnRepository.ts | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/repository.ts b/src/repository.ts index 8548622c..36dbb56f 100644 --- a/src/repository.ts +++ b/src/repository.ts @@ -376,7 +376,6 @@ export class Repository { if (status.path === ".") { this.isIncomplete = status.status === Status.INCOMPLETE; this.needCleanUp = status.wcStatus.locked; - continue; } // If exists a switched item, the repository is incomplete diff --git a/src/svnRepository.ts b/src/svnRepository.ts index 58f69c7d..011515dc 100644 --- a/src/svnRepository.ts +++ b/src/svnRepository.ts @@ -45,6 +45,10 @@ export class Repository { file = path.relative(this.workspaceRoot, file); + if (file === "") { + file = "."; + } + // Fix Peg Revision Algorithm (http://svnbook.red-bean.com/en/1.8/svn.advanced.pegrevs.html) if (/@/.test(file)) { file += "@";