| Index: tools/dartium/multivm_archive.py
|
| diff --git a/tools/dartium/multivm_archive.py b/tools/dartium/multivm_archive.py
|
| index 601adc37304693bbd8ea1c28fc29337e5ef60311..499532ce58acea21a46e2466e289dfd8642bd796 100755
|
| --- a/tools/dartium/multivm_archive.py
|
| +++ b/tools/dartium/multivm_archive.py
|
| @@ -22,15 +22,19 @@ import upload_steps
|
| SRC_PATH = dartium_bot_utils.srcPath()
|
|
|
| def main():
|
| - multivm_deps = os.path.join(os.path.dirname(SRC_PATH), 'multivm.deps')
|
| - revision_directory = (multivm_deps if (os.path.isdir(multivm_deps))
|
| - else os.path.join(SRC_PATH, 'dart'))
|
| - output, _ = subprocess.Popen(['svn', 'info'],
|
| - stdout=subprocess.PIPE,
|
| - stderr=subprocess.STDOUT,
|
| - shell=(platform.system() == 'Windows'),
|
| - cwd=revision_directory).communicate()
|
| - revision = re.search('Last Changed Rev: (\d+)', output).group(1)
|
| + if (upload_steps.BuildInfo('', '').channel == 'be'):
|
| + revision = sys.argv[1]
|
| + else:
|
| + multivm_deps = os.path.join(os.path.dirname(SRC_PATH), 'multivm.deps')
|
| + revision_directory = (multivm_deps if (os.path.isdir(multivm_deps))
|
| + else os.path.join(SRC_PATH, 'dart'))
|
| + output, _ = subprocess.Popen(['svn', 'info'],
|
| + stdout=subprocess.PIPE,
|
| + stderr=subprocess.STDOUT,
|
| + shell=(platform.system() == 'Windows'),
|
| + cwd=revision_directory).communicate()
|
| + revision = re.search('Last Changed Rev: (\d+)', output).group(1)
|
| +
|
| version = revision + '.0'
|
| info = upload_steps.BuildInfo(version, revision)
|
| if info.is_build:
|
|
|