D1126: test-dispatch: make the test compatible with chg

singhsrb (Saurabh Singh) phabricator at mercurial-scm.org
Mon Oct 16 20:10:01 EDT 2017


singhsrb added inline comments.

INLINE COMMENTS

> quark wrote in test-dispatch.t:77
> Alternatively, you can use individual line matching without duplicating the `hg version` line:
> 
>   abort: error getting current working directory: * (glob) (no-chg !)
>   chg: abort: failed to getcwd (errno = *) (glob) (chg !)

That certainly seems like a better approach. Thanks!

> quark wrote in test-dispatch.t:85
> `errno` and error message could be platform dependent:
> 
>   chg: ... (errno = *) (glob)

Hmmm, didn't consider that. Thanks!

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D1126

To: singhsrb, #hg-reviewers, quark
Cc: quark, mercurial-devel


More information about the Mercurial-devel mailing list