Show More
@@ -166,3 +166,74 b' Bookmark name appears in output' | |||||
166 | ~ |
|
166 | ~ | |
167 |
|
167 | |||
168 | $ cd .. |
|
168 | $ cd .. | |
|
169 | ||||
|
170 | Tags are rendered | |||
|
171 | ||||
|
172 | $ hg init tags | |||
|
173 | $ cd tags | |||
|
174 | $ echo 0 > foo | |||
|
175 | $ hg -q commit -A -m 'commit 1' | |||
|
176 | $ echo 1 > foo | |||
|
177 | $ hg commit -m 'commit 2' | |||
|
178 | $ hg tag 0.1 | |||
|
179 | $ hg phase --public -r . | |||
|
180 | $ echo 2 > foo | |||
|
181 | $ hg commit -m 'commit 3' | |||
|
182 | $ hg tag 0.2 | |||
|
183 | ||||
|
184 | TODO tags aren't yet rendered | |||
|
185 | $ hg show work | |||
|
186 | @ 37582 Added tag 0.2 for changeset 6379c25b76f1 | |||
|
187 | o 6379c commit 3 | |||
|
188 | o a2ad9 Added tag 0.1 for changeset 6a75536ea0b1 | |||
|
189 | | | |||
|
190 | ~ | |||
|
191 | ||||
|
192 | $ cd .. | |||
|
193 | ||||
|
194 | Multiple names on same changeset render properly | |||
|
195 | ||||
|
196 | $ hg init multiplenames | |||
|
197 | $ cd multiplenames | |||
|
198 | $ echo 0 > foo | |||
|
199 | $ hg -q commit -A -m 'commit 1' | |||
|
200 | $ hg phase --public -r . | |||
|
201 | $ hg branch mybranch | |||
|
202 | marked working directory as branch mybranch | |||
|
203 | (branches are permanent and global, did you want a bookmark?) | |||
|
204 | $ hg bookmark mybook | |||
|
205 | $ echo 1 > foo | |||
|
206 | $ hg commit -m 'commit 2' | |||
|
207 | ||||
|
208 | $ hg show work | |||
|
209 | @ 34834 (mybranch) (mybook) commit 2 | |||
|
210 | o 97fcc commit 1 | |||
|
211 | ||||
|
212 | Multiple bookmarks on same changeset render properly | |||
|
213 | ||||
|
214 | $ hg book mybook2 | |||
|
215 | $ hg show work | |||
|
216 | @ 34834 (mybranch) (mybook mybook2) commit 2 | |||
|
217 | o 97fcc commit 1 | |||
|
218 | ||||
|
219 | $ cd .. | |||
|
220 | ||||
|
221 | Extra namespaces are rendered | |||
|
222 | ||||
|
223 | $ hg init extranamespaces | |||
|
224 | $ cd extranamespaces | |||
|
225 | $ echo 0 > foo | |||
|
226 | $ hg -q commit -A -m 'commit 1' | |||
|
227 | $ hg phase --public -r . | |||
|
228 | $ echo 1 > foo | |||
|
229 | $ hg commit -m 'commit 2' | |||
|
230 | $ echo 2 > foo | |||
|
231 | $ hg commit -m 'commit 3' | |||
|
232 | ||||
|
233 | TODO don't yet render extra namespaces | |||
|
234 | $ hg --config extensions.revnames=$TESTDIR/revnamesext.py show work | |||
|
235 | @ 32f3e commit 3 | |||
|
236 | o 6a755 commit 2 | |||
|
237 | o 97fcc commit 1 | |||
|
238 | ||||
|
239 | $ cd .. |
General Comments 0
You need to be logged in to leave comments.
Login now