Bug 474610 - Hourly/Nightly builds should have some way to see which changeset was used; (Bv2-CC) Copy (the useful part of) it to comm-central (1.9.2+).
authorSerge Gautherie <sgautherie.bz@free.fr>
Wed, 03 Mar 2010 15:11:47 +0100
changeset 5042 83078dc649652af7f123eb3d4a26b2112798278e
parent 5041 4dca06da6f950cf79634f2f2897a5daad19e3ae7
child 5043 3adc3cc1ec18aea5c4f9ab2d7a5216e3f0b52fd5
push idunknown
push userunknown
push dateunknown
bugs474610
Bug 474610 - Hourly/Nightly builds should have some way to see which changeset was used; (Bv2-CC) Copy (the useful part of) it to comm-central (1.9.2+). r=kairo.
Makefile.in
--- a/Makefile.in
+++ b/Makefile.in
@@ -96,17 +96,22 @@ ifeq ($(OS_ARCH),WINNT)
   MAKE_SYM_STORE_PATH=..
 endif
 
 buildsymbols ::
 	$(MAKE) -C mozilla MAKE_SYM_STORE_PATH=$(MAKE_SYM_STORE_PATH) SYM_STORE_SOURCE_DIRS="$(topsrcdir)/mozilla/extensions/inspector $(topsrcdir)/mozilla $(topsrcdir)" $@
 
 include $(topsrcdir)/config/rules.mk
 
+# m-1.9.2 doesn't have this at all, but non-branched c-c does.
+ifdef MOZILLA_1_9_2_BRANCH
 MOZ_SOURCE_STAMP = $(shell hg -R $(srcdir) parent --template="{node|short}\n" 2>/dev/null)
+else
+# defined in package-name.mk
+endif
 export MOZ_SOURCE_STAMP
 
 DIST_GARBAGE = config.cache config.log config.status config-defs.h \
    dependencies.beos \
    unallmakefiles mozilla-config.h \
    $(topsrcdir)/.mozconfig.mk $(topsrcdir)/.mozconfig.out
 
 distclean::