Show More
@@ -1120,6 +1120,7 b' def shelvecmd(ui, repo, *pats, **opts):' | |||
|
1120 | 1120 | # ('date', {'create'}), # ignored for passing '--date "0 0"' in tests |
|
1121 | 1121 | ('delete', {'delete'}), |
|
1122 | 1122 | ('edit', {'create'}), |
|
1123 | ('keep', {'create'}), | |
|
1123 | 1124 | ('list', {'list'}), |
|
1124 | 1125 | ('message', {'create'}), |
|
1125 | 1126 | ('name', {'create'}), |
@@ -933,6 +933,15 b' Test shelve --keep' | |||
|
933 | 933 | |
|
934 | 934 | $ hg unshelve |
|
935 | 935 | unshelving change 'default' |
|
936 | $ hg shelve --keep --list | |
|
937 | abort: options '--list' and '--keep' may not be used together | |
|
938 | [255] | |
|
939 | $ hg shelve --keep --patch | |
|
940 | abort: options '--patch' and '--keep' may not be used together | |
|
941 | [255] | |
|
942 | $ hg shelve --keep --delete | |
|
943 | abort: options '--delete' and '--keep' may not be used together | |
|
944 | [255] | |
|
936 | 945 | $ hg shelve --keep |
|
937 | 946 | shelved as default |
|
938 | 947 | $ hg diff |
General Comments 0
You need to be logged in to leave comments.
Login now