tests: add shortlog of other repos to test-sharing.t
The figures require showing multiple repos, so let's show them all, even if
they look trivial.
--- a/tests/test-sharing.t Sat Oct 26 13:06:49 2019 +0700
+++ b/tests/test-sharing.t Sat Oct 26 13:30:21 2019 +0700
@@ -57,11 +57,16 @@
$ hg push -q ../test-repo
Figure SG01 (roughly)
- $ hg shortlog -G
+ $ hg -R ../dev-repo shortlog -G
@ 1:f649 draft prelim change
|
o 0:0dc9 public create new project
+ $ hg -R ../test-repo shortlog -G
+ o 1:f649 draft prelim change
+ |
+ @ 0:0dc9 public create new project
+
Now let's switch to test-repo to test our change and amend::
$ cd ../test-repo
$ hg update -q
@@ -69,7 +74,12 @@
$ hg amend -m'fix bug 37'
Figure SG02
- $ hg shortlog --hidden -G
+ $ hg -R ../dev-repo shortlog --hidden -G
+ @ 1:f649 draft prelim change
+ |
+ o 0:0dc9 public create new project
+
+ $ hg -R ../test-repo shortlog --hidden -G
@ 2:60ff draft fix bug 37
|
| x 1:f649 draft prelim change
@@ -94,7 +104,7 @@
1 other heads for branch "default"
Figure SG03
- $ hg shortlog --hidden -G
+ $ hg -R ../dev-repo shortlog --hidden -G
@ 2:60ff draft fix bug 37
|
| x 1:f649 draft prelim change