Menu

#10 qct 1.7 doesn't work with hg 1.4.3 (ubuntu 10.04)

open
nobody
None
5
2012-09-14
2010-03-31
Ludo6431
No

Hello,
I installed the qct and mercurial packages and executing 'qct' in a mercurial repository gives me the error attached.
Thanks

Discussion

  • Ludo6431

    Ludo6431 - 2010-03-31

    Error

     
  • Steve Borho

    Steve Borho - 2010-03-31

    The french locale for hg is confusing Qct into thinking that a patch is applied; forcing it to try to use the MQ extension even though it is not enabled. You can work around this by setting HGPLAIN in your environment.

    Note that development on Qct has stopped. I encourage qct users to switch to tortoisehg (hgtk), which has a much better commit tool for Mercurial.

     
  • Steve Borho

    Steve Borho - 2010-03-31

    This patch may work for you:

    diff -r 3128de2bd7c9 qctlib/vcs/hg.py
    --- a/qctlib/vcs/hg.py Thu Jan 28 09:46:26 2010 -0600
    +++ b/qctlib/vcs/hg.py Wed Mar 31 17:53:31 2010 -0500
    @@ -119,6 +119,7 @@
    sys.stdout = ostream
    sys.stderr = errstream
    sys.stdin = StringIO()
    + os.environ['HGPLAIN'] = '1'
    ret = self.commands.dispatch(args)
    finally:
    sys.stdin = sys.stdin

     
  • Ludo6431

    Ludo6431 - 2010-04-01

    Oh, i just tested tortoisehg, i agree that's a nice tool.
    Thanks

     

Log in to post a comment.