e877a7961cdfb1b5b9540a0f51f08d3b715f0717
tdreszer
  Wed Mar 9 14:06:54 2011 -0800
For download file lookup, beta should look on hgdownloads-test but in beta/ subdirectory.
diff --git src/hg/inc/hdb.h src/hg/inc/hdb.h
index d2b12e6..65d6ca3 100644
--- src/hg/inc/hdb.h
+++ src/hg/inc/hdb.h
@@ -410,30 +410,34 @@
 char *hDbDbNibPath(char *database);
 /* return nibPath from dbDb for database */
 
 struct sqlConnection *hMaybeConnectArchiveCentral(void);
 /* Connect to central database for archives.
  * Free this up with hDisconnectCentralArchive(). */
 
 boolean hHostHasPrefix(char *prefix);
 /* Return TRUE if this is running on web-server with host name prefix */
 
 boolean hIsPrivateHost(void);
 /* Return TRUE if this is running on private (development) web-server. 
  * This was originally genome-test as well as hgwdev, however genome-test
  * may be repurposed to direct users to the preview site instead of development site. */
 
+boolean hIsBetaHost(void);
+/* Return TRUE if this is running on beta (QA) web-server.
+ * Use sparingly as behavior on beta should be as close to RR as possible. */
+
 boolean hIsPreviewHost(void);
 /* Return TRUE if this is running on preview web-server.  The preview
  * server is a mirror of the development server provided for public
  * early access. */
 
 char *hBrowserName();
 /* Return browser name based on host name */
 
 boolean hTrackOnChrom(struct trackDb *tdb, char *chrom);
 /* Return TRUE if track exists on this chromosome. */
 
 struct trackDb *trackDbPolishAfterLinkup(struct trackDb *tdbList, char *db);
 /* Do various massaging that can only be done after parent/child
  * relationships are established. */