D2910: tests: use drawdag in test-rebase-collapse.t

2018-03-21 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGdd2833e4d660: tests: use drawdag in test-rebase-collapse.t (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2910: tests: use drawdag in test-rebase-collapse.t

2018-03-21 Thread indygreg (Gregory Szorc)
indygreg accepted this revision. indygreg added a comment. This revision is now accepted and ready to land. This was hard to review. But I didn't see anything obviously wrong with this refactor. INLINE COMMENTS > test-rebase-collapse.t:182 > + $ hg rebase -s C --dest H --collapse > +

D2910: tests: use drawdag in test-rebase-collapse.t

2018-03-21 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. martinvonz added a reviewer: phillco. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This makes the tests shorter (410 lines -> 240 lines), faster (17s -> 12s), and easier to read (the setup for each test