Your message dated Sat, 22 Mar 2014 16:03:43 +0000
with message-id <[email protected]>
and subject line Bug#742080: fixed in hgsubversion 1.6-0.3
has caused the Debian Bug report #742080,
regarding hgsubversion: some commands (like clone) fail
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.)


-- 
742080: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742080
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: hgsubversion
Version: 1.6-0.1
Severity: important
Tags: patch

Some commands fail with hgsubversion 1.6.  For example clone:

$ hg --traceback --config extensions.hgsubversion= clone svn://127.0.0.1/babar
destination directory: babar
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 134, in 
_runcatch
    return _dispatch(req)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 806, in 
_dispatch
    cmdpats, cmdoptions)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 586, in 
runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 897, in 
_runcommand
    return checkargs()
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 868, in 
checkargs
    return cmdfunc()
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 803, in 
<lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 511, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 151, in 
wrap
    util.checksignature(origfn), *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 511, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/hgext/hgsubversion/wrappers.py", line 
596, in clone
    orig(ui, source, dest, **opts)
  File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 511, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/mercurial/commands.py", line 1310, in 
clone
    branch=opts.get('branch'))
  File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 196, in 
wrap
    return wrapper(origfn, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/hgext/hgsubversion/wrappers.py", line 
585, in hgclonewrapper
    data['srcrepo'], data['dstrepo'] = orig(ui, *args, **opts)
  File "/usr/lib/python2.7/dist-packages/mercurial/hg.py", line 374, in clone
    destpeer.local().clone(srcpeer, heads=revs, stream=stream)
  File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line 2402, in 
clone
    return self.pull(remote, heads)
  File "/usr/lib/python2.7/dist-packages/hgext/hgsubversion/svnrepo.py", line 
81, in wrapper
    return fn(self, *args, **opts)
  File "/usr/lib/python2.7/dist-packages/hgext/hgsubversion/svnrepo.py", line 
104, in pull
    return wrappers.pull(self, remote, heads, force)
  File "/usr/lib/python2.7/dist-packages/hgext/hgsubversion/wrappers.py", line 
370, in pull
    repo.ui)
  File "/usr/lib/python2.7/dist-packages/hgext/hgsubversion/layouts/detect.py", 
line 31, in layout_from_subversion
    from hgsubversion import svnwrap
  File "/usr/lib/python2.7/dist-packages/mercurial/demandimport.py", line 111, 
in _demandimport
    return _hgextimport(_import, name, globals, locals, fromlist, level)
  File "/usr/lib/python2.7/dist-packages/mercurial/demandimport.py", line 43, 
in _hgextimport
    return importfunc(name, globals, *args)
ImportError: No module named hgsubversion
abort: No module named hgsubversion!

The attached patch fixes it for me.

Cheers,
Javi

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages hgsubversion depends on:
ii  mercurial         2.9.1-1
ii  python            2.7.5-5
ii  python-subvertpy  0.9.1-5
ii  subversion        1.8.8-1

hgsubversion recommends no packages.

hgsubversion suggests no packages.

-- no debconf information
# HG changeset patch
# Parent 7d47a0f731354505ed9ae8d60d2a6996e8c3294f

