diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-14 23:45:47 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-14 23:45:47 +0000 |
commit | 4c58b9cfc4a33c252b81b991949891a709f62f99 (patch) | |
tree | ad0b5955ef5022b4f09cd774cc0b889b7acc0a4b /webkit | |
parent | 692027202806966a368d70a4844d18c3b3b1118b (diff) | |
download | chromium_src-4c58b9cfc4a33c252b81b991949891a709f62f99.zip chromium_src-4c58b9cfc4a33c252b81b991949891a709f62f99.tar.gz chromium_src-4c58b9cfc4a33c252b81b991949891a709f62f99.tar.bz2 |
If you use the rebaseline.py script with a .git repo,
it goes into an infinite loop. Instead, just skip the svn add
step and keep going.
Review URL: http://codereview.chromium.org/170017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23495 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/tools/layout_tests/rebaseline.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/webkit/tools/layout_tests/rebaseline.py b/webkit/tools/layout_tests/rebaseline.py index 652c350..2261933 100644 --- a/webkit/tools/layout_tests/rebaseline.py +++ b/webkit/tools/layout_tests/rebaseline.py @@ -422,6 +422,11 @@ class Rebaseliner(object): return False parent_dir, basename = os.path.split(filename) + if parent_dir == filename: + logging.info("No svn checkout found. Assuming it's a git repo and not " + "adding") + return True + original_dir = os.getcwd() os.chdir(parent_dir) status_output = RunShell(['svn', 'status', basename], False) |