Your message dated Sat, 17 Jan 2009 17:47:10 +0000
with message-id <[email protected]>
and subject line Bug#447088: fixed in mercurial 1.1.2-1
has caused the Debian Bug report #447088,
regarding Problem loading extensions twice (by site and by user)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
447088: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=447088
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mercurial
Version: 0.9.4-1
Severity: normal
File: /etc/mercurial/hgrc.d/hgext.rc

Currently,

- by default, /etc/mercurial/hgrc.d/hgext.rc loads several extensions;

- a user whose $HOME is shared across multiple (heterogeneous) hosts
  is likely to want to enable these extensions explicitly in her
  ~/.hgrc;

- loading an extension twice under a different "name" causes hg to
  complain to stderr (because the bindings shadow themselves):

    $ grep mq ~/.hgrc /etc/mercurial/hgrc.d/hgext.rc
    /home/twb/.hgrc:hgext.mq=
    /etc/mercurial/hgrc.d/hgext.rc:hgext/mq=
    $ hg help >/dev/null
    extension 'hgext/mq' overrides commands: qheader qnew ^qpop qrestore 
qapplied qguard qclone ^strip qgoto qprev qunapplied ^qrefresh qtop ^qdiff 
qseries qcommit|qci qfold qnext qdelete|qremove|qrm ^qimport qselect ^qpush 
^qinit qrename|qmv qsave
    $

