commit 7a5024df6e7b70fc8a72f7f4ee02562d1bff7e1a
parent af5f526ad10adf6a94125a43d973d6774d795d52
Author: Dan Stillman <dstillman@zotero.org>
Date: Fri, 28 Oct 2011 01:27:04 -0400
Change "SVN" references to "source"
Diffstat:
4 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js
@@ -434,7 +434,7 @@ Zotero.Schema = new function(){
/**
* Update styles and translators in data directory with versions from
- * ZIP file (XPI) or directory (SVN) in extension directory
+ * ZIP file (XPI) or directory (source) in extension directory
*
* @param {String} [mode] 'translators' or 'styles'
* @param {Boolean} [skipDeleteUpdated] Skip updating of the file deleting version --
@@ -507,7 +507,7 @@ Zotero.Schema = new function(){
var deleted = extDir.clone();
deleted.append('deleted.txt');
- // In SVN builds, deleted.txt is in the translators directory
+ // In source builds, deleted.txt is in the translators directory
if (!deleted.exists()) {
deleted = extDir.clone();
deleted.append('translators');
@@ -730,7 +730,7 @@ Zotero.Schema = new function(){
zipReader.close();
}
- // SVN installation
+ // Source installation
else {
var sourceDir = extDir.clone();
sourceDir.append(modes);
@@ -746,7 +746,7 @@ Zotero.Schema = new function(){
while (entries.hasMoreElements()) {
var file = entries.getNext();
file.QueryInterface(Components.interfaces.nsIFile);
- // File might not exist in an SVN build with style symlinks
+ // File might not exist in an source build with style symlinks
if (!file.exists()
|| !file.leafName.match(fileNameRE)
|| file.isDirectory()) {
@@ -759,7 +759,7 @@ Zotero.Schema = new function(){
}
}
- // Don't attempt installation for SVN build with missing styles
+ // Don't attempt installation for source build with missing styles
if (!sourceFilesExist) {
Zotero.debug("No source " + mode + " files exist -- skipping update");
return false;
diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js
@@ -35,7 +35,7 @@ const ZOTERO_CONFIG = {
API_URL: 'https://api.zotero.org/',
PREF_BRANCH: 'extensions.zotero.',
BOOKMARKLET_URL: 'https://www.zotero.org/bookmarklet/',
- VERSION: "3.0b3.SVN"
+ VERSION: "3.0b3.SOURCE"
};
/*
diff --git a/install.rdf b/install.rdf
@@ -6,7 +6,7 @@
<em:id>zotero@chnm.gmu.edu</em:id>
<em:name>Zotero</em:name>
- <em:version>3.0b2.SVN</em:version>
+ <em:version>3.0b2.SOURCE</em:version>
<em:creator>Center for History and New Media<br/>George Mason University</em:creator>
<em:contributor>Dan Cohen</em:contributor>
<em:contributor>Sean Takats</em:contributor>
@@ -17,9 +17,9 @@
<em:optionsURL>chrome://zotero/content/preferences/preferences.xul</em:optionsURL>
<em:aboutURL>chrome://zotero/content/about.xul</em:aboutURL>
<em:iconURL>chrome://zotero/skin/zotero_z_32px.png</em:iconURL>
- <em:updateURL>https://www.zotero.org/download/update-svn.rdf</em:updateURL>
+ <em:updateURL>https://www.zotero.org/download/update-source.rdf</em:updateURL>
<em:type>2</em:type> <!-- type=extension -->
- <em:unpack>true</em:unpack>
+ <em:unpack>true</em:unpack>
<!-- Firefox -->
<em:targetApplication>
diff --git a/update.rdf b/update.rdf
@@ -7,7 +7,7 @@
<RDF:Seq>
<RDF:li>
<RDF:Description>
- <version>3.0b2.SVN</version>
+ <version>3.0b2.SOURCE</version>
<targetApplication>
<RDF:Description>
<id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</id>