equal
deleted
inserted
replaced
1055 abort: cannot find shelf nonexistentshelf |
1055 abort: cannot find shelf nonexistentshelf |
1056 [255] |
1056 [255] |
1057 $ hg shelve --patch default nonexistentshelf |
1057 $ hg shelve --patch default nonexistentshelf |
1058 abort: cannot find shelf nonexistentshelf |
1058 abort: cannot find shelf nonexistentshelf |
1059 [255] |
1059 [255] |
|
1060 |
|
1061 when the user asks for a patch, we assume they want the most recent shelve if |
|
1062 they don't provide a shelve name |
|
1063 |
1060 $ hg shelve --patch |
1064 $ hg shelve --patch |
1061 abort: --patch expects at least one shelf |
1065 default-01 (*)* changes to: create conflict (glob) |
|
1066 |
|
1067 diff --git a/shelf-patch-b b/shelf-patch-b |
|
1068 new file mode 100644 |
|
1069 --- /dev/null |
|
1070 +++ b/shelf-patch-b |
|
1071 @@ -0,0 +1,1 @@ |
|
1072 +patch b |
|
1073 |
|
1074 $ cd .. |
|
1075 |
|
1076 you shouldn't be able to ask for the patch/stats of the most recent shelve if |
|
1077 there are no shelves |
|
1078 |
|
1079 $ hg init noshelves |
|
1080 $ cd noshelves |
|
1081 |
|
1082 $ hg shelve --patch |
|
1083 abort: there are no shelves to show |
|
1084 [255] |
|
1085 $ hg shelve --stat |
|
1086 abort: there are no shelves to show |
1062 [255] |
1087 [255] |
1063 |
1088 |
1064 $ cd .. |
1089 $ cd .. |
1065 |
1090 |
1066 Shelve from general delta repo uses bundle2 on disk |
1091 Shelve from general delta repo uses bundle2 on disk |