anchor.diff:          --zsh contrib/zsh_completion
       '';
   
  -    passthru.tests = {};
  +    passthru.tests = {
  +      mercurial-tests = makeTests { flags = "--with-hg=$MERCURIAL_BASE/bin/hg"; };
  +    };
   
       meta = with lib; {
         description = "A fast, lightweight SCM system for very large distributed projects";
  
positive.code:       sourceRoot = "${pname}-${version}/rust";
      } else null;
      cargoRoot = if rustSupport then "rust" else null;
  
      postPatch = ''
        patchShebangs .
  
        for f in **/*.{py,c,t}; do
          # not only used in shebangs
          substituteAllInPlace "$f" '/bin/sh' '${stdenv.shell}'
        done
      '';
  
      propagatedBuildInputs = lib.optional re2Support fb-re2
        ++ lib.optional gitSupport pygit2
  
negative.code: , highlightSupport ? fullBuild
  , ApplicationServices
  # test dependencies
  , runCommand
  , unzip
  , which
  , sqlite
  