Skip to content

Commit b460e27

Browse files
authored
Merge pull request #340 from JohnstonCode/commit-dir-changes
fix: Property changes will show in SCM view and be committed fixes #254
2 parents 3048c2a + 3d90a0e commit b460e27

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/repository.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,6 @@ export class Repository {
380380
if (status.path === ".") {
381381
this.isIncomplete = status.status === Status.INCOMPLETE;
382382
this.needCleanUp = status.wcStatus.locked;
383-
continue;
384383
}
385384

386385
// If exists a switched item, the repository is incomplete

src/svnRepository.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ export class Repository {
4545

4646
file = path.relative(this.workspaceRoot, file);
4747

48+
if (file === "") {
49+
file = ".";
50+
}
51+
4852
// Fix Peg Revision Algorithm (http://svnbook.red-bean.com/en/1.8/svn.advanced.pegrevs.html)
4953
if (/@/.test(file)) {
5054
file += "@";

0 commit comments

Comments
 (0)