use code blocks for request and response

This commit is contained in:
Sebastian Sdorra
2018-03-29 19:58:52 +02:00
parent e7dd54c133
commit 3a9bc6828d
5 changed files with 10 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
# Clone empty repository
```http
GET /scm/hg/hgtest?cmd=capabilities HTTP/1.1.
Accept-Encoding: identity.
accept: application/mercurial-0.1.
@@ -72,3 +73,4 @@ Content-Length: 15.
Server: Jetty(7.6.21.v20160908).
.
publishing.True
```

View File

@@ -1,5 +1,6 @@
# Push bookmark
```http
GET /scm/hg/hgtest?cmd=capabilities HTTP/1.1.
Accept-Encoding: identity.
accept: application/mercurial-0.1.
@@ -113,3 +114,4 @@ Content-Length: 2.
Server: Jetty(7.6.21.v20160908).
.
1
```

View File

@@ -1,5 +1,6 @@
# Push multiple branches to new repository
```http
GET /scm/hg/hgtest?cmd=capabilities HTTP/1.1.
Accept-Encoding: identity.
accept: application/mercurial-0.1.
@@ -163,3 +164,4 @@ Content-Length: 2.
Server: Jetty(7.6.21.v20160908).
.
1
```

View File

@@ -1,5 +1,6 @@
# Push multiple branches
```http
GET /scm/hg/hgtest?cmd=capabilities HTTP/1.1.
Accept-Encoding: identity.
accept: application/mercurial-0.1.
@@ -179,3 +180,4 @@ Content-Length: 2.
Server: Jetty(7.6.21.v20160908).
1
```

View File

@@ -1,5 +1,6 @@
# Push single changeset
```http
GET /scm/hg/hgtest?cmd=capabilities HTTP/1.1.
Accept-Encoding: identity.
accept: application/mercurial-0.1.
@@ -143,4 +144,4 @@ Content-Length: 2.
Server: Jetty(7.6.21.v20160908).
1
```