)]}'
{
  "commit": "2630dd9787c1b75b70a980175ffa41b63f59e3b8",
  "tree": "d160084fbdc7fcff49e6f52b7cf0212a52482692",
  "parents": [
    "dafb1d68d33137779c96a83c7e42cac0e7a27ca4"
  ],
  "author": {
    "name": "Doug Anderson",
    "email": "dianders@google.com",
    "time": "Thu Apr 07 13:36:30 2011 -0700"
  },
  "committer": {
    "name": "Shawn O. Pearce",
    "email": "sop@google.com",
    "time": "Thu Apr 07 16:51:50 2011 -0400"
  },
  "message": "Fixed problems w/ 2nd repo init if first repo init had bad URL.\n\nThis is the simplest fix: if we had problems syncing the\nmanifest.git directory and we were the ones that created it,\nwe should delete it.  This doesn\u0027t try to do anything complex\nlike try to recover from a .repo directory that got broken in\nsome other way.\n\nThis is filed as: \u003chttp://crosbug.com/13403\u003e\n\nTEST\u003dmanual\n\nInit once with a bad URL:\n  $ repo init -u http://foobar.example.com\n  Getting manifest ...\n     from http://foobar.example.com\n  Connection closed by 172.22.121.77\n  error: Couldn\u0027t resolve host \u0027foobar.example.com\u0027 while accessing http://foobar.example.com/info/refs\n\n  fatal: HTTP request failed\n  fatal: cannot obtain manifest http://foobar.example.com\n\nInit again: identical to the first.  Good:\n  $ repo init -u http://foobar.example.com\n  Getting manifest ...\n     from http://foobar.example.com\n  Connection closed by 172.22.121.77\n  error: Couldn\u0027t resolve host \u0027foobar.example.com\u0027 while accessing http://foobar.example.com/info/refs\n\n  fatal: HTTP request failed\n  fatal: cannot obtain manifest http://foobar.example.com\n\nInit with correct URL:\n  $ repo init -u http://git.chromium.org/git/manifest -m minilayout.xml\n  Getting manifest ...\n     from http://git.chromium.org/git/manifest\n  [ ... cut ... ]\n\n  repo initialized in /.../repoiniterr\n\nTry a bad URL after a good one; it doesn\u0027t get saved (good):\n  $ repo init -u http://foobar.example.com\n  Connection closed by 172.22.121.77\n  error: Couldn\u0027t resolve host \u0027foobar.example.com\u0027 while accessing http://foobar.example.com/info/refs\n\n  fatal: HTTP request failed\n  fatal: cannot obtain manifest http://foobar.example.com\n\nJust to confirm, I can still do a good one after a bad...\n  $ repo init -u http://git.chromium.org/git/manifest -m minilayout.xml\n\n  Your Name  [George Washington]:\n  Your Email [george@washington.example.com]:\n\n  Your identity is: George Washington \u003cgeorge@washington.example.com\u003e\n  is this correct [y/n]? y\n\n  repo initialized in /.../repoiniterr\n\nChange-Id: I1692821a330d97b1d218b2e191a93245b33f2362\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "17edfa05e02d0564128ec714ee6657956fa86e6a",
      "old_mode": 33188,
      "old_path": "subcmds/init.py",
      "new_id": "379108430949538bfc2de04d35df51d7ae6601db",
      "new_mode": 33188,
      "new_path": "subcmds/init.py"
    }
  ]
}
