Bug#678518: hg-fast-export: Mercurial (Hg) convert extension is not automatically enabled

2012-06-22 Thread Leandro Doctors
Package: hg-fast-export
Version: 20120618-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

(Note: This bug appeared in version 20120203-1 (testing).
After fixing the bug, and before reporting it, I upgraded to 20120618-1
(unstable). Maybe the bug has been already fixed. I just report this to share
my solution with others, in case somebody else has the same problem.)


   * What led up to the situation?
(Default package configuration)

   * What exactly did you do (or not do) that was effective (or
 ineffective)?

Executing git hg push failed.

   * What was the outcome of this action?
Mercurial complained about a disabled extension.

   * What outcome did you expect instead?
Git hg pushing my local changes back to the Mercurial repository

   * How did you solve the problem?
I got the source code for hg-fast export, and realized it uses the convert
Mercurial extension.
I enabled the extension in a (newly created) ~/.hgrc and it worked fine.

$ more .hgrc
[extensions]
convert =

While fixing the big, I updated from version 20120203-1 (testing) to 20120618-1
(unstable).

*** End of the template - remove these lines ***



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

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

Versions of packages hg-fast-export depends on:
ii  git1:1.7.10-1
ii  mercurial  2.2.2-1
ii  python 2.7.3~rc2-1

hg-fast-export recommends no packages.

hg-fast-export suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#678518: hg-fast-export: Mercurial (Hg) convert extension is not automatically enabled

2012-06-22 Thread Andrey Rahmatullin
severity 678518 normal
forwarded 678518 https://github.com/cosmin/git-hg/issues/26
tags 678518 + upstream
kthxbye

On Fri, Jun 22, 2012 at 02:31:25PM +0200, Leandro Doctors wrote:
 Package: hg-fast-export
 Version: 20120618-1
 Severity: grave
 Justification: renders package unusable
Lowering the severity as only `git hg push` is affected and a workaround
exists.

* What exactly did you do (or not do) that was effective (or
  ineffective)?
 
 Executing git hg push failed.
 
* What was the outcome of this action?
 Mercurial complained about a disabled extension.
 
* What outcome did you expect instead?
 Git hg pushing my local changes back to the Mercurial repository
 
* How did you solve the problem?
 I got the source code for hg-fast export, and realized it uses the convert
 Mercurial extension.
 I enabled the extension in a (newly created) ~/.hgrc and it worked fine.
 
 $ more .hgrc
 [extensions]
 convert =
I don't think git-hg should fiddle with the user configuration in any way
so the only solution I can think of now is documenting that the extension
is needed and maybe some additional checks. I've forwarded this issue
upstream.

-- 
WBR, wRAR


signature.asc
Description: Digital signature