From 61c5fdf4e3576b5a2b5c72cba6811357eecf9e8b Mon Sep 17 00:00:00 2001 From: "mal@chromium.org" Date: Sun, 3 May 2009 00:45:57 +0000 Subject: [PATCH] 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 --- gcl.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gcl.py b/gcl.py index f14a86042..e8708aa2c 100755 --- a/gcl.py +++ b/gcl.py @@ -136,14 +136,16 @@ def GetSVNStatus(file): status_letter = { '': ' ', - 'unversioned': '?', - 'modified': 'M', 'added': 'A', 'conflicted': 'C', 'deleted': 'D', 'ignored': 'I', + 'missing': '!', + 'modified': 'M', + 'normal': ' ', 'replaced': 'R', - # TODO(maruel): Find the corresponding strings for X, !, ~ + 'unversioned': '?', + # TODO(maruel): Find the corresponding strings for X, ~ } dom = ParseXML(RunShell(command)) results = []