##// END OF EJS Templates
Update tests
Matt Mackall -
r3810:1d571ed2 default
parent child Browse files
Show More
@@ -1,72 +1,67 b''
1 % commit date test
1 % commit date test
2 abort: impossible time zone offset: 4444444
2 abort: impossible time zone offset: 4444444
3 transaction abort!
3 transaction abort!
4 rollback completed
4 rollback completed
5 abort: invalid date: '1\t15.1' see hg(1) manual page for details
5 abort: invalid date: '1\t15.1'
6 transaction abort!
7 rollback completed
8 abort: invalid date: 'foo bar' see hg(1) manual page for details
9 transaction abort!
6 transaction abort!
10 rollback completed
7 rollback completed
11 abort: invalid date: ' 1 4444' see hg(1) manual page for details
8 abort: invalid date: 'foo bar'
12 transaction abort!
9 transaction abort!
13 rollback completed
10 rollback completed
14 abort: date exceeds 32 bits: 111111111111
11 nothing changed
15 transaction abort!
16 rollback completed
17 % partial commit test
12 % partial commit test
18 trouble committing bar!
13 trouble committing bar!
19 abort: No such file or directory: .../test/bar
14 abort: No such file or directory: .../test/bar
20 adding dir/file
15 adding dir/file
21 dir/file
16 dir/file
22 adding dir.file
17 adding dir.file
23 abort: no match under directory .../test/dir!
18 abort: no match under directory .../test/dir!
24 abort: no match under directory .../test/bleh!
19 abort: no match under directory .../test/bleh!
25 abort: no match under directory .../test/dir2!
20 abort: no match under directory .../test/dir2!
26 dir/file
21 dir/file
27 does-not-exist: No such file or directory
22 does-not-exist: No such file or directory
28 abort: file .../test/does-not-exist not found!
23 abort: file .../test/does-not-exist not found!
29 baz: unsupported file type (type is symbolic link)
24 baz: unsupported file type (type is symbolic link)
30 abort: can't commit .../test/baz: unsupported file type!
25 abort: can't commit .../test/baz: unsupported file type!
31 abort: file .../test/quux not tracked!
26 abort: file .../test/quux not tracked!
32 dir/file
27 dir/file
33 % partial subdir commit test
28 % partial subdir commit test
34 adding bar/bar
29 adding bar/bar
35 adding foo/foo
30 adding foo/foo
36 % subdir log 1
31 % subdir log 1
37 changeset: 0:6ef3cb06bb80
32 changeset: 0:6ef3cb06bb80
38 user: test
33 user: test
39 date: Mon Jan 12 13:46:40 1970 +0000
34 date: Mon Jan 12 13:46:40 1970 +0000
40 files: foo/foo
35 files: foo/foo
41 description:
36 description:
42 commit-subdir-1
37 commit-subdir-1
43
38
44
39
45 % subdir log 2
40 % subdir log 2
46 changeset: 1:f2e51572cf5a
41 changeset: 1:f2e51572cf5a
47 tag: tip
42 tag: tip
48 user: test
43 user: test
49 date: Mon Jan 12 13:46:41 1970 +0000
44 date: Mon Jan 12 13:46:41 1970 +0000
50 files: bar/bar
45 files: bar/bar
51 description:
46 description:
52 commit-subdir-2
47 commit-subdir-2
53
48
54
49
55 % full log
50 % full log
56 changeset: 1:f2e51572cf5a
51 changeset: 1:f2e51572cf5a
57 tag: tip
52 tag: tip
58 user: test
53 user: test
59 date: Mon Jan 12 13:46:41 1970 +0000
54 date: Mon Jan 12 13:46:41 1970 +0000
60 files: bar/bar
55 files: bar/bar
61 description:
56 description:
62 commit-subdir-2
57 commit-subdir-2
63
58
64
59
65 changeset: 0:6ef3cb06bb80
60 changeset: 0:6ef3cb06bb80
66 user: test
61 user: test
67 date: Mon Jan 12 13:46:40 1970 +0000
62 date: Mon Jan 12 13:46:40 1970 +0000
68 files: foo/foo
63 files: foo/foo
69 description:
64 description:
70 commit-subdir-1
65 commit-subdir-1
71
66
72
67
@@ -1,154 +1,155 b''
1 % Show all commands except debug commands
1 % Show all commands except debug commands
2 add
2 add
3 addremove
3 addremove
4 annotate
4 annotate
5 archive
5 archive
6 backout
6 backout
7 branch
7 branch
8 branches
8 branches
9 bundle
9 bundle
10 cat
10 cat
11 clone
11 clone
12 commit
12 commit
13 copy
13 copy
14 diff
14 diff
15 export
15 export
16 grep
16 grep
17 heads
17 heads
18 help
18 help
19 identify
19 identify
20 import
20 import
21 incoming
21 incoming
22 init
22 init
23 locate
23 locate
24 log
24 log
25 manifest
25 manifest
26 merge
26 merge
27 outgoing
27 outgoing
28 parents
28 parents
29 paths
29 paths
30 pull
30 pull
31 push
31 push
32 recover
32 recover
33 remove
33 remove
34 rename
34 rename
35 revert
35 revert
36 rollback
36 rollback
37 root
37 root
38 serve
38 serve
39 showconfig
39 showconfig
40 status
40 status
41 tag
41 tag
42 tags
42 tags
43 tip
43 tip
44 unbundle
44 unbundle
45 update
45 update
46 verify
46 verify
47 version
47 version
48
48
49 % Show all commands that start with "a"
49 % Show all commands that start with "a"
50 add
50 add
51 addremove
51 addremove
52 annotate
52 annotate
53 archive
53 archive
54
54
55 % Do not show debug commands if there are other candidates
55 % Do not show debug commands if there are other candidates
56 diff
56 diff
57
57
58 % Show debug commands if there are no other candidates
58 % Show debug commands if there are no other candidates
59 debugancestor
59 debugancestor
60 debugcheckstate
60 debugcheckstate
61 debugcomplete
61 debugcomplete
62 debugconfig
62 debugconfig
63 debugdata
63 debugdata
64 debugdate
64 debugindex
65 debugindex
65 debugindexdot
66 debugindexdot
66 debugrawcommit
67 debugrawcommit
67 debugrebuildstate
68 debugrebuildstate
68 debugrename
69 debugrename
69 debugsetparents
70 debugsetparents
70 debugstate
71 debugstate
71 debugwalk
72 debugwalk
72
73
73 % Do not show the alias of a debug command if there are other candidates
74 % Do not show the alias of a debug command if there are other candidates
74 % (this should hide rawcommit)
75 % (this should hide rawcommit)
75 recover
76 recover
76 remove
77 remove
77 rename
78 rename
78 revert
79 revert
79 rollback
80 rollback
80 root
81 root
81
82
82 % Show the alias of a debug command if there are no other candidates
83 % Show the alias of a debug command if there are no other candidates
83 rawcommit
84 rawcommit
84
85
85 % Show the global options
86 % Show the global options
86 --config
87 --config
87 --cwd
88 --cwd
88 --debug
89 --debug
89 --debugger
90 --debugger
90 --encoding
91 --encoding
91 --encodingmode
92 --encodingmode
92 --help
93 --help
93 --lsprof
94 --lsprof
94 --noninteractive
95 --noninteractive
95 --profile
96 --profile
96 --quiet
97 --quiet
97 --repository
98 --repository
98 --time
99 --time
99 --traceback
100 --traceback
100 --verbose
101 --verbose
101 --version
102 --version
102 -R
103 -R
103 -h
104 -h
104 -q
105 -q
105 -v
106 -v
106 -y
107 -y
107
108
108 % Show the options for the "serve" command
109 % Show the options for the "serve" command
109 --accesslog
110 --accesslog
110 --address
111 --address
111 --config
112 --config
112 --cwd
113 --cwd
113 --daemon
114 --daemon
114 --daemon-pipefds
115 --daemon-pipefds
115 --debug
116 --debug
116 --debugger
117 --debugger
117 --encoding
118 --encoding
118 --encodingmode
119 --encodingmode
119 --errorlog
120 --errorlog
120 --help
121 --help
121 --ipv6
122 --ipv6
122 --lsprof
123 --lsprof
123 --name
124 --name
124 --noninteractive
125 --noninteractive
125 --pid-file
126 --pid-file
126 --port
127 --port
127 --profile
128 --profile
128 --quiet
129 --quiet
129 --repository
130 --repository
130 --stdio
131 --stdio
131 --style
132 --style
132 --templates
133 --templates
133 --time
134 --time
134 --traceback
135 --traceback
135 --verbose
136 --verbose
136 --version
137 --version
137 --webdir-conf
138 --webdir-conf
138 -6
139 -6
139 -A
140 -A
140 -E
141 -E
141 -R
142 -R
142 -a
143 -a
143 -d
144 -d
144 -h
145 -h
145 -n
146 -n
146 -p
147 -p
147 -q
148 -q
148 -t
149 -t
149 -v
150 -v
150 -y
151 -y
151
152
152 % Show an error if we use --options with an ambiguous abbreviation
153 % Show an error if we use --options with an ambiguous abbreviation
153 hg: command 's' is ambiguous:
154 hg: command 's' is ambiguous:
154 serve showconfig status
155 serve showconfig status
General Comments 0
You need to be logged in to leave comments. Login now