Mercurial > hg
comparison tests/test-obsolete.t @ 28795:f456834b2f7e
commands: allow debugobsolete to delete arbitrary obsmarkers
Sample usage is:
'$ hg debugobsolete --delete 0 5'
This is a debug feature that will help people working on evolution and
obsolescense.
author | Kostia Balytskyi <ikostia@fb.com> |
---|---|
date | Fri, 01 Apr 2016 15:12:50 -0700 |
parents | 6433da9c96a9 |
children | 5a398627db92 |
comparison
equal
deleted
inserted
replaced
28794:2637d6ad3e61 | 28795:f456834b2f7e |
---|---|
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 | 1086 $ cd .. |
1087 | |
1088 Test the --delete option of debugobsolete command | |
1089 $ hg init dorepo | |
1090 $ cd dorepo | |
1091 $ echo a > a && hg ci -Am a | |
1092 adding a | |
1093 $ hg ci --amend -m aa | |
1094 $ hg debugobsolete | |
1095 cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b f9bd49731b0b175e42992a3c8fa6c678b2bc11f1 0 (.*) {'user': 'test'} (re) | |
1096 $ hg debugobsolete --delete 0 | |
1097 Deleted 1 obsolescense markers | |
1098 $ hg debugobsolete | |
1099 $ cd .. |