DescriptionCause cros_workon to die rather than clobber local_manifest
cros_workon would clobber local edits to local_manifest in many cases
This is a quick fix to prevent it. The proper solution is to actually parse
local_manifest as an XML doc and modify the DOM. Not play tricks with grep.
BUG=chromium-os:6272
TEST=Ran cros_workon against missing local_manifest, auto-generated local_manifest, local_manifest with indented tags. local_manifest with multi-line tags and local_manifest with <remote tags.
Patch Set 1 #Patch Set 2 : Added a test for case issues in tags #Patch Set 3 : Changed greps to use -q instead of redirects #Messages
Total messages: 9 (0 generated)
|