From 40f4ad31ef55056c07446395ceec7458962f99ce Mon Sep 17 00:00:00 2001 From: "maruel@chromium.org" Date: Tue, 8 May 2012 21:29:24 +0000 Subject: [PATCH] Moving a file in the same directory result in status 'R'. Add support for this status. R=nsylvain@chromium.org BUG= TEST=apply_issue.py -i 10382062 should work now Review URL: https://chromiumcodereview.appspot.com/10375056 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@135912 0039d316-1c4b-4281-b951-d872f2087c98 --- rietveld.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rietveld.py b/rietveld.py index 835f24c2a..cade5b0a3 100644 --- a/rietveld.py +++ b/rietveld.py @@ -113,7 +113,7 @@ class Rietveld(object): # If not status, just assume it's a 'M'. Rietveld often gets it wrong and # just has status: null. Oh well. status = state.get('status') or 'M' - if status[0] not in ('A', 'D', 'M'): + if status[0] not in ('A', 'D', 'M', 'R'): raise patch.UnsupportedPatchFormat( filename, 'Change with status \'%s\' is not supported.' % status)