-2007-04-05 18:52 -0700 Brendan Cully <brendan@kublai.com> (94d3441e86d0)
+2007-04-06 12:54 -0700 Brendan Cully <brendan@kublai.com> (bd9401de2690)
+
+ * lib.c: safe_rename: fall back to rename on ENOSYS and EPERM as well
+ as EXDEV. sshfs returns ENOSYS when attempting cross-directory
+ links. vfat returns EPERM.
+
+ * lib.c: Make safe_open with O_EXCL friendlier for NFS. Per #2707,
+ when an open file is moved into a different directory over NFS, it
+ may leave a .nfsXXX hardlink behind. This causes the rmdir in
+ safe_open to fail, leaving tempdir droppings around. This patch
+ works around the problem by closing the file after creating it and
+ reopening it after rename.
+
+2007-04-05 21:38 -0700 Michael Elkins <me@mutt.org> (177c060504bb)
+
+ * configure.ac, hcache.c: Fixup to detect qdbm includes in
+ /usr/include/qdbm.
+
+ Remove HAVE_QDBM_VILLA_H because it is redundant.
+
+2007-04-05 19:22 -0700 Brendan Cully <brendan@kublai.com> (ee0fabbde466)
+
+ * configure.ac, hcache.c: Fix up QDBM autoconf test for arguments
+ and includes in subdirectories
* imap/message.c: Fix logic error introduced in [efbcef81ac49]
update-changelog:
(cd $(top_srcdir); \
- cvs update ChangeLog; \
- sh ./mkchangelog.sh | fmt -c | cat - ChangeLog > ChangeLog.$$$$ && mv ChangeLog.$$$$ ChangeLog; \
+ sh ./mkchangelog.sh | cat - ChangeLog > ChangeLog.$$$$ && mv ChangeLog.$$$$ ChangeLog; \
$${VISUAL:-vi} ChangeLog)
# kluge around automake problems.
devel="devel/" # comment out for the stable branch
+# test for uncommitted changes
+if hg id | grep -q '+'
+then
+ echo "Uncommitted changes"
+ exit 1
+fi
+
# update the source
-#cvs update
+hg update
# Do automated security checks
#cvs commit -m "automatic post-release commit for mutt-${VERSION}"
#make commit-changelog
-#cvs tag ${TAG}
+hg tag ${TAG}
# build the diff between the two releases
-if test "$diff" = yes ; then
- cvs rdiff -u -r ${OTAG} -r ${TAG} mutt | gzip -9 \
+if test "$diff" = yes
+then
+ hg diff -r ${OTAG} -r ${TAG} | gzip -9 \
> diff-${OVERSION}-${VERSION}.gz
fi
scp $f $f.asc trithemius.gnupg.org:/home/ftp/mutt/${devel}
done
-cvs update
+hg update
+gpg sign
# Finally, announce the new mutt to the public
#!/bin/sh
TZ=GMT; export TZ
-date="`head -1 ChangeLog | awk '{print $1, $2}'`"
-test -n "$date" || exit 1
-cvs -z9 log -d ">$date" | perl ./cvslog2changelog.pl
+lrev=$(hg log --limit 1 --template '{rev}' ChangeLog)
+
+hg log --style=./hg-changelog-map -r tip:$lrev