)]}'
{
  "commit": "6450c187591bfbbd65766076f65f7c2901cc99bb",
  "tree": "7f5e4025456b7e1b45f1de77f4efcfb8ed3388c2",
  "parents": [
    "607030b642b26d3916555a983f1b343a71c63920"
  ],
  "author": {
    "name": "Laszlo Csomor",
    "email": "laszlocsomor@google.com",
    "time": "Thu Nov 24 10:28:20 2016 +0000"
  },
  "committer": {
    "name": "Dmitry Lomov",
    "email": "dslomov@google.com",
    "time": "Thu Nov 24 13:33:24 2016 +0000"
  },
  "message": "Bazel client: delete and don\u0027t use the server.pid\n\nUpon startup the Bazel client checks if there\u0027s\nalready a running server process and if so then\nconnects to it.\n\nWe achieve this by checking if there\u0027s a symlink\nin the server directory called served.pid,\npointing to /proc/\u003cserver_pid\u003e. If so, we read the\nsymlink\u0027s target and extract the PID; otherwise we\ncheck if there\u0027s a file in the server\u0027s directory\n(server.pid.txt) that contains the PID and read it\nfrom there.\n\nSince the PID file is always there, we don\u0027t need\nthe symlink, plus on Windows we don\u0027t support\nsymlinks anyway, which is the real motivation for\nthis change.\n\nJust ignoring the PID symlink is not enough, we\nneed to actively delete it so that switching\nbetween Bazel versions (one that writes a PID\nsymlink and one that doesn\u0027t) won\u0027t result in\nhaving a symlink and PID file with different\nPIDs and clients trying to kill the wrong server\nprocess / not killing one that they should.\n\nSee https://github.com/bazelbuild/bazel/issues/2107\n\n--\nMOS_MIGRATED_REVID\u003d140117287\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "819d3e0ca518f29fa62e592cc4bbfbd5b78f1240",
      "old_mode": 33188,
      "old_path": "src/main/cpp/blaze.cc",
      "new_id": "f8422f15fdd29c199b10e745deaed8e057903c16",
      "new_mode": 33188,
      "new_path": "src/main/cpp/blaze.cc"
    },
    {
      "type": "modify",
      "old_id": "0f7b71a596c9f8b117948aea97f895602f40043e",
      "old_mode": 33188,
      "old_path": "src/main/cpp/blaze_util.h",
      "new_id": "e294a4220535352f24315869ccb2281bfb2bcb89",
      "new_mode": 33188,
      "new_path": "src/main/cpp/blaze_util.h"
    },
    {
      "type": "modify",
      "old_id": "55cb59b563ae8c13a18400f81fe206336a623cc4",
      "old_mode": 33188,
      "old_path": "src/main/cpp/blaze_util_posix.cc",
      "new_id": "b5d8caf47e1c705a3264ba1dc239a7f9b1f919d2",
      "new_mode": 33188,
      "new_path": "src/main/cpp/blaze_util_posix.cc"
    },
    {
      "type": "modify",
      "old_id": "0c8791990ead7a3cc73e62cb414c5375a2b73960",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/server/GrpcServerImpl.java",
      "new_id": "ca7d3ea4f26b15df09fb6607fa18520856118596",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/server/GrpcServerImpl.java"
    }
  ]
}
