comparison tests/test-subrepo @ 11088:c4347e48b0d0

summary: add subrepo status
author Matt Mackall <mpm@selenic.com>
date Mon, 03 May 2010 17:05:23 -0500
parents c2601c216333
children 34e33d50c26b
comparison
equal deleted inserted replaced
11087:dc2f37864348 11088:c4347e48b0d0
14 echo s = s > .hgsub 14 echo s = s > .hgsub
15 hg add .hgsub 15 hg add .hgsub
16 hg init s 16 hg init s
17 echo a > s/a 17 echo a > s/a
18 hg -R s ci -Ams0 18 hg -R s ci -Ams0
19 hg sum
19 hg ci -m1 20 hg ci -m1
20 21
21 echo % add sub sub 22 echo % add sub sub
22 echo ss = ss > s/.hgsub 23 echo ss = ss > s/.hgsub
23 hg init s/ss 24 hg init s/ss
24 echo a > s/ss/a 25 echo a > s/ss/a
25 hg -R s add s/.hgsub 26 hg -R s add s/.hgsub
26 hg -R s/ss add s/ss/a 27 hg -R s/ss add s/ss/a
28 hg sum
27 hg ci -m2 29 hg ci -m2
30 hg sum
28 31
29 echo % bump sub rev 32 echo % bump sub rev
30 echo b > s/a 33 echo b > s/a
31 hg -R s ci -ms1 34 hg -R s ci -ms1
32 hg ci -m3 35 hg ci -m3