Commit 61c5fdf4 authored by mal@chromium.org's avatar mal@chromium.org

Don't throw an exception for files with only property changes.

R= maruel
See also: http://codereview.chromium.org/99317

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15157 0039d316-1c4b-4281-b951-d872f2087c98
parent edd27d17
...@@ -136,14 +136,16 @@ def GetSVNStatus(file): ...@@ -136,14 +136,16 @@ def GetSVNStatus(file):
status_letter = { status_letter = {
'': ' ', '': ' ',
'unversioned': '?',
'modified': 'M',
'added': 'A', 'added': 'A',
'conflicted': 'C', 'conflicted': 'C',
'deleted': 'D', 'deleted': 'D',
'ignored': 'I', 'ignored': 'I',
'missing': '!',
'modified': 'M',
'normal': ' ',
'replaced': 'R', 'replaced': 'R',
# TODO(maruel): Find the corresponding strings for X, !, ~ 'unversioned': '?',
# TODO(maruel): Find the corresponding strings for X, ~
} }
dom = ParseXML(RunShell(command)) dom = ParseXML(RunShell(command))
results = [] results = []
......
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