##// END OF EJS Templates
tests: avoid quoting of commit messages for test portability...
FUJIWARA Katsunori -
r30238:9843e3d9 stable
parent child Browse files
Show More
@@ -35,12 +35,12 b' Journal extension test: tests the share '
35 35 $ cd repo
36 36 $ hg bookmark bm
37 37 $ touch file0
38 $ hg commit -Am 'file0 added'
38 $ hg commit -Am file0-added
39 39 adding file0
40 40 $ hg journal --all
41 41 previous locations of the working copy and bookmarks:
42 5640b525682e . commit -Am 'file0 added'
43 5640b525682e bm commit -Am 'file0 added'
42 0fd3805711f9 . commit -Am file0-added
43 0fd3805711f9 bm commit -Am file0-added
44 44
45 45 A shared working copy initially receives the same bookmarks and working copy
46 46
@@ -51,7 +51,7 b' A shared working copy initially receives'
51 51 $ cd shared1
52 52 $ hg journal --all
53 53 previous locations of the working copy and bookmarks:
54 5640b525682e . share repo shared1
54 0fd3805711f9 . share repo shared1
55 55
56 56 unless you explicitly share bookmarks
57 57
@@ -62,26 +62,26 b' unless you explicitly share bookmarks'
62 62 $ cd shared2
63 63 $ hg journal --all
64 64 previous locations of the working copy and bookmarks:
65 5640b525682e . share --bookmarks repo shared2
66 5640b525682e bm commit -Am 'file0 added'
65 0fd3805711f9 . share --bookmarks repo shared2
66 0fd3805711f9 bm commit -Am file0-added
67 67
68 68 Moving the bookmark in the original repository is only shown in the repository
69 69 that shares bookmarks
70 70
71 71 $ cd ../repo
72 72 $ touch file1
73 $ hg commit -Am "file1 added"
73 $ hg commit -Am file1-added
74 74 adding file1
75 75 $ cd ../shared1
76 76 $ hg journal --all
77 77 previous locations of the working copy and bookmarks:
78 5640b525682e . share repo shared1
78 0fd3805711f9 . share repo shared1
79 79 $ cd ../shared2
80 80 $ hg journal --all
81 81 previous locations of the working copy and bookmarks:
82 6432d239ac5d bm commit -Am 'file1 added'
83 5640b525682e . share --bookmarks repo shared2
84 5640b525682e bm commit -Am 'file0 added'
82 4f354088b094 bm commit -Am file1-added
83 0fd3805711f9 . share --bookmarks repo shared2
84 0fd3805711f9 bm commit -Am file0-added
85 85
86 86 But working copy changes are always 'local'
87 87
@@ -91,26 +91,26 b" But working copy changes are always 'loc"
91 91 (leaving bookmark bm)
92 92 $ hg journal --all
93 93 previous locations of the working copy and bookmarks:
94 5640b525682e . up 0
95 6432d239ac5d . commit -Am 'file1 added'
96 6432d239ac5d bm commit -Am 'file1 added'
97 5640b525682e . commit -Am 'file0 added'
98 5640b525682e bm commit -Am 'file0 added'
94 0fd3805711f9 . up 0
95 4f354088b094 . commit -Am file1-added
96 4f354088b094 bm commit -Am file1-added
97 0fd3805711f9 . commit -Am file0-added
98 0fd3805711f9 bm commit -Am file0-added
99 99 $ cd ../shared2
100 100 $ hg journal --all
101 101 previous locations of the working copy and bookmarks:
102 6432d239ac5d bm commit -Am 'file1 added'
103 5640b525682e . share --bookmarks repo shared2
104 5640b525682e bm commit -Am 'file0 added'
102 4f354088b094 bm commit -Am file1-added
103 0fd3805711f9 . share --bookmarks repo shared2
104 0fd3805711f9 bm commit -Am file0-added
105 105 $ hg up tip
106 106 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
107 107 $ hg up 0
108 108 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
109 109 $ hg journal
110 110 previous locations of '.':
111 5640b525682e up 0
112 6432d239ac5d up tip
113 5640b525682e share --bookmarks repo shared2
111 0fd3805711f9 up 0
112 4f354088b094 up tip
113 0fd3805711f9 share --bookmarks repo shared2
114 114
115 115 Unsharing works as expected; the journal remains consistent
116 116
@@ -118,16 +118,16 b' Unsharing works as expected; the journal'
118 118 $ hg unshare
119 119 $ hg journal --all
120 120 previous locations of the working copy and bookmarks:
121 5640b525682e . share repo shared1
121 0fd3805711f9 . share repo shared1
122 122 $ cd ../shared2
123 123 $ hg unshare
124 124 $ hg journal --all
125 125 previous locations of the working copy and bookmarks:
126 5640b525682e . up 0
127 6432d239ac5d . up tip
128 6432d239ac5d bm commit -Am 'file1 added'
129 5640b525682e . share --bookmarks repo shared2
130 5640b525682e bm commit -Am 'file0 added'
126 0fd3805711f9 . up 0
127 4f354088b094 . up tip
128 4f354088b094 bm commit -Am file1-added
129 0fd3805711f9 . share --bookmarks repo shared2
130 0fd3805711f9 bm commit -Am file0-added
131 131
132 132 New journal entries in the source repo no longer show up in the other working copies
133 133
@@ -135,7 +135,7 b' New journal entries in the source repo n'
135 135 $ hg bookmark newbm -r tip
136 136 $ hg journal newbm
137 137 previous locations of 'newbm':
138 6432d239ac5d bookmark newbm -r tip
138 4f354088b094 bookmark newbm -r tip
139 139 $ cd ../shared2
140 140 $ hg journal newbm
141 141 previous locations of 'newbm':
@@ -146,7 +146,7 b' This applies for both directions'
146 146 $ hg bookmark shared2bm -r tip
147 147 $ hg journal shared2bm
148 148 previous locations of 'shared2bm':
149 6432d239ac5d bookmark shared2bm -r tip
149 4f354088b094 bookmark shared2bm -r tip
150 150 $ cd ../repo
151 151 $ hg journal shared2bm
152 152 previous locations of 'shared2bm':
General Comments 0
You need to be logged in to leave comments. Login now