comparison tests/test-wireproto.t @ 1782:a046e78c3290

fold: require --from flag for folding revisions to working copy It's very easy to think that "hg fold 4::6" will fold exactly those revisions. In reality, it will fold those *and* any revisions between them and the working copy. To prevent users from making that mistake, require the use of a new --from flag for folding revisions from the given set to the working copy. With this change, I'm sure some users will be surprised that the command can not be run without either --from or --exact, but at least the consequences will be smaller (the command simply aborts and the user can try again).
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 12 Jan 2017 13:47:49 -0800
parents b1158ce4ec50
children 61dd08f4dc62 9f42f819267b
comparison
equal deleted inserted replaced
1781:39ef492603c6 1782:a046e78c3290