hglib tests broken with hg 3.7

Julien Cristau julien.cristau at logilab.fr
Sat Feb 13 13:00:54 EST 2016


against hg 3.7.1, hglib tests fail with

ERROR: test_merge_prompt_noninteractive (tests.test-merge.test_merge)
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/test-merge.py", line 45, in test_merge_prompt_noninteractive
  File "/<<PKGBUILDDIR>>/hglib/client.py", line 1073, in merge
    self.rawcommand(args, prompt=prompt)
  File "/<<PKGBUILDDIR>>/hglib/client.py", line 183, in rawcommand
    raise error.CommandError(args, ret, out, err)
CommandError: (1, "remote changed a which local deleted\nuse (c)hanged version, leave (d)eleted, or leave (u)nresolved? u\n0 files updated, 0 files merged, 0 files removed, 1 files unresolved\nuse 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon", '')


I guess this is related to the following commit which changed the default
behaviour for hg merge:

changeset:   27166:88d5db4b155c
user:        Siddharth Agarwal <sid0 at fb.com>
date:        Tue Dec 01 09:48:38 2015 -0800
summary:     filemerge: default regular prompts to 'leave unresolved' (BC)

What should hglib do in that case?

Julien Cristau          <julien.cristau at logilab.fr>
Logilab		        http://www.logilab.fr/
Informatique scientifique & gestion de connaissances

More information about the Mercurial-devel mailing list