Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: gm/rebaseline_server/svn.py

Issue 24274003: Create HTTP-based GM results viewer. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: svn_py Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 ''' 1 '''
2 Copyright 2011 Google Inc. 2 Copyright 2011 Google Inc.
epoger 2013/09/24 16:46:40 This file is "svn cp'd" from ../../tools . Should
borenet 2013/09/25 15:08:08 Personally, I'd prefer that these get fixed sooner
epoger 2013/09/25 16:21:18 I made this depend on tools/svn.py. We already ha
3 3
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 ''' 6 '''
7 7
8 import fnmatch 8 import fnmatch
9 import os 9 import os
10 import re 10 import re
11 import subprocess 11 import subprocess
12 12
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 def ExportBaseVersionOfFile(self, file_within_repo, dest_path): 165 def ExportBaseVersionOfFile(self, file_within_repo, dest_path):
166 """Retrieves a copy of the base version (what you would get if you ran 166 """Retrieves a copy of the base version (what you would get if you ran
167 'svn revert') of a file within the repository. 167 'svn revert') of a file within the repository.
168 168
169 @param file_within_repo path to the file within the repo whose base 169 @param file_within_repo path to the file within the repo whose base
170 version you wish to obtain 170 version you wish to obtain
171 @param dest_path destination to which to write the base content 171 @param dest_path destination to which to write the base content
172 """ 172 """
173 self._RunCommand([SVN, 'export', '--revision', 'BASE', 173 self._RunCommand([SVN, 'export', '--revision', 'BASE',
174 file_within_repo, dest_path]) 174 file_within_repo, dest_path])
OLDNEW
« gm/rebaseline_server/static/view.html ('K') | « gm/rebaseline_server/static/view.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698