diff --git a/hgsubversion/layouts/detect.py b/hgsubversion/layouts/detect.py
--- a/hgsubversion/layouts/detect.py
+++ b/hgsubversion/layouts/detect.py
@@ -26,7 +26,7 @@ def layout_from_subversion(svn, revision
     """
     # import late to avoid trouble when running the test suite
     try:
-        from hgext_hgsubversion import svnwrap
+        from hgext.hgsubversion import svnwrap
     except ImportError:
         from hgsubversion import svnwrap
 
diff --git a/hgsubversion/layouts/standard.py b/hgsubversion/layouts/standard.py
--- a/hgsubversion/layouts/standard.py
+++ b/hgsubversion/layouts/standard.py
@@ -57,7 +57,7 @@ class StandardLayout(base.BaseLayout):
 
     def taglocations(self, meta_data_dir):
         # import late to avoid trouble when running the test suite
-        from hgext_hgsubversion import util
+        from hgext.hgsubversion import util
 
         if self._tag_locations is None:
 

--- End Message ---
--- Begin Message ---
Source: hgsubversion
Source-Version: 1.6-0.3

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

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.
Javi Merino <[email protected]> (supplier of updated hgsubversion 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: SHA256

Format: 1.8
Date: Sat, 22 Mar 2014 15:45:58 +0000
Source: hgsubversion
Binary: hgsubversion
Architecture: source all
Version: 1.6-0.3
Distribution: unstable
Urgency: medium
Maintainer: Qijiang Fan <[email protected]>
Changed-By: Javi Merino <[email protected]>
Description: 
 hgsubversion - Subversion client as Mercurial extension
Closes: 742080
Changes: 
 hgsubversion (1.6-0.3) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix "some commands (like clone) fail" by adding patch
     from_upstream__layouts_fix_crash_when_importing_hgext_hgsubversion.patch
     (Closes: #742080)
Checksums-Sha1: 
 756c7968c865fc08f37c09dc8b04055a872c6d03 1910 hgsubversion_1.6-0.3.dsc
 7a08bf62cabcb158e4077eeda1e0827af60afed8 3324 
hgsubversion_1.6-0.3.debian.tar.xz
 3d41099be3d838f1a9afde759b5e3332eba2ecd3 70208 hgsubversion_1.6-0.3_all.deb
Checksums-Sha256: 
 73577e9190169c488820f6961aafc6e9745e8506864429abc50809a522290060 1910 
hgsubversion_1.6-0.3.dsc
 8bb7f44d1c477ab90fe5b22f5cc3e8450b85a50b75af78d94567675db2afd771 3324 
hgsubversion_1.6-0.3.debian.tar.xz
 ae93e783f9bcaa618410ae7e92a67359b27be70969b63c4e5757915f21c24f81 70208 
hgsubversion_1.6-0.3_all.deb
Files: 
 654823b5487e65e0020f7a162fc38f7e 1910 vcs extra hgsubversion_1.6-0.3.dsc
 6e7225051133e2997ca468e92247206d 3324 vcs extra 
hgsubversion_1.6-0.3.debian.tar.xz
 391a0849982a903424b87551467ee93a 70208 vcs extra hgsubversion_1.6-0.3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJTLbHjAAoJEAe0hFJ2jTgkmbIQAJpdYKYDa2foxvN4oiCoJfZL
T18LTIxORDHMIWO6x3KGb6pgMMq3pGWkp/O8eRTStNA31lCh1ErDBSG+6Dty9Hp2
o00sXEdZb1G/f5hUHR7NaiE3I+FboFu3MmMguQZ+Jag09Yhs4ONBuwLxvCspLYWy
5FBvRj2Z7SdAqVvsQiZL5bqWQCVWJ/DJr2pHWFmdNrjMwWoRFsQqB7BcnaF5vSGu
cjDkBqqGo9bkpbaEwctp9N7yZqJzNl9e5hs3sp7Of/GNDQLcqrRkoysrddy/StV6
vr2Woh1ckqU9DRt/PgQje9lchfG17m/kisDwKpJSFUCvb+DZKXqxrE4p+Ai8WryS
W0Vw7tnv7PcwnSjUpkXdxFhCmA0x0+pXZQIHbJIXgNYG9b+nYLvao64SV5KCu2em
Ya5ZlyuqEFe/5h+qdLCBZ+gNy/gHscOwf53GRhQe+zxSDCYOmDmNsumMLQXSxPFu
kbHKcqE2lAYsry+6daes4uPDJ7SzzIYLGWqbGBcpOH62/pwO/h31elVI4ydmjHgx
zDYRHQJ+WElQVgQCFMSIqDaLncXBF40M6WkzdxCFFRuC63IyDJgOPPQ0r1ty3cu+
RPluPAY8tInF7S+jaqR6rVf/Q3+x3emc4Y7rKXHhCNOvy+XDBVwpPP9iz6QVlw24
HpiV3vFzKJ+b+cxDxgy4
=xYhk
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to