qulogic/pidgin

6016f081e2fa
Merged in dequisdequis/pidgin/release-2.x.y (pull request #155)

Makefile: Use hg log instead of hg id --debug, which has unstable output
  • +3 -3
    Makefile.am
  • --- a/Makefile.am Sun Oct 16 03:05:23 2016 +0000
    +++ b/Makefile.am Wed Oct 19 17:52:33 2016 +0000
    @@ -50,8 +50,8 @@
    head ChangeLog.API | grep "^version $(PACKAGE_VERSION):$$" >/dev/null
    # Ensure we're working from a tag...
    - test x`hg log -r "tag($(PACKAGE_VERSION))" --template "{node}"` = x`hg id -i --debug`
    -# ... and have no changes in the working copy. (this isn't really necessary with hg because hg id appends a "+")
    + test x`hg log -r "tag($(PACKAGE_VERSION))" --template "{node}"` = x`hg log -r . -T '{node}'`
    +# ... and have no changes in the working copy.
    test "x`hg st -mard`" = x
    sign-packages: dist
    @@ -82,7 +82,7 @@
    # successfully; the rm -f ensures both
    package_revision_raw.txt: .FORCE
    $(AM_V_GEN)REAL_BLDDIR=$$PWD/$(top_builddir); \
    - (hg --cwd $(srcdir) id -i --debug) 2>/dev/null >$@.new \
    + (hg --cwd $(srcdir) log -r . -T {node}) 2>/dev/null >$@.new \
    || rm -f $@.new
    $(AM_V_at)if test -f $@.new; then \
    if ! diff $@ $@.new > /dev/null; then \