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