- mercurial.el includes this in the modeline, i.e. instead of

    (Fundamental Hg:0)

  one gets

    (Fundamental Hg:module hgext/mq overrides qheader+module hgext/mq
                 overrides qnew+module hgext/mq overrides ^qpop+modul

This situation is undesirable.  I see a number of potential solutions:

- user removes offending entries from hgext.rc.  This is not feasible
  because it requires root access.

- user removes offending entries from ~/.hgrc, then copies hgext.rc to
  every other systems (e.g. BSD, OS X) on she uses.  This is not
  feasible because it requires root access.

- Debian maintainer notes in README.Debian that putting foo= or
  hgext.foo= in ~/.hgrc causes problems, and users SHOULD use
  hgext/foo= instead.  User follows instructions, and we all hope that
  no other distribution uses the hgext.foo= notation in its site-wide
  rc file.

- Debian maintainer removes hgext.rc, so extensions are off by default
  under Debian.

- Debian/upstream modifies mercurial.el to discard shadowing warnings.
  This would solve the immediate issue, but of course anyone running
  hg(1) directly on the command line would still see obnoxious
  warnings on stderr.

- Debian/upstream modifies hg so that it understands that foo,
  hgext/foo and hgext.foo are the same extension, and not to emit a
  warning.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mercurial depends on:
ii  libc6                         2.6.1-5    GNU C Library: Shared libraries
ii  python                        2.4.4-6    An interactive high-level object-o
ii  python-support                0.7.4      automated rebuilding support for p
ii  python2.5                     2.5.1-5    An interactive high-level object-o

Versions of packages mercurial recommends:
ii  rcs                           5.7-20     The GNU Revision Control System
ii  tk8.4 [wish]                  8.4.16-1   Tk toolkit for Tcl and X11, v8.4 -

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: mercurial
Source-Version: 1.1.2-1

We believe that the bug you reported is fixed in the latest version of
mercurial, which is due to be installed in the Debian FTP archive:

mercurial-common_1.1.2-1_all.deb
  to pool/main/m/mercurial/mercurial-common_1.1.2-1_all.deb
mercurial_1.1.2-1.diff.gz
  to pool/main/m/mercurial/mercurial_1.1.2-1.diff.gz
mercurial_1.1.2-1.dsc
  to pool/main/m/mercurial/mercurial_1.1.2-1.dsc
mercurial_1.1.2-1_amd64.deb
  to pool/main/m/mercurial/mercurial_1.1.2-1_amd64.deb
mercurial_1.1.2.orig.tar.gz
  to pool/main/m/mercurial/mercurial_1.1.2.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vincent Danjean <[email protected]> (supplier of updated mercurial package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 17 Jan 2009 17:33:46 +0100
Source: mercurial
Binary: mercurial mercurial-common
Architecture: all amd64 source 
Version: 1.1.2-1
Distribution: unstable
Urgency: low
Maintainer: Python Applications Packaging Team 
<[email protected]>
Changed-By: Vincent Danjean <[email protected]>
Closes: 427854 447088 476885 491109 494889 499846 503865 503997 506694 511872
Description:
 mercurial-common - scalable distributed version control system (common files)
 mercurial  - scalable distributed version control system
Changes:
 mercurial (1.1.2-1) unstable; urgency=low
 .
   [ Vernon Tang ]
   * New upstream release (closes: #499846)
     Also resolves the following Debian bugs:
     - mq corrupts repository on file rename (closes: #503997)
     - failing import breaks Python help (closes: #476885)
     - hg email doesn't use correct encoding (closes: #427854)
     - error when loading extensions twice (closes: #447088)
     - static-http does not work with old layout repositories (closes: #494889)
     - hgwebdir.cgi goes into endless loop when viewing moved files
       (closes: #506694)
 .
   * Install hg-ssh (ssh login shell for an hg server) system-wide.
   * Don't enable extensions by default. (closes: #511872, #503865, #491109)
 .
   * debian/control:
     - Moved dependencies to mercurial-common where appropriate
     - Removed Recommends: python-beaker (not a Mercurial dependency)
     - Removed 'convert' extension dependencies from Suggests:
       (convert depends on many of the other SCMs it can convert from)
     - Added python-openssl to Suggests for "hg serve" HTTPS support.
   * debian/hgext.rc: updated for 1.1.2.
   * debian/mercurial*, debian/rules: general cleanup.
   * debian/README.Debian: updated, proofread, and corrected.
   * debian/patches:
     - Added headers.
     - Added:
       - deb_specific__install-templates-separately
         (patch template search path to /usr/share instead of symlinking from
         the module directory)
       - backport__zeroconf-doc, proposed_upstream__correct-zeroconf-doc
       - deb_specific__mergetools
     - Renamed deb_specific__ElementTree_for_darcs.patch to
       deb_specific__optional-dependencies and updated to suggest Debian
       packages for more optional dependencies
     - Dropped:
       - proposed_upstream__extension_syntax.patch
       - deb_specific__FAQ_subst.patch
       - deb_specific__bash_completion_global_option_already_set.patch
       - backport__CVE-2008-2942-fix.patch
       - backport__svn1.5-fix.patch
     - Refreshed:
       - deb_specific__use_sensible-editor.patch
       - deb_specific__hgk.py.patch
       - convert-darc-doc.patch
 .
   [ Sandro Tosi ]
   * debian/control
     - switch Vcs-Browser field to viewsvn
 .
   [ Marco Rodrigues ]
   * debian/control:
     + Add ${misc:Depends} to Depends to remove
       lintian warning.
 .
   [ Vincent Danjean ]
   * Document the fact that extensions are not enabled by default anymore
     in the NEWS file
   * big thanks to Vernon Tang for its work
   * upload the package
Checksums-Sha1: 
 1fec0fc85a70c7e278b86ce83010407dca17842a 54024 mercurial_1.1.2-1_amd64.deb
 76026dbcdac20711401128ba023b094e7ff0a133 1442 mercurial_1.1.2-1.dsc
 9f6e29d41072dd1b7ac9a2cfded89af6419aabff 26832 mercurial_1.1.2-1.diff.gz
 b0f77198a96474fc72d38904ce60b007e4c7cc1a 952241 mercurial_1.1.2.orig.tar.gz
 f915edf28a585c8750bb3838e28a94218f506443 581288 
mercurial-common_1.1.2-1_all.deb
Checksums-Sha256: 
 341605fcdfc48782b69d1644b2782501c6d04159c7350fd352062b2c2e0da24d 26832 
mercurial_1.1.2-1.diff.gz
 4c827503dd45b24a5dcf2a13f006300a4d7c123069ea706e8ef050b14c5217b1 54024 
mercurial_1.1.2-1_amd64.deb
 6b4b41f817d3f75c8e3e4dd8b989aaeef47feb61a207a1282a5f744066e2008d 1442 
mercurial_1.1.2-1.dsc
 980d296d86a5d3e90db1fcfae33a879666d5bcca12b4889dba61cc87397f8148 581288 
mercurial-common_1.1.2-1_all.deb
 dd18a3c3821d1638f202b4212a02b9349acac9333785e96e9a8119f6c21d5e44 952241 
mercurial_1.1.2.orig.tar.gz
Files: 
 4186b856d7041a6688d37981e9134c71 581288 devel optional 
mercurial-common_1.1.2-1_all.deb
 4fd3b9a2e5dcd025840c3849b136bec8 952241 devel optional 
mercurial_1.1.2.orig.tar.gz
 a355b94a53f00f870c7cc2a4b7591ff1 1442 devel optional mercurial_1.1.2-1.dsc
 d732de84d8f9d7450004f07a96ce77a7 54024 devel optional 
mercurial_1.1.2-1_amd64.deb
 da586067eace2e7feb897c4ba668002f 26832 devel optional mercurial_1.1.2-1.diff.gz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFJchZAC/d4Z50CXocRAjBJAJ9WuVH2Nqhis01wDJK1XhuERR5oFACfdGT1
2LMHvylhyJO54NqO849iINs=
=jKMQ
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to