Index: chrome/common/extensions/docs/server2/subversion_file_system.py |
diff --git a/chrome/common/extensions/docs/server2/subversion_file_system.py b/chrome/common/extensions/docs/server2/subversion_file_system.py |
index c0ff68c9a1fd7e6c1d64c992b04a2075c20dd7c3..62e0fc4b778afa801e350e280d0a37c8bd6bf29e 100644 |
--- a/chrome/common/extensions/docs/server2/subversion_file_system.py |
+++ b/chrome/common/extensions/docs/server2/subversion_file_system.py |
@@ -54,12 +54,11 @@ class SubversionFileSystem(FileSystem): |
'''Class to fetch resources from src.chromium.org. |
''' |
@staticmethod |
- def Create(branch, revision=None): |
+ def Create(branch='trunk', revision=None): |
if branch == 'trunk': |
svn_path = 'trunk/src/%s' % svn_constants.EXTENSIONS_PATH |
else: |
- svn_path = 'branches/%s/src/%s' % (branch, |
- svn_constants.EXTENSIONS_PATH) |
+ svn_path = 'branches/%s/src/%s' % (branch, svn_constants.EXTENSIONS_PATH) |
return SubversionFileSystem( |
AppEngineUrlFetcher('%s/%s' % (url_constants.SVN_URL, svn_path)), |
AppEngineUrlFetcher('%s/%s' % (url_constants.VIEWVC_URL, svn_path)), |