Mercurial > hg
annotate tests/test-status-terse.t @ 38158:4e790f0966fc
phases: define an official tuple of phases we do not share
Same motivation as for `mutablephases`, having a single definition helps with
updating phases logic.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Tue, 22 May 2018 18:10:37 +0200 |
parents | 18424aeece7f |
children | 09b09fe7ee90 |
rev | line source |
---|---|
33548
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
1 $ mkdir folder |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
2 $ cd folder |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
3 $ hg init |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
4 $ mkdir x x/l x/m x/n x/l/u x/l/u/a |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
5 $ touch a b x/aa.o x/bb.o |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
6 $ hg status |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
7 ? a |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
8 ? b |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
9 ? x/aa.o |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
10 ? x/bb.o |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
11 |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
12 $ hg status --terse u |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
13 ? a |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
14 ? b |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
15 ? x/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
16 $ hg status --terse maudric |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
17 ? a |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
18 ? b |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
19 ? x/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
20 $ hg status --terse madric |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
21 ? a |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
22 ? b |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
23 ? x/aa.o |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
24 ? x/bb.o |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
25 $ hg status --terse f |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
26 abort: 'f' not recognized |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
27 [255] |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
28 |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
29 Add a .hgignore so that we can also have ignored files |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
30 |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
31 $ echo ".*\.o" > .hgignore |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
32 $ hg status |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
33 ? .hgignore |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
34 ? a |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
35 ? b |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
36 $ hg status -i |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
37 I x/aa.o |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
38 I x/bb.o |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
39 |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
40 Tersing ignored files |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
41 $ hg status -t i --ignored |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
42 I x/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
43 |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
44 Adding more files |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
45 $ mkdir y |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
46 $ touch x/aa x/bb y/l y/m y/l.o y/m.o |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
47 $ touch x/l/aa x/m/aa x/n/aa x/l/u/bb x/l/u/a/bb |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
48 |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
49 $ hg status |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
50 ? .hgignore |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
51 ? a |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
52 ? b |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
53 ? x/aa |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
54 ? x/bb |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
55 ? x/l/aa |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
56 ? x/l/u/a/bb |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
57 ? x/l/u/bb |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
58 ? x/m/aa |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
59 ? x/n/aa |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
60 ? y/l |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
61 ? y/m |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
62 |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
63 $ hg status --terse u |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
64 ? .hgignore |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
65 ? a |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
66 ? b |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
67 ? x/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
68 ? y/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
69 |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
70 $ hg add x/aa x/bb .hgignore |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
71 $ hg status --terse au |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
72 A .hgignore |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
73 A x/aa |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
74 A x/bb |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
75 ? a |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
76 ? b |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
77 ? x/l/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
78 ? x/m/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
79 ? x/n/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
80 ? y/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
81 |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
82 Including ignored files |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
83 |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
84 $ hg status --terse aui |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
85 A .hgignore |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
86 A x/aa |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
87 A x/bb |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
88 ? a |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
89 ? b |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
90 ? x/l/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
91 ? x/m/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
92 ? x/n/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
93 ? y/l |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
94 ? y/m |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
95 $ hg status --terse au -i |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
96 I x/aa.o |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
97 I x/bb.o |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
98 I y/l.o |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
99 I y/m.o |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
100 |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
101 Committing some of the files |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
102 |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
103 $ hg commit x/aa x/bb .hgignore -m "First commit" |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
104 $ hg status |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
105 ? a |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
106 ? b |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
107 ? x/l/aa |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
108 ? x/l/u/a/bb |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
109 ? x/l/u/bb |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
110 ? x/m/aa |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
111 ? x/n/aa |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
112 ? y/l |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
113 ? y/m |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
114 $ hg status --terse mardu |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
115 ? a |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
116 ? b |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
117 ? x/l/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
118 ? x/m/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
119 ? x/n/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
120 ? y/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
121 |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
122 Modifying already committed files |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
123 |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
124 $ echo "Hello" >> x/aa |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
125 $ echo "World" >> x/bb |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
126 $ hg status --terse maurdc |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
127 M x/aa |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
128 M x/bb |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
129 ? a |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
130 ? b |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
131 ? x/l/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
132 ? x/m/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
133 ? x/n/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
134 ? y/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
135 |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
136 Respecting other flags |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
137 |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
138 $ hg status --terse marduic --all |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
139 M x/aa |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
140 M x/bb |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
141 ? a |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
142 ? b |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
143 ? x/l/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
144 ? x/m/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
145 ? x/n/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
146 ? y/l |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
147 ? y/m |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
148 I x/aa.o |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
149 I x/bb.o |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
150 I y/l.o |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
151 I y/m.o |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
152 C .hgignore |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
153 $ hg status --terse marduic -a |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
154 $ hg status --terse marduic -c |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
155 C .hgignore |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
156 $ hg status --terse marduic -m |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
157 M x/aa |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
158 M x/bb |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
159 |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
160 Passing 'i' in terse value will consider the ignored files while tersing |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
161 |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
162 $ hg status --terse marduic -u |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
163 ? a |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
164 ? b |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
165 ? x/l/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
166 ? x/m/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
167 ? x/n/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
168 ? y/l |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
169 ? y/m |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
170 |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
171 Omitting 'i' in terse value does not consider ignored files while tersing |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
172 |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
173 $ hg status --terse marduc -u |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
174 ? a |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
175 ? b |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
176 ? x/l/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
177 ? x/m/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
178 ? x/n/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
179 ? y/ |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
180 |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
181 Trying with --rev |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
182 |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
183 $ hg status --terse marduic --rev 0 --rev 1 |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
184 abort: cannot use --terse with --rev |
4cd4344a53c4
status: add a flag to terse the output (issue4119)
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
185 [255] |
38100
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
186 |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
187 Config item to set the default terseness |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
188 $ cat <<EOF >> $HGRCPATH |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
189 > [commands] |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
190 > status.terse = u |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
191 > EOF |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
192 $ hg status -mu |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
193 M x/aa |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
194 M x/bb |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
195 ? a |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
196 ? b |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
197 ? x/l/ |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
198 ? x/m/ |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
199 ? x/n/ |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
200 ? y/ |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
201 |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
202 Command line flag overrides the default |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
203 $ hg status --terse= |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
204 M x/aa |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
205 M x/bb |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
206 ? a |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
207 ? b |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
208 ? x/l/aa |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
209 ? x/l/u/a/bb |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
210 ? x/l/u/bb |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
211 ? x/m/aa |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
212 ? x/n/aa |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
213 ? y/l |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
214 ? y/m |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
215 $ hg status --terse=mardu |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
216 M x/aa |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
217 M x/bb |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
218 ? a |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
219 ? b |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
220 ? x/l/ |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
221 ? x/m/ |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
222 ? x/n/ |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
223 ? y/ |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
224 |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
225 Specifying --rev should still work, with the terseness disabled. |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
226 $ hg status --rev 0 |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
227 M x/aa |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
228 M x/bb |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
229 ? a |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
230 ? b |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
231 ? x/l/aa |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
232 ? x/l/u/a/bb |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
233 ? x/l/u/bb |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
234 ? x/m/aa |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
235 ? x/n/aa |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
236 ? y/l |
18424aeece7f
status: add a config knob for setting default of --terse
Augie Fackler <augie@google.com>
parents:
34000
diff
changeset
|
237 ? y/m |