Browse Source

Bug 558252 Add the Camino Hg repo to MXR
r=reed

14 years ago
parent
commit
2604956996
4 changed files with 18 additions and 2 deletions
  1. 1 0
      camino
  2. 2 0
      lxr.conf
  3. 8 0
      root/index.html
  4. 7 2
      update-src.pl

+ 1 - 0
camino

@@ -0,0 +1 @@
+.

+ 2 - 0
lxr.conf

@@ -63,6 +63,8 @@ sourceprefix: bugzilla3.6 mozilla/webtools/bugzilla
 sourceroot: build-central /data/mxr-data/build-central/build
 sourceprefix: build-central build
 alias: build build-central
+sourceroot: camino /data/mxr-data/camino/camino
+sourceprefix: camino camino
 sourceroot: classic /data/mxr-data/classic/mozilla
 sourceprefix: classic mozilla
 sourceroot: comm-central /data/mxr-data/comm-central/comm-central

+ 8 - 0
root/index.html

@@ -130,6 +130,14 @@ releases.
 mobile web browser.
       </dd>
 
+      <dt>
+         <a href="camino/">Camino</a>
+      </dt>
+      <dd class="note">
+          This is the source code of the <a
+href="http://caminobrowser.org/">Camino browser</a> for Mac OS X.
+      </dd>
+      
       <dt>
          <a href="mozilla1.8/">Mozilla 1.8</a> / <a href="l10n-mozilla1.8/">l10n</a>
       </dt>

+ 7 - 2
update-src.pl

@@ -280,8 +280,13 @@ for ($TREE) {
         print LOG `cd $src_dir; $TIME python2.4 ./client.py checkout $STDERRTOSTDOUT`;
         last;
     };
-    /^(?:.*)-(?:central|tracing)$/ && do {
-        print LOG `cd $src_dir; $TIME $HGCOMMAND $HGUPDATE $STDERRTOSTDOUT`;
+    /^(?:(?:.*)-(?:central|tracing)|camino)$/ && do {
+        if (-d "$src_dir/.hg") {
+          print LOG `cd $src_dir; $TIME $HGCOMMAND $HGUPDATE $STDERRTOSTDOUT`;
+        } else {
+          my $dir = basename($src_dir);
+          print LOG `$TIME $HGCOMMAND $HGCLONE https://hg.mozilla.org/$dir $src_dir`;
+        }
         last;
     };
     /^firefox.*$/ && do {