# HG changeset patch # User Benoit Boissinot # Date 1160000061 -7200 # Node ID 03acd01520acec72948fd6b343447bbe51ac112a # Parent c9cd63a6fce91116ae6e97e9537e9ac7bcb81e12# Parent 168485fa44ba3abadd5db3ea8a56fd3c62698170 merge with crew diff -r c9cd63a6fce9 -r 03acd01520ac doc/Makefile --- a/doc/Makefile Tue Oct 03 12:33:22 2006 +0200 +++ b/doc/Makefile Thu Oct 05 00:14:21 2006 +0200 @@ -28,7 +28,7 @@ install: man for i in $(MAN) ; do \ - subdir=`echo $$i | sed -n 's/.\+\(\.[0-9]\)$$/man\1/p'` ; \ + subdir=`echo $$i | sed -n 's/.\+\.\([0-9]\)$$/man\1/p'` ; \ mkdir -p $(MANDIR)/$$subdir ; \ $(INSTALL) $$i $(MANDIR)/$$subdir ; \ done diff -r c9cd63a6fce9 -r 03acd01520ac hgext/patchbomb.py --- a/hgext/patchbomb.py Tue Oct 03 12:33:22 2006 +0200 +++ b/hgext/patchbomb.py Thu Oct 05 00:14:21 2006 +0200 @@ -65,7 +65,7 @@ from mercurial.demandload import * demandload(globals(), '''email.MIMEMultipart email.MIMEText email.Utils - mercurial:commands,hg,mail,ui,patch + mercurial:cmdutil,commands,hg,mail,ui,patch os errno popen2 socket sys tempfile time''') from mercurial.i18n import gettext as _ from mercurial.node import * @@ -146,10 +146,10 @@ if patchname: patchname = patchname[0] elif total > 1: - patchname = commands.make_filename(repo, '%b-%n.patch', + patchname = cmdutil.make_filename(repo, '%b-%n.patch', binnode, idx, total) else: - patchname = commands.make_filename(repo, '%b.patch', binnode) + patchname = cmdutil.make_filename(repo, '%b.patch', binnode) p['Content-Disposition'] = 'inline; filename=' + patchname msg.attach(p) else: diff -r c9cd63a6fce9 -r 03acd01520ac mercurial/hgweb/common.py --- a/mercurial/hgweb/common.py Tue Oct 03 12:33:22 2006 +0200 +++ b/mercurial/hgweb/common.py Thu Oct 05 00:14:21 2006 +0200 @@ -38,7 +38,7 @@ ct = mimetypes.guess_type(path)[0] or "text/plain" req.header([('Content-type', ct), ('Content-length', os.path.getsize(path))]) - return file(path).read() + return file(path, 'rb').read() except (TypeError, OSError): # illegal fname or unreadable file return "" diff -r c9cd63a6fce9 -r 03acd01520ac mercurial/merge.py --- a/mercurial/merge.py Tue Oct 03 12:33:22 2006 +0200 +++ b/mercurial/merge.py Thu Oct 05 00:14:21 2006 +0200 @@ -379,8 +379,8 @@ # update dirstate if not partial: + recordupdates(repo, action, branchmerge) repo.dirstate.setparents(p1.node(), p2.node()) - recordupdates(repo, action, branchmerge) if show_stats: stats = ((updated, _("updated")), diff -r c9cd63a6fce9 -r 03acd01520ac templates/gitweb/summary.tmpl --- a/templates/gitweb/summary.tmpl Tue Oct 03 12:33:22 2006 +0200 +++ b/templates/gitweb/summary.tmpl Thu Oct 05 00:14:21 2006 +0200 @@ -9,7 +9,7 @@
Mercurial
#repo|escape# / summary