equal
deleted
inserted
replaced
1081 | |
1081 | |
1082 o 1:e016b03fd86f (draft) [ ] 1 |
1082 o 1:e016b03fd86f (draft) [ ] 1 |
1083 | |
1083 | |
1084 @ 0:a78f55e5508c (draft) [ ] 0 |
1084 @ 0:a78f55e5508c (draft) [ ] 0 |
1085 |
1085 |
|
1086 Test that 'hg debugobsolete --index --rev' can show indices of obsmarkers when |
|
1087 only a subset of those are displayed (because of --rev option) |
|
1088 $ hg init doindexrev |
|
1089 $ cd doindexrev |
|
1090 $ echo a > a |
|
1091 $ hg ci -Am a |
|
1092 adding a |
|
1093 $ hg ci --amend -m aa |
|
1094 $ echo b > b |
|
1095 $ hg ci -Am b |
|
1096 adding b |
|
1097 $ hg ci --amend -m bb |
|
1098 $ echo c > c |
|
1099 $ hg ci -Am c |
|
1100 adding c |
|
1101 $ hg ci --amend -m cc |
|
1102 $ echo d > d |
|
1103 $ hg ci -Am d |
|
1104 adding d |
|
1105 $ hg ci --amend -m dd |
|
1106 $ hg debugobsolete --index --rev "3+7" |
|
1107 1 6fdef60fcbabbd3d50e9b9cbc2a240724b91a5e1 d27fb9b066076fd921277a4b9e8b9cb48c95bc6a 0 \(.*\) {'user': 'test'} (re) |
|
1108 3 4715cf767440ed891755448016c2b8cf70760c30 7ae79c5d60f049c7b0dd02f5f25b9d60aaf7b36d 0 \(.*\) {'user': 'test'} (re) |
|
1109 $ cd .. |
1086 $ cd .. |
1110 $ cd .. |
1087 |
1111 |
1088 Test the --delete option of debugobsolete command |
1112 Test the --delete option of debugobsolete command |
1089 $ hg init dorepo |
1113 $ hg init dorepo |
1090 $ cd dorepo |
1114 $ cd dorepo |