##// END OF EJS Templates
Fix up tests for command name changes...
mpm@selenic.com -
r440:22b5aaeb default
parent child Browse files
Show More
@@ -1,33 +1,33 b''
1 #!/bin/sh +ex
1 #!/bin/sh +ex
2
2
3 mkdir test1
3 mkdir test1
4 cd test1
4 cd test1
5
5
6 hg init
6 hg init
7 touch a b
7 touch a b
8 hg add a b
8 hg add a b
9 hg ci -t "added a b" -u test -d "0 0"
9 hg ci -t "added a b" -u test -d "0 0"
10
10
11 cd ..
11 cd ..
12 mkdir test2
12 mkdir test2
13 cd test2
13 cd test2
14
14
15 hg init
15 hg init
16 hg merge ../test1
16 hg pull ../test1
17 hg co
17 hg co
18 chmod +x a
18 chmod +x a
19 hg ci -t "chmod +x a" -u test -d "0 0"
19 hg ci -t "chmod +x a" -u test -d "0 0"
20
20
21 cd ../test1
21 cd ../test1
22 echo 123 >>a
22 echo 123 >>a
23 hg ci -t "a updated" -u test -d "0 0"
23 hg ci -t "a updated" -u test -d "0 0"
24
24
25 hg merge ../test2
25 hg pull ../test2
26 hg heads
26 hg heads
27 hg history
27 hg history
28
28
29 hg -dv co -m
29 hg -dv co -m
30
30
31 ls -l ../test[12]/a > foo
31 ls -l ../test[12]/a > foo
32 cut -b 0-10 < foo
32 cut -b 0-10 < foo
33
33
@@ -1,84 +1,84 b''
1 + hg -q help
1 + hg -q help
2 hg commands:
2 hg commands:
3
3
4 add add the specified files on the next commit
4 add add the specified files on the next commit
5 addremove add all new files, delete all missing files
5 addremove add all new files, delete all missing files
6 annotate show changeset information per file line
6 annotate show changeset information per file line
7 cat output the latest or given revision of a file
7 cat output the latest or given revision of a file
8 commit commit the specified files or all outstanding changes
8 commit commit the specified files or all outstanding changes
9 copy mark a file as copied or renamed for the next commit
9 copy mark a file as copied or renamed for the next commit
10 diff diff working directory (or selected files)
10 diff diff working directory (or selected files)
11 export dump the changeset header and diffs for a revision
11 export dump the changeset header and diffs for a revision
12 forget don't add the specified files on the next commit
12 forget don't add the specified files on the next commit
13 heads show current repository heads
13 heads show current repository heads
14 help show help for a given command or all commands
14 help show help for a given command or all commands
15 history show the changelog history
15 history show the changelog history
16 identify print information about the working copy
16 identify print information about the working copy
17 import import an ordered set of patches
17 init create a new repository or copy an existing one
18 init create a new repository or copy an existing one
18 log show the revision history of a single file
19 log show the revision history of a single file
19 manifest output the latest or given revision of the project manifest
20 manifest output the latest or given revision of the project manifest
20 parents show the parents of the current working dir
21 parents show the parents of the current working dir
21 patch import an ordered set of patches
22 pull pull changes from the specified source
22 pull pull changes from the specified source
23 push push changes to the specified destination
23 push push changes to the specified destination
24 rawcommit raw commit interface
24 rawcommit raw commit interface
25 recover roll back an interrupted transaction
25 recover roll back an interrupted transaction
26 remove remove the specified files on the next commit
26 remove remove the specified files on the next commit
27 serve export the repository via HTTP
27 serve export the repository via HTTP
28 status show changed files in the working directory
28 status show changed files in the working directory
29 tag add a tag for the current tip or a given revision
29 tag add a tag for the current tip or a given revision
30 tags list repository tags
30 tags list repository tags
31 tip show the tip revision
31 tip show the tip revision
32 undo undo the last transaction
32 undo undo the last transaction
33 update update or merge working directory
33 update update or merge working directory
34 verify verify the integrity of the repository
34 verify verify the integrity of the repository
35 + hg add -h
35 + hg add -h
36 hg add: option -h not recognized
36 hg add: option -h not recognized
37 hg add [files]
37 hg add [files]
38
38
39 add the specified files on the next commit
39 add the specified files on the next commit
40 + hg help diff
40 + hg help diff
41 hg diff [-r A] [-r B] [files]
41 hg diff [-r A] [-r B] [files]
42
42
43 -r --rev
43 -r --rev
44 revision
44 revision
45
45
46 diff working directory (or selected files)
46 diff working directory (or selected files)
47 + hg help foo
47 + hg help foo
48 hg: unknown command foo
48 hg: unknown command foo
49 + hg -q commands
49 + hg -q commands
50 hg: unknown command 'commands'
50 hg: unknown command 'commands'
51 hg commands:
51 hg commands:
52
52
53 add add the specified files on the next commit
53 add add the specified files on the next commit
54 addremove add all new files, delete all missing files
54 addremove add all new files, delete all missing files
55 annotate show changeset information per file line
55 annotate show changeset information per file line
56 cat output the latest or given revision of a file
56 cat output the latest or given revision of a file
57 commit commit the specified files or all outstanding changes
57 commit commit the specified files or all outstanding changes
58 copy mark a file as copied or renamed for the next commit
58 copy mark a file as copied or renamed for the next commit
59 diff diff working directory (or selected files)
59 diff diff working directory (or selected files)
60 export dump the changeset header and diffs for a revision
60 export dump the changeset header and diffs for a revision
61 forget don't add the specified files on the next commit
61 forget don't add the specified files on the next commit
62 heads show current repository heads
62 heads show current repository heads
63 help show help for a given command or all commands
63 help show help for a given command or all commands
64 history show the changelog history
64 history show the changelog history
65 identify print information about the working copy
65 identify print information about the working copy
66 import import an ordered set of patches
66 init create a new repository or copy an existing one
67 init create a new repository or copy an existing one
67 log show the revision history of a single file
68 log show the revision history of a single file
68 manifest output the latest or given revision of the project manifest
69 manifest output the latest or given revision of the project manifest
69 parents show the parents of the current working dir
70 parents show the parents of the current working dir
70 patch import an ordered set of patches
71 pull pull changes from the specified source
71 pull pull changes from the specified source
72 push push changes to the specified destination
72 push push changes to the specified destination
73 rawcommit raw commit interface
73 rawcommit raw commit interface
74 recover roll back an interrupted transaction
74 recover roll back an interrupted transaction
75 remove remove the specified files on the next commit
75 remove remove the specified files on the next commit
76 serve export the repository via HTTP
76 serve export the repository via HTTP
77 status show changed files in the working directory
77 status show changed files in the working directory
78 tag add a tag for the current tip or a given revision
78 tag add a tag for the current tip or a given revision
79 tags list repository tags
79 tags list repository tags
80 tip show the tip revision
80 tip show the tip revision
81 undo undo the last transaction
81 undo undo the last transaction
82 update update or merge working directory
82 update update or merge working directory
83 verify verify the integrity of the repository
83 verify verify the integrity of the repository
84 + exit 0
84 + exit 0
General Comments 0
You need to be logged in to leave comments. Login now