Merge "Disallow ref creation when passed object is neither Commit or Tag"
diff --git a/Documentation/user-upload.txt b/Documentation/user-upload.txt
index 625c2e9..7cc9e29 100644
--- a/Documentation/user-upload.txt
+++ b/Documentation/user-upload.txt
@@ -205,6 +205,15 @@
 notify them of new changes will be automatically sent an email
 message when the push is completed.
 
+Pushing for review requires that the target branch exists, except for
+the branch to which "HEAD" points, e.g. "master", and the
+"link:config-project-config.html#refs-meta-config[refs/meta/config]"
+branch that contains the link:config-project-config.html[project
+configuration]. For these branches Gerrit allows pushing an initial
+commit for review even if they don't exist yet. The push creates a
+change for the initial commit and when this change gets submitted the
+target branch gets created automatically.
+
 [[push_options]]
 === Push Options
 
diff --git a/plugins/replication b/plugins/replication
index 3982574..cf0aea5 160000
--- a/plugins/replication
+++ b/plugins/replication
@@ -1 +1 @@
-Subproject commit 3982574d28f254b525b093c2ecae8caa47825910
+Subproject commit cf0aea56d2efad79bcb84df37edc32c01bf8afb7