<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -5,6 +5,7 @@ from __future__ import with_statement
 from contextlib import closing
 import logging
 import os
+import re
 import simplejson
 
 from git_command import GitCommand
@@ -46,7 +47,9 @@ class Manifest(object):
 
   @classmethod
   def from_json_file(cls, path):
-    data = simplejson.load(file(path))
+    data_txt = file(path).read()
+    data_txt = re.sub(r'(?s)/\*.+?\*/', &quot;&quot;, data_txt)
+    data = simplejson.loads(data_txt)
     return cls.from_dict(data, base_dir=os.path.abspath(os.path.dirname(path)))
 
   def add_project(self, project):</diff>
      <filename>manifest.py</filename>
    </modified>
    <modified>
      <diff>@@ -37,10 +37,12 @@ mkdir tests
 pushd tests
 
 cat &gt; manifest.json &lt;&lt;EOF
-{  
+{   /* comment here! */
   &quot;remotes&quot;:
     {&quot;origin&quot;: { &quot;fetch&quot;: &quot;$TESTDIR/%(name)s&quot; }},
- 
+/* multi
+line
+comment*/
   &quot;projects&quot;:
     {&quot;repo_a&quot;: { &quot;track-tag&quot;: &quot;commit_b&quot; }}
 }</diff>
      <filename>shell-tests/follow_tag.sh</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c74181ac238ae911eadd0195607873fe7e1fe41f</id>
    </parent>
  </parents>
  <author>
    <name>Todd Lipcon</name>
    <email>todd@cloudera.com</email>
  </author>
  <url>http://github.com/cloudera/crepo/commit/ec69674460d8a4553e264826fcd662ce3b74c837</url>
  <id>ec69674460d8a4553e264826fcd662ce3b74c837</id>
  <committed-date>2009-10-26T11:02:05-07:00</committed-date>
  <authored-date>2009-10-26T11:01:49-07:00</authored-date>
  <message>Add c-style /* ... */ comment support</message>
  <tree>60a637c025dfcdfdaef868983fac3a37de9ef126</tree>
  <committer>
    <name>Todd Lipcon</name>
    <email>todd@cloudera.com</email>
  </committer>
</commit>
