Revert changes to GetCachedFile() in r30414, r30910, r31586, and go back to the behavior before I started messing with it. It turns out it's not worth the hassle to try and "clean this up"; we depend on the current convoluted semantics, which is to crawl up the tree from the current dir looking for codereview.settings files, but to only ever look for PRESUBMIT.py in the root of the repo. Trying to unify the logic seems to be too painful.
Revert changes to GetCachedFile() in r30414, r30910, r31586, and go back to
the behavior before I started messing with it. It turns out it's not worth the
hassle to try and "clean this up"; we depend on the current convoluted
semantics, which is to crawl up the tree from the current dir looking for
codereview.settings files, but to only ever look for PRESUBMIT.py in the
root of the repo. Trying to unify the logic seems to be too painful.

   BUG=none
   R=maruel@chromium.org
   TEST=none

Review URL: http://codereview.chromium.org/387067

git-svn-id: fd409f4bdeea2bb50a5d34bb4d4bfc2046a5a3dd@33648 0039d316-1c4b-4281-b951-d872f2087c98

HackFisher/depot_tools,chinmaygarde/depot_tools,ajohnson23/depot_tools,jankeromnes/depot_tools,fracting/depot_tools,disigma/depot_tools,kaiix/depot_tools,cpanelli/-git-clone-https-chromium.googlesource.com-chromium-tools-depot_tools,Midrya/chromium,HackFisher/depot_tools,kromain/chromium-tools,duanwujie/depot_tools,hsharsha/depot_tools,cybertk/depot_tools,coreos/depot_tools,Phonebooth/depot_tools,smikes/depot_tools,cybertk/depot_tools,primiano/depot_tools,eatbyte/depot_tools,mlufei/depot_tools,smikes/depot_tools,kromain/chromium-tools,G-P-S/depot_tools,Phonebooth/depot_tools,SuYiling/chrome_depot_tools,coreos/depot_tools,kromain/chromium-tools,cybertk/depot_tools,xuyuhan/depot_tools,duongbaoduy/gtools,cpanelli/-git-clone-https-chromium.googlesource.com-chromium-tools-depot_tools,airtimemedia/depot_tools,G-P-S/depot_tools,Phonebooth/depot_tools,SuYiling/chrome_depot_tools,ajohnson23/depot_tools,withtone/depot_tools,coreos/depot_tools,primiano/depot_tools,Chilledheart/depot_tools,jankeromnes/depot_tools,Neozaru/depot_tools,npe9/depot_tools,fanjunwei/depot_tools,smikes/depot_tools,fanjunwei/depot_tools,CoherentLabs/depot_tools,azureplus/chromium_depot_tools,kaiix/depot_tools,smikes/depot_tools,mlufei/depot_tools,sarvex/depot-tools,fracting/depot_tools,G-P-S/depot_tools,cybertk/depot_tools,Neozaru/depot_tools,sarvex/depot-tools,coreos/depot_tools,jankeromnes/depot_tools,gcodetogit/depot_tools,aleonliao/depot_tools,aleonliao/depot_tools,azureplus/chromium_depot_tools,coreos/depot_tools,jankeromnes/depot_tools,jankeromnes/depot_tools,duanwujie/depot_tools,coreos/depot_tools,Chilledheart/depot_tools,Neozaru/depot_tools,xuyuhan/depot_tools,kromain/chromium-tools,disigma/depot_tools,sarvex/depot-tools,eatbyte/depot_tools,HackFisher/depot_tools,chinmaygarde/depot_tools,azunite/chrome_build,yetu/repotools,Chilledheart/depot_tools,chinmaygarde/depot_tools,xuyuhan/depot_tools,gcodetogit/depot_tools,yetu/repotools,fanjunwei/depot_tools,Neozaru/depot_tools,SuYiling/chrome_depot_tools,michalliu/chromium-depot_tools,G-P-S/depot_tools,michalliu/chromium-depot_tools,michalliu/chromium-depot_tools,eatbyte/depot_tools,Chilledheart/depot_tools,azunite/chrome_build,ajohnson23/depot_tools,airtimemedia/depot_tools,liaorubei/depot_tools,liaorubei/depot_tools,npe9/depot_tools,withtone/depot_tools,aleonliao/depot_tools,airtimemedia/depot_tools,withtone/depot_tools,michalliu/chromium-depot_tools,duanwujie/depot_tools,CoherentLabs/depot_tools,npe9/depot_tools,duongbaoduy/gtools,eatbyte/depot_tools,kaiix/depot_tools,disigma/depot_tools,azunite/chrome_build,jankeromnes/depot_tools,yetu/repotools,xuyuhan/depot_tools,duongbaoduy/gtools,liaorubei/depot_tools,jankeromnes/depot_tools,Midrya/chromium,mlufei/depot_tools,npe9/depot_tools,cpanelli/-git-clone-https-chromium.googlesource.com-chromium-tools-depot_tools,smikes/depot_tools,liaorubei/depot_tools,azureplus/chromium_depot_tools,Phonebooth/depot_tools,HackFisher/depot_tools,fracting/depot_tools,gcodetogit/depot_tools,Neozaru/depot_tools,hsharsha/depot_tools,Midrya/chromium,Chilledheart/depot_tools,cybertk/depot_tools,fanjunwei/depot_tools,sarvex/depot-tools,hsharsha/depot_tools,primiano/depot_tools,airtimemedia/depot_tools