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
experimental/szager/collated-output
laforge@chromium.org 16 years ago
parent 172b6e7451
commit 3529954d9f

@ -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"""

Loading…
Cancel
Save