annotate tests/test-status-rev.t @ 23196:daa73289dd2a

test-status-rev: use same names as from generate-working-copy-states To prepare for using generate-working-copy-states.py for generating the files and their content, let's start by renaming the files according to the naming scheme used by that script.
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 20 Oct 2014 23:56:55 -0700
parents eeaed3d2b004
children 636158ff7329
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23037
eeaed3d2b004 status: add more complete tests for --rev
Martin von Zweigbergk <martinvonz@gmail.com>
parents:
diff changeset
1 Tests of 'hg status --rev <rev>' to make sure status between <rev> and '.' get
eeaed3d2b004 status: add more complete tests for --rev
Martin von Zweigbergk <martinvonz@gmail.com>
parents:
diff changeset
2 combined correctly with the dirstate status.
eeaed3d2b004 status: add more complete tests for --rev
Martin von Zweigbergk <martinvonz@gmail.com>
parents:
diff changeset
3
eeaed3d2b004 status: add more complete tests for --rev
Martin von Zweigbergk <martinvonz@gmail.com>
parents:
diff changeset
4 $ hg init
eeaed3d2b004 status: add more complete tests for --rev
Martin von Zweigbergk <martinvonz@gmail.com>
parents:
diff changeset
5 $ touch .hgignore
eeaed3d2b004 status: add more complete tests for --rev
Martin von Zweigbergk <martinvonz@gmail.com>
parents:
diff changeset
6 $ hg add .hgignore
eeaed3d2b004 status: add more complete tests for --rev
Martin von Zweigbergk <martinvonz@gmail.com>
parents:
diff changeset
7 $ hg commit -m initial
eeaed3d2b004 status: add more complete tests for --rev
Martin von Zweigbergk <martinvonz@gmail.com>
parents:
diff changeset
8
23196
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
9 First commit
23037
eeaed3d2b004 status: add more complete tests for --rev
Martin von Zweigbergk <martinvonz@gmail.com>
parents:
diff changeset
10
23196
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
11 $ echo a >content1_content1_content1-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
12 $ echo a >content1_content1_missing-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
13 $ echo a >content1_content1_content1-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
14 $ echo a >content1_content1_content3-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
15 $ echo a >content1_content1_missing-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
16 $ echo a >content1_content2_content2-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
17 $ echo a >content1_content2_missing-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
18 $ echo a >content1_content2_content2-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
19 $ echo a >content1_content2_content3-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
20 $ echo a >content1_content2_missing-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
21 $ echo a >content1_missing_content3-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
22 $ echo a >content1_missing_missing-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
23 $ echo a >content1_missing_content3-untracked
23037
eeaed3d2b004 status: add more complete tests for --rev
Martin von Zweigbergk <martinvonz@gmail.com>
parents:
diff changeset
24 $ hg commit -Aqm first
eeaed3d2b004 status: add more complete tests for --rev
Martin von Zweigbergk <martinvonz@gmail.com>
parents:
diff changeset
25
23196
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
26 Second commit
23037
eeaed3d2b004 status: add more complete tests for --rev
Martin von Zweigbergk <martinvonz@gmail.com>
parents:
diff changeset
27
23196
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
28 $ echo b >missing_content2_missing-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
29 $ echo b >missing_content2_content2-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
30 $ echo b >missing_content2_content3-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
31 $ echo b >missing_content2_missing-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
32 $ echo b >content1_content2_content2-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
33 $ echo b >content1_content2_content3-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
34 $ echo b >content1_content2_content2-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
35 $ echo b >content1_content2_content3-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
36 $ echo b >content1_content2_missing-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
37 $ hg rm content1_missing_content3-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
38 $ hg rm content1_missing_missing-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
39 $ hg rm content1_missing_content3-untracked
23037
eeaed3d2b004 status: add more complete tests for --rev
Martin von Zweigbergk <martinvonz@gmail.com>
parents:
diff changeset
40 $ hg commit -Aqm second
eeaed3d2b004 status: add more complete tests for --rev
Martin von Zweigbergk <martinvonz@gmail.com>
parents:
diff changeset
41
23196
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
42 Working copy
23037
eeaed3d2b004 status: add more complete tests for --rev
Martin von Zweigbergk <martinvonz@gmail.com>
parents:
diff changeset
43
23196
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
44 $ echo c >content1_content1_content3-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
45 $ echo c >content1_content2_content3-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
46 $ echo c >missing_content2_content3-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
47 $ echo c >content1_missing_content3-tracked && hg add content1_missing_content3-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
48 $ echo c >content1_missing_missing-tracked && hg add content1_missing_missing-tracked && rm content1_missing_missing-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
49 $ echo c >content1_missing_content3-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
50 $ hg rm content1_content2_missing-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
51 $ hg rm content1_content1_missing-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
52 $ hg rm missing_content2_missing-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
53 $ rm content1_content1_missing-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
54 $ rm content1_content2_missing-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
55 $ rm missing_content2_missing-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
56 $ hg forget content1_content1_content1-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
57 $ hg forget content1_content2_content2-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
58 $ hg forget missing_content2_content2-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
59 $ touch missing_missing_content3-untracked
23037
eeaed3d2b004 status: add more complete tests for --rev
Martin von Zweigbergk <martinvonz@gmail.com>
parents:
diff changeset
60
eeaed3d2b004 status: add more complete tests for --rev
Martin von Zweigbergk <martinvonz@gmail.com>
parents:
diff changeset
61 Status compared to one revision back
eeaed3d2b004 status: add more complete tests for --rev
Martin von Zweigbergk <martinvonz@gmail.com>
parents:
diff changeset
62
23196
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
63 $ hg status -A --rev 1 content1_content1_content1-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
64 C content1_content1_content1-tracked
23037
eeaed3d2b004 status: add more complete tests for --rev
Martin von Zweigbergk <martinvonz@gmail.com>
parents:
diff changeset
65 BROKEN: file appears twice; should be '!'
23196
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
66 $ hg status -A --rev 1 content1_content1_missing-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
67 ! content1_content1_missing-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
68 C content1_content1_missing-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
69 $ hg status -A --rev 1 content1_content1_content1-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
70 R content1_content1_content1-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
71 $ hg status -A --rev 1 content1_content1_content3-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
72 M content1_content1_content3-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
73 $ hg status -A --rev 1 content1_content1_missing-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
74 R content1_content1_missing-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
75 $ hg status -A --rev 1 content1_content2_content2-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
76 M content1_content2_content2-tracked
23037
eeaed3d2b004 status: add more complete tests for --rev
Martin von Zweigbergk <martinvonz@gmail.com>
parents:
diff changeset
77 BROKEN: file appears twice; should be '!'
23196
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
78 $ hg status -A --rev 1 content1_content2_missing-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
79 ! content1_content2_missing-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
80 C content1_content2_missing-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
81 $ hg status -A --rev 1 content1_content2_content2-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
82 R content1_content2_content2-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
83 $ hg status -A --rev 1 content1_content2_content3-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
84 M content1_content2_content3-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
85 $ hg status -A --rev 1 content1_content2_missing-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
86 R content1_content2_missing-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
87 $ hg status -A --rev 1 content1_missing_content3-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
88 M content1_missing_content3-tracked
23037
eeaed3d2b004 status: add more complete tests for --rev
Martin von Zweigbergk <martinvonz@gmail.com>
parents:
diff changeset
89 BROKEN: file appears twice; should be '!'
23196
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
90 $ hg status -A --rev 1 content1_missing_missing-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
91 R content1_missing_missing-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
92 ! content1_missing_missing-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
93 $ hg status -A --rev 1 content1_missing_content3-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
94 R content1_missing_content3-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
95 $ hg status -A --rev 1 missing_content2_missing-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
96 ! missing_content2_missing-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
97 $ hg status -A --rev 1 missing_content2_content2-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
98 $ hg status -A --rev 1 missing_content2_content3-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
99 A missing_content2_content3-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
100 $ hg status -A --rev 1 missing_content2_missing-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
101 $ hg status -A --rev 1 missing_missing_content3-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
102 ? missing_missing_content3-untracked
23037
eeaed3d2b004 status: add more complete tests for --rev
Martin von Zweigbergk <martinvonz@gmail.com>
parents:
diff changeset
103
eeaed3d2b004 status: add more complete tests for --rev
Martin von Zweigbergk <martinvonz@gmail.com>
parents:
diff changeset
104 Status compared to two revisions back
eeaed3d2b004 status: add more complete tests for --rev
Martin von Zweigbergk <martinvonz@gmail.com>
parents:
diff changeset
105
23196
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
106 $ hg status -A --rev 0 content1_content1_content1-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
107 A content1_content1_content1-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
108 $ hg status -A --rev 0 content1_content1_missing-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
109 ! content1_content1_missing-tracked
23037
eeaed3d2b004 status: add more complete tests for --rev
Martin von Zweigbergk <martinvonz@gmail.com>
parents:
diff changeset
110 BROKEN: file exists, so should be listed (as '?')
23196
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
111 $ hg status -A --rev 0 content1_content1_content1-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
112 $ hg status -A --rev 0 content1_content1_content3-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
113 A content1_content1_content3-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
114 $ hg status -A --rev 0 content1_content1_missing-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
115 $ hg status -A --rev 0 content1_content2_content2-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
116 A content1_content2_content2-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
117 $ hg status -A --rev 0 content1_content2_missing-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
118 ! content1_content2_missing-tracked
23037
eeaed3d2b004 status: add more complete tests for --rev
Martin von Zweigbergk <martinvonz@gmail.com>
parents:
diff changeset
119 BROKEN: file exists, so should be listed (as '?')
23196
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
120 $ hg status -A --rev 0 content1_content2_content2-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
121 $ hg status -A --rev 0 content1_content2_content3-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
122 A content1_content2_content3-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
123 $ hg status -A --rev 0 content1_content2_missing-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
124 $ hg status -A --rev 0 content1_missing_content3-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
125 A content1_missing_content3-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
126 $ hg status -A --rev 0 content1_missing_missing-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
127 ! content1_missing_missing-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
128 $ hg status -A --rev 0 content1_missing_content3-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
129 ? content1_missing_content3-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
130 $ hg status -A --rev 0 missing_content2_missing-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
131 ! missing_content2_missing-tracked
23037
eeaed3d2b004 status: add more complete tests for --rev
Martin von Zweigbergk <martinvonz@gmail.com>
parents:
diff changeset
132 BROKEN: file exists, so should be listed (as '?')
23196
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
133 $ hg status -A --rev 0 missing_content2_content2-untracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
134 $ hg status -A --rev 0 missing_content2_content3-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
135 A missing_content2_content3-tracked
daa73289dd2a test-status-rev: use same names as from generate-working-copy-states
Martin von Zweigbergk <martinvonz@google.com>
parents: 23037
diff changeset
136 $ hg status -A --rev 0 missing_content2_missing-untracked