Mercurial > hg
comparison tests/test-graft.t @ 15507:7186b54b07c6 stable
graft: use revs to make tests more readable
author | Stefano Tortarolo <stefano.tortarolo@gmail.com> |
---|---|
date | Sat, 12 Nov 2011 11:23:52 +0100 |
parents | dc9fb7015d7f |
children | 00276525e2b7 |
comparison
equal
deleted
inserted
replaced
15506:dc9fb7015d7f | 15507:7186b54b07c6 |
---|---|
198 a | 198 a |
199 R a | 199 R a |
200 | 200 |
201 View graph: | 201 View graph: |
202 | 202 |
203 $ hg --config extensions.graphlog= log -G --template '{author}@rev: {desc}\n' | 203 $ hg --config extensions.graphlog= log -G --template '{author}@{rev}: {desc}\n' |
204 @ test@rev: 3 | 204 @ test@11: 3 |
205 | | 205 | |
206 o test@rev: 4 | 206 o test@10: 4 |
207 | | 207 | |
208 o test@rev: 5 | 208 o test@9: 5 |
209 | | 209 | |
210 o bar@rev: 1 | 210 o bar@8: 1 |
211 | | 211 | |
212 o foo@rev: 2 | 212 o foo@7: 2 |
213 | | 213 | |
214 | o test@rev: 6 | 214 | o test@6: 6 |
215 | |\ | 215 | |\ |
216 | | o test@rev: 5 | 216 | | o test@5: 5 |
217 | | | | 217 | | | |
218 | o | test@rev: 4 | 218 | o | test@4: 4 |
219 | |/ | 219 | |/ |
220 | o baz@rev: 3 | 220 | o baz@3: 3 |
221 | | | 221 | | |
222 | o test@rev: 2 | 222 | o test@2: 2 |
223 | | | 223 | | |
224 | o bar@rev: 1 | 224 | o bar@1: 1 |
225 |/ | 225 |/ |
226 o test@rev: 0 | 226 o test@0: 0 |
227 | 227 |
228 Graft again onto another branch should preserve the original source | 228 Graft again onto another branch should preserve the original source |
229 $ hg up -q 0 | 229 $ hg up -q 0 |
230 $ echo 'g'>g | 230 $ echo 'g'>g |
231 $ hg add g | 231 $ hg add g |