Split <swh:create_origin> / <swh:add_to_origin> handling to its own function.
It will be reused by _multipart_upload in the next commit, and makes _atom_entry smaller.
Migrated from D4799 (view on Phabricator)
Staging instance, all changes can be removed at any time
It will be reused by _multipart_upload in the next commit, and makes _atom_entry smaller.
Migrated from D4799 (view on Phabricator)