Attempt to fix bug 359716 bustage by not pulling release tags by date. If it works, I'll get reviews afterwards.
authorbugzilla@standard8.demon.co.uk
Fri, 30 Mar 2007 07:03:08 -0700
changeset 227 002455a7478c8ab0d0a6d35fbc8a773f9d42ac49
parent 226 d6ef6f591ce8a1fcade3b44eb0d1d11f726f84a6
child 228 3021ba3daa9b34ee30d18231c897446d1b00c643
push idunknown
push userunknown
push dateunknown
bugs359716
milestone1.9a4pre
Attempt to fix bug 359716 bustage by not pulling release tags by date. If it works, I'll get reviews afterwards.
client.mk
--- a/client.mk
+++ b/client.mk
@@ -624,17 +624,23 @@ endif
 # CVS defines for the C LDAP SDK
 #
 LDAPCSDK_CO_MODULE = mozilla/directory/c-sdk
 LDAPCSDK_CO_FLAGS := -P
 ifdef MOZ_CO_FLAGS
   LDAPCSDK_CO_FLAGS := $(MOZ_CO_FLAGS)
 endif
 LDAPCSDK_CO_FLAGS := $(LDAPCSDK_CO_FLAGS) $(if $(LDAPCSDK_CO_TAG),-r $(LDAPCSDK_CO_TAG),-A)
+
+# Can only pull the tip or branch tags by date
+ifeq (,$(filter-out HEAD %BRANCH,$(LDAPCSDK_CO_TAG)))
 CVSCO_LDAPCSDK = $(CVS) $(CVS_FLAGS) co $(LDAPCSDK_CO_FLAGS) $(CVS_CO_DATE_FLAGS) $(LDAPCSDK_CO_MODULE)
+else
+CVSCO_LDAPCSDK = $(CVS) $(CVS_FLAGS) co $(LDAPCSDK_CO_FLAGS) $(LDAPCSDK_CO_MODULE)
+endif
 
 ####################################
 # Error on obsolete variables.
 #
 
 ifdef MOZ_MAPINFO
 $(warning MOZ_MAPINFO is obsolete, use MOZ_CO_MODULE=mozilla/tools/codesighs instead.)
 MOZ_MODULE_LIST += mozilla/tools/codesighs