code: @InterfaceAudience.Public
      public SavedRevision createRevision(Map<String, Object> properties) throws CouchbaseLiteException {
          boolean allowConflict = false;
          return document.putProperties(properties, revisionInternal.getRevID(), allowConflict);
      }
docs: Creates and saves a new revision with the given properties.
  This will fail with a 412 error if the receiver is not the current revision of the document.