Commits

Georg Brandl committed c2c9f91 Merge

Merged in troter/hgbb (pull request #9)

  • Participants
  • Parent commits 480da0c, 434bf94

Comments (0)

Files changed (1)

         'description': opts.get('description'),
         'language': opts.get('language').lower(),
         'website': opts.get('website'),
-        'is_private': opts.get('private'),
         'scm': 'hg',
     }
+    if opts.get('private'):
+        data['is_private'] = True
+
     _bb_apicall(ui, 'repositories', data)
     # if this completes without exception, assume the request was successful,
     # and clone the new repo