Commit 3529954d authored by laforge@chromium.org's avatar laforge@chromium.org

Fix branching regex to match .*? and not /d+ so that it will match "249s" in

addition to "249"
Review URL: http://codereview.chromium.org/553108

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@37203 0039d316-1c4b-4281-b951-d872f2087c98
parent 172b6e74
......@@ -39,7 +39,7 @@ Example: %(app)s --revert 12345 --branch 187
export_map_ = None
files_info_ = None
delete_map_ = None
file_pattern_ = r"[ ]+([MADUC])[ ]+/((?:trunk|branches/\d+)/src(.*)/(.*))"
file_pattern_ = r"[ ]+([MADUC])[ ]+/((?:trunk|branches/.*?)/src(.*)/(.*))"
def deltree(root):
"""Removes a given directory"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment