Show More
@@ -84,22 +84,25 b' add more upstream files which we will in' | |||
|
84 | 84 | |
|
85 | 85 | $ cd .. |
|
86 | 86 | |
|
87 |
Widen the narrow spec to see the wide |
|
|
87 | Widen the narrow spec to see the widest file. This should not get the newly | |
|
88 | 88 | added upstream revisions. |
|
89 | 89 | |
|
90 | 90 | $ cd narrow |
|
91 |
$ hg tracked --addinclude wide |
|
|
91 | $ hg tracked --addinclude widest/f | |
|
92 | 92 | comparing with ssh://user@dummy/master |
|
93 | 93 | searching for changes |
|
94 | 94 | no changes found |
|
95 | 95 | adding changesets |
|
96 | 96 | adding manifests |
|
97 | 97 | adding file changes |
|
98 |
added 0 changesets with |
|
|
98 | added 0 changesets with 1 changes to 2 files | |
|
99 | 99 | 3 local changesets published |
|
100 | 100 | $ hg tracked |
|
101 | 101 | I path:inside |
|
102 |
I path:wide |
|
|
102 | I path:widest/f | |
|
103 | ||
|
104 | $ cat widest/f | |
|
105 | widest | |
|
103 | 106 | |
|
104 | 107 | Pull down the newly added upstream revision. |
|
105 | 108 | |
@@ -109,18 +112,19 b' Pull down the newly added upstream revis' | |||
|
109 | 112 | adding changesets |
|
110 | 113 | adding manifests |
|
111 | 114 | adding file changes |
|
112 |
added 5 changesets with |
|
|
115 | added 5 changesets with 4 changes to 2 files | |
|
113 | 116 | new changesets *:* (glob) |
|
114 | 117 | (run 'hg update' to get a working copy) |
|
115 | 118 | $ hg update -r 'desc("add wider")' |
|
116 | 119 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
117 | $ cat wider/f | |
|
118 | wider | |
|
120 | ||
|
121 | $ cat widest/f | |
|
122 | widest v2 | |
|
119 | 123 | |
|
120 | 124 | $ hg update -r 'desc("update inside")' |
|
121 |
|
|
|
122 |
$ cat wide |
|
|
123 |
wide |
|
|
125 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
|
126 | $ cat widest/f | |
|
127 | widest v3 | |
|
124 | 128 | $ cat inside/f |
|
125 | 129 | inside v2 |
|
126 | 130 | |
@@ -141,21 +145,21 b' Check that widening with a newline fails' | |||
|
141 | 145 | abort: newlines are not allowed in narrowspec paths |
|
142 | 146 | [255] |
|
143 | 147 | |
|
144 |
widen the narrow spec to include the wide |
|
|
148 | widen the narrow spec to include the wider file | |
|
145 | 149 | |
|
146 |
$ hg tracked --addinclude wide |
|
|
150 | $ hg tracked --addinclude wider | |
|
147 | 151 | comparing with ssh://user@dummy/master |
|
148 | 152 | searching for changes |
|
149 | 153 | no changes found |
|
150 | 154 | adding changesets |
|
151 | 155 | adding manifests |
|
152 | 156 | adding file changes |
|
153 |
added 0 changesets with |
|
|
157 | added 0 changesets with 1 changes to 3 files | |
|
154 | 158 | 5 local changesets published |
|
155 | 159 | $ hg tracked |
|
156 | 160 | I path:inside |
|
157 |
I path:wider |
|
|
158 | I path:widest | |
|
161 | I path:wider | |
|
162 | I path:widest/f | |
|
159 | 163 | $ hg update 'desc("add widest")' |
|
160 | 164 | 2 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
161 | 165 | $ cat widest/f |
@@ -88,11 +88,11 b' add more upstream files which we will in' | |||
|
88 | 88 | |
|
89 | 89 | $ cd .. |
|
90 | 90 | |
|
91 |
Widen the narrow spec to see the wide |
|
|
91 | Widen the narrow spec to see the widest file. This should not get the newly | |
|
92 | 92 | added upstream revisions. |
|
93 | 93 | |
|
94 | 94 | $ cd narrow |
|
95 |
$ hg tracked --addinclude wide |
|
|
95 | $ hg tracked --addinclude widest/f | |
|
96 | 96 | comparing with ssh://user@dummy/master |
|
97 | 97 | searching for changes |
|
98 | 98 | no changes found |
@@ -100,11 +100,14 b' added upstream revisions.' | |||
|
100 | 100 | adding changesets |
|
101 | 101 | adding manifests |
|
102 | 102 | adding file changes |
|
103 |
added |
|
|
103 | added 3 changesets with 2 changes to 2 files | |
|
104 | 104 | new changesets *:* (glob) |
|
105 | 105 | $ hg tracked |
|
106 | 106 | I path:inside |
|
107 |
I path:wide |
|
|
107 | I path:widest/f | |
|
108 | ||
|
109 | $ cat widest/f | |
|
110 | widest | |
|
108 | 111 | |
|
109 | 112 | Pull down the newly added upstream revision. |
|
110 | 113 | |
@@ -114,27 +117,29 b' Pull down the newly added upstream revis' | |||
|
114 | 117 | adding changesets |
|
115 | 118 | adding manifests |
|
116 | 119 | adding file changes |
|
117 |
added |
|
|
120 | added 5 changesets with 4 changes to 2 files | |
|
118 | 121 | new changesets *:* (glob) |
|
119 | 122 | (run 'hg update' to get a working copy) |
|
120 | 123 | $ hg update -r 'desc("add wider")' |
|
121 | 124 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
122 |
$ cat wide |
|
|
123 |
wide |
|
|
125 | $ cat widest/f | |
|
126 | widest v2 | |
|
124 | 127 | |
|
125 | 128 | $ hg update -r 'desc("update inside")' |
|
126 |
|
|
|
127 |
$ cat wide |
|
|
128 |
wide |
|
|
129 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
|
130 | $ cat widest/f | |
|
131 | widest v3 | |
|
129 | 132 | $ cat inside/f |
|
130 | 133 | inside v2 |
|
131 | 134 | |
|
132 | 135 | $ hg log -T "{if(ellipsis, '...')}{rev}: {desc}\n" |
|
133 |
|
|
|
134 | 4: update inside | |
|
135 |
|
|
|
136 |
|
|
|
137 | ...1: add outside | |
|
136 | 7: update widest v4 | |
|
137 | ...6: add outside2 | |
|
138 | 5: update inside | |
|
139 | 4: update widest v3 | |
|
140 | 3: add wider, update widest | |
|
141 | ...2: add outside | |
|
142 | 1: add widest | |
|
138 | 143 | 0: add inside |
|
139 | 144 | |
|
140 | 145 | Check that widening with a newline fails |
@@ -144,9 +149,9 b' Check that widening with a newline fails' | |||
|
144 | 149 | abort: newlines are not allowed in narrowspec paths |
|
145 | 150 | [255] |
|
146 | 151 | |
|
147 |
widen the narrow spec to include the wide |
|
|
152 | widen the narrow spec to include the wider file | |
|
148 | 153 | |
|
149 |
$ hg tracked --addinclude wide |
|
|
154 | $ hg tracked --addinclude wider | |
|
150 | 155 | comparing with ssh://user@dummy/master |
|
151 | 156 | searching for changes |
|
152 | 157 | no changes found |
@@ -158,8 +163,8 b' widen the narrow spec to include the wid' | |||
|
158 | 163 | new changesets *:* (glob) |
|
159 | 164 | $ hg tracked |
|
160 | 165 | I path:inside |
|
161 |
I path:wider |
|
|
162 | I path:widest | |
|
166 | I path:wider | |
|
167 | I path:widest/f | |
|
163 | 168 | $ hg update 'desc("add widest")' |
|
164 | 169 | 2 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
165 | 170 | $ cat widest/f |
General Comments 0
You need to be logged in to leave comments.
Login now