diff --git a/package.json b/package.json index fdc5c4b..b80f98d 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "bugs": { "url": "https://github.com/mrcrowl/vscode-hg/issues" }, - "version": "1.1.5", + "version": "1.1.6", "engines": { "vscode": "^1.11.0" }, diff --git a/src/model.ts b/src/model.ts index bd46dd8..070acd2 100644 --- a/src/model.ts +++ b/src/model.ts @@ -944,7 +944,7 @@ export class Model implements Disposable { const onHgChange = mapEvent(onRawHgChange, ({ filename }) => Uri.file(path.join(dotHgPath, filename))); const onRelevantHgChange = filterEvent(onHgChange, uri => { - const isRelevant = !/[\\\/]\.hg[\\\/](\w?lock.*|.*\.log(-\w+)?)$/.test(uri.fsPath); + const isRelevant = !/[\\\/]\.hg[\\\/](\w?lock.*|.*\.log([-\.]\w+)?)$/.test(uri.fsPath); return isRelevant; }); const onHgrcChange = filterEvent(onHgChange, uri => {