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