# HG changeset patch # User Hg Conversion # Date 1339630119 14400 # Node ID f2bcfef842d229c6dc892b8cd87283ad434a4746 # Parent 1dea59c9ecedb6bca25aa1d759f7358894e407e9 Update package_version.h to work with hg diff -r 1dea59c9eced -r f2bcfef842d2 Makefile.am --- a/Makefile.am Mon Jul 27 19:11:49 2009 +0000 +++ b/Makefile.am Wed Jun 13 19:28:39 2012 -0400 @@ -96,8 +96,7 @@ # successfully; the rm -f ensures both package_revision_raw.txt: REAL_BLDDIR=$$PWD/$(top_builddir); \ - (cd $(srcdir) && $$REAL_BLDDIR/mtn --root=. automate get_base_revision_id) 2>/dev/null >$@ \ - || (cd $(srcdir) && mtn --root=. automate get_base_revision_id) 2>/dev/null >$@ \ + (hg --cwd $(srcdir) id -i --debug) 2>/dev/null >$@ \ || rm -f $@ package_revision.h: package_revision_raw.txt if [ -f $< ]; then \ diff -r 1dea59c9eced -r f2bcfef842d2 libpurple/win32/targets.mak --- a/libpurple/win32/targets.mak Mon Jul 27 19:11:49 2009 +0000 +++ b/libpurple/win32/targets.mak Wed Jun 13 19:28:39 2012 -0400 @@ -18,7 +18,7 @@ /^m4_define..purple_micro_version/ {system("sed -e s/@PURPLE_MICRO_VERSION@/"$$5"/ $@ > $@.tmp && mv $@.tmp $@"); exit}' $(PIDGIN_TREE_TOP)/configure.ac $(PIDGIN_REVISION_RAW_TXT): - (cd $(PIDGIN_TREE_TOP) && mtn --root=. automate get_base_revision_id) 2>/dev/null >$@ \ + (hg --cwd $(PIDGIN_TREE_TOP) id -i --debug) 2>/dev/null >$@ \ || rm -f $@ $(PIDGIN_REVISION_H): $(PIDGIN_REVISION_RAW_TXT)