Mercurial > hg
view tests/test-rollback @ 2511:041d8f0a8437
mq: hg qnew -f should refresh the new patch
qnew -f was originally meant to just skip the localchanges check.
But, it currently discards the local changes, which is not at all what
people expect.
This patch changes qnew -f to create the new patch and then
run hg qrefresh on it. The local changes will be in the new
patch.
author | Chris Mason <mason@suse.com> |
---|---|
date | Tue, 27 Jun 2006 11:23:06 -0400 |
parents | 4f072bb06e89 |
children | dd5a501cb97f |
line wrap: on
line source
#!/bin/sh mkdir t cd t hg init echo a > a hg add a hg commit -m "test" -d "1000000 0" hg verify hg parents hg status hg rollback hg verify hg parents hg status