Bug 470671. Fix client.py's incorrect detection of mozilla-central clone when missing a trailing '/'. r=Standard8
authorPhilippe M. Chiasson <gozer@mozillamessaging.com>
Mon, 22 Dec 2008 11:33:05 -0500
changeset 1482 cf1802da787c12416b7a8c5ba23fb7f2f172aad6
parent 1481 38e8cf481a5ba7d0df81823db3c698b05a9d0363
child 1483 7aa6eab65c6ee39acfc4f60878d6cc75a451906c
push idunknown
push userunknown
push dateunknown
reviewersStandard8
bugs470671
Bug 470671. Fix client.py's incorrect detection of mozilla-central clone when missing a trailing '/'. r=Standard8
client.py
--- a/client.py
+++ b/client.py
@@ -13,17 +13,17 @@ CHATZILLA_DIRS = ('extensions/irc',)
 VENKMAN_DIRS = ('extensions/venkman',)
 
 DEFAULT_COMM_REV = "default"
 # URL of the default hg repository to clone for Mozilla.
 DEFAULT_MOZILLA_REPO = 'http://hg.mozilla.org/releases/mozilla-1.9.1/'
 DEFAULT_MOZILLA_REV = "default"
 
 # REGEX to match against, $1 should refer to protocol scheme
-MOZILLA_TRUNK_REPO_REGEXP = "(ssh|http|https):\/\/hg\.mozilla\.org\/mozilla-central\/$"
+MOZILLA_TRUNK_REPO_REGEXP = "(ssh|http|https):\/\/hg\.mozilla\.org\/mozilla-central\/?$"
 MOZILLA_BASE_REV = "GECKO_1_9_1_BASE"
 
 # URL of the default hg repository to clone for inspector.
 DEFAULT_INSPECTOR_REPO = 'http://hg.mozilla.org/dom-inspector/'
 DEFAULT_INSPECTOR_REV = "default"
 
 import os
 import sys