4d81ee4f3f067b3209b974a2aad81302fee93c69
max
  Thu Oct 23 04:13:50 2014 -0700
small comment change for gbib
diff --git src/hg/lib/hdb.c src/hg/lib/hdb.c
index 760b86e..a67790a 100644
--- src/hg/lib/hdb.c
+++ src/hg/lib/hdb.c
@@ -1291,30 +1291,31 @@
 char* path;
 
 // if no config option set or not a /gbdb filename, then just return
 // otherwise replace /gbdb/ with the new prefix and return it
 if ((newGbdbLoc==NULL) || (!startsWith("/gbdb/", fileName)))
    return cloneString(fileName);
 
 path = replaceChars(fileName, "/gbdb/", newGbdbLoc);
 return path;
 }
 
 char *hReplaceGbdb(char* fileName)
  /* Returns a gbdb filename, potentially rewriting it according to hg.conf
   * If the settings gbdbLoc1 and gbdbLoc2 are found, try them in order, by 
   * replacing /gbdb/ with the new locations.
+  * Typically, gbdbLoc1 is /gbdb/ and gbdbLoc2 is http://hgdownload.soe.ucsc.edu/gbdb/
   * If after the replacement of gbdbLoc1 the resulting fileName does not exist,
   * gbdbLoc2 is used.
   * This function does not guarantee that the returned filename exists.
   * We assume /gbdb/ does not appear somewhere inside a fileName.
   * Result has to be free'd.
  * */
 {
 if (fileName == NULL)
     return fileName;
 if (!startsWith("/gbdb/", fileName))
     return cloneString(fileName);
 
 char *path = hReplaceGbdbLocal(fileName);
 if (fileExists(path))
     return path;