summaryrefslogtreecommitdiff
path: root/common/modules/config.jsm
diff options
context:
space:
mode:
Diffstat (limited to 'common/modules/config.jsm')
-rw-r--r--common/modules/config.jsm2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/modules/config.jsm b/common/modules/config.jsm
index 9743df7c..d1680f73 100644
--- a/common/modules/config.jsm
+++ b/common/modules/config.jsm
@@ -130,7 +130,7 @@ var ConfigBase = Class("ConfigBase", {
branch: Class.memoize(function () {
if (this.haveHg)
return io.system(this.haveHg.concat(["branch"])).output;
- return (/pre-hg\d+-(.*)$/.exec(this.version) || [])[1];
+ return (/pre-hg\d+-(\S*)$/.exec(this.version) || [])[1];
}),
/** @property {string} The Dactyl version string. */