equal
deleted
inserted
replaced
1 $ cat >> $HGRCPATH <<EOF |
1 $ cat >> $HGRCPATH <<EOF |
2 > [alias] |
2 > [alias] |
|
3 > glog = log -GT "{rev}:{node|short}@{branch}({phase}) {desc|firstline}" |
3 > gluf = log -GT "{rev}: {desc|firstline} - {author|user} ({files})" |
4 > gluf = log -GT "{rev}: {desc|firstline} - {author|user} ({files})" |
4 > [extensions] |
5 > [extensions] |
5 > EOF |
6 > EOF |
6 $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH |
7 $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH |
7 $ mkcommit() { |
8 $ mkcommit() { |
8 > echo "$1" > "$1" |
9 > echo "$1" > "$1" |
9 > hg add "$1" |
10 > hg add "$1" |
10 > hg ci -m "$1" |
11 > hg ci -m "$1" |
11 > } |
|
12 |
|
13 $ glog() { |
|
14 > hg log -G --template '{rev}:{node|short}@{branch}({phase}) {desc|firstline}\n' "$@" |
|
15 > } |
12 > } |
16 |
13 |
17 |
14 |
18 ########################## |
15 ########################## |
19 importing Parren test |
16 importing Parren test |
132 HG: added E |
129 HG: added E |
133 HG: added F |
130 HG: added F |
134 2 changesets folded |
131 2 changesets folded |
135 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
132 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
136 |
133 |
137 $ glog -r . |
134 $ hg glog -r . |
138 @ 9:a08d35fd7d9d@default(draft) E |
135 @ 9:a08d35fd7d9d@default(draft) E |
139 | |
136 | |
140 ~ |
137 ~ |
141 |
138 |
142 $ hg obslog -r . |
139 $ hg obslog -r . |
169 HG: branch 'default' |
166 HG: branch 'default' |
170 HG: added E |
167 HG: added E |
171 HG: added F |
168 HG: added F |
172 nothing changed |
169 nothing changed |
173 |
170 |
174 $ glog -r '.^::.' |
171 $ hg glog -r '.^::.' |
175 @ 9:a08d35fd7d9d@default(draft) E |
172 @ 9:a08d35fd7d9d@default(draft) E |
176 | |
173 | |
177 o 3:3260958f1169@default(draft) C |
174 o 3:3260958f1169@default(draft) C |
178 | |
175 | |
179 ~ |
176 ~ |