equal
deleted
inserted
replaced
1 #! /bin/sh |
|
2 |
|
3 echo "[extensions]" >> $HGRCPATH |
|
4 echo "graphlog=" >> $HGRCPATH |
|
5 |
|
6 |
|
7 |
|
8 echo ---- overwritten and appended files |
|
9 |
|
10 rm -rf repo |
|
11 hg init repo |
|
12 cd repo |
|
13 hg debugbuilddag '+2:f +3:p2 @temp <f+4 @default /p2 +2' -q -oa |
|
14 echo -- dag |
|
15 hg debugdag -t -b |
|
16 echo -- glog |
|
17 hg glog --template '{rev}: {desc} [{branches}] @ {date}\n' |
|
18 echo -- glog of |
|
19 hg glog --template '{rev}: {desc} [{branches}]\n' of |
|
20 echo -- glog af |
|
21 hg glog --template '{rev}: {desc} [{branches}]\n' af |
|
22 echo -- tags |
|
23 hg tags -v |
|
24 echo -- cat of |
|
25 hg cat of |
|
26 echo -- cat af |
|
27 hg cat af |
|
28 cd .. |
|
29 |
|
30 echo ---- new and mergeable files |
|
31 |
|
32 rm -rf repo |
|
33 hg init repo |
|
34 cd repo |
|
35 hg debugbuilddag '+2:f +3:p2 @temp <f+4 @default /p2 +2' -q -mn |
|
36 echo -- dag |
|
37 hg debugdag -t -b |
|
38 echo -- glog |
|
39 hg glog --template '{rev}: {desc} [{branches}] @ {date}\n' |
|
40 echo -- glog mf |
|
41 hg glog --template '{rev}: {desc} [{branches}]\n' mf |
|
42 |
|
43 echo -- man r4 |
|
44 hg manifest -r4 |
|
45 echo -- cat r4 mf |
|
46 hg cat -r4 mf |
|
47 echo -- man r8 |
|
48 hg manifest -r8 |
|
49 echo -- cat r8 mf |
|
50 hg cat -r8 mf |
|
51 echo -- man |
|
52 hg manifest |
|
53 echo -- cat mf |
|
54 hg cat mf |
|
55 cd .. |
|
56 |
|
57 echo ---- command |
|
58 |
|
59 rm -rf repo |
|
60 hg init repo |
|
61 cd repo |
|
62 hg debugbuilddag '+2 !"touch X" +2' -q -o |
|
63 echo -- dag |
|
64 hg debugdag -t -b |
|
65 echo -- glog |
|
66 hg glog --template '{rev}: {desc} [{branches}]\n' |
|
67 echo -- glog X |
|
68 hg glog --template '{rev}: {desc} [{branches}]\n' X |
|
69 cd .. |
|
70 |
|