Debian Bug report logs - #670157
AttributeError: 'httpsrepository' object has no attribute 'branchtags'

version graph

Package: hg-fast-export; Maintainer for hg-fast-export is (unknown);

Reported by: jame@rocasa.us

Date: Mon, 23 Apr 2012 14:39:01 UTC

Severity: important

Found in version hg-fast-export/20120203-1

Done: Andrey Rahmatullin <wrar@wrar.name>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Andrey Rahmatullin <wrar@wrar.name>:
Bug#670157; Package hg-fast-export. (Mon, 23 Apr 2012 14:39:04 GMT) (full text, mbox, link).


Acknowledgement sent to jame@rocasa.us:
New Bug report received and forwarded. Copy sent to Andrey Rahmatullin <wrar@wrar.name>. (Mon, 23 Apr 2012 14:39:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Robert James Clay <jame@rocasa.us>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: AttributeError: 'httpsrepository' object has no attribute 'branchtags'
Date: Mon, 23 Apr 2012 10:37:41 -0400
Package: hg-fast-export
Version: 20120203-1
Severity: important


Attempted to import a mercurial repository into a git repository I'm
working on creating using the following command line resulted in the
error:

$ hg-fast-export -r https://bitbucket.org/johanbilling/jamnntpd -M
upstream
Traceback (most recent call last):
  File "/usr/share/hg-fast-export/hg-fast-export.py", line 388, in
<module>
    options.statusfile,authors=a,sob=options.sob,force=options.force))
  File "/usr/share/hg-fast-export/hg-fast-export.py", line 301, in
hg2git
    if not verify_heads(ui,repo,heads_cache,force):
  File "/usr/share/hg-fast-export/hg-fast-export.py", line 265, in
verify_heads
    branches=repo.branchtags()
AttributeError: 'httpsrepository' object has no attribute 'branchtags'
git-fast-import statistics:
---------------------------------------------------------------------
Alloc'd objects:       5000
Total objects:            0 (         0 duplicates                  )
      blobs  :            0 (         0 duplicates          0 deltas of
0 attempts)
      trees  :            0 (         0 duplicates          0 deltas of
0 attempts)
      commits:            0 (         0 duplicates          0 deltas of
0 attempts)
      tags   :            0 (         0 duplicates          0 deltas of
0 attempts)
Total branches:           0 (         0 loads     )
      marks:           1024 (         0 unique    )
      atoms:              0
Memory total:          2243 KiB
       pools:          2048 KiB
     objects:           195 KiB
---------------------------------------------------------------------
pack_report: getpagesize()            =       4096
pack_report: core.packedGitWindowSize =   33554432
pack_report: core.packedGitLimit      =  268435456
pack_report: pack_used_ctr            =          0
pack_report: pack_mmap_calls          =          0
pack_report: pack_open_windows        =          0 /          0
pack_report: pack_mapped              =          0 /          0
---------------------------------------------------------------------



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored:
LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages hg-fast-export depends on:
ii  git        1:1.7.10-1
ii  mercurial  2.1.2-2
ii  python     2.7.2-10

hg-fast-export recommends no packages.

hg-fast-export suggests no packages.

-- no debconf information






Reply sent to Andrey Rahmatullin <wrar@wrar.name>:
You have taken responsibility. (Tue, 24 Apr 2012 12:48:04 GMT) (full text, mbox, link).


Notification sent to jame@rocasa.us:
Bug acknowledged by developer. (Tue, 24 Apr 2012 12:48:08 GMT) (full text, mbox, link).


Message #10 received at 670157-done@bugs.debian.org (full text, mbox, reply):

From: Andrey Rahmatullin <wrar@wrar.name>
To: 670157-done@bugs.debian.org
Subject: Re: Bug#670157: AttributeError: 'httpsrepository' object has no attribute 'branchtags'
Date: Tue, 24 Apr 2012 18:23:05 +0600
[Message part 1 (text/plain, inline)]
On Mon, Apr 23, 2012 at 10:37:41AM -0400, Robert James Clay wrote:
> Attempted to import a mercurial repository into a git repository I'm
> working on creating using the following command line resulted in the
> error:
> 
> $ hg-fast-export -r https://bitbucket.org/johanbilling/jamnntpd -M
> upstream
From /usr/share/doc/hg-fast-export/hg-fast-export.txt:
"""
The way the hg API and remote access protocol is designed it is not
possible to use hg-fast-export on remote repositories
(http/ssh). First clone the repository, then convert it.
"""

This should be written more prominently and this situation should be
detected properly instead of displaying a cryptic error message, so
patches are welcome.

-- 
WBR, wRAR
[signature.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 23 May 2012 07:38:31 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jul 3 04:57:08 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.