commit | 3c5a16d49ce9b81bbc7f7595dda16fb4f7f15ab0 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Mon Feb 13 11:42:50 2017 -0800 |
committer | Tao Bao <tbao@google.com> | Mon Feb 13 12:31:42 2017 -0800 |
tree | 1276864b004ab635acd1578856be29bb31d230d5 | |
parent | 06f3258694c6216a8212cf35efcf4f87a439409a [diff] |
releasetools: Fix a bug in ReviseStashSize(). We check the needed stash size in ReviseStashSize(), and may not generate a stash command if it would exceed the max allowed size. This CL fixes a bug when skipping a stash operation: we shouldn't update the 'stashes' map if a stash command won't be generated. Bug: 35313668 Test: Successfully generate the package that was failing due to the bug. Change-Id: If0a3a5fadda9b4a4edad66a2a5826b5f978400ae