hg
author Chris Mason <mason@suse.com>
Tue, 27 Jun 2006 11:23:06 -0400
changeset 2511 041d8f0a8437
parent 1698 ad4a2eefe4d7
child 3877 abaee83ce0a6
permissions -rwxr-xr-x
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.

#!/usr/bin/env python
#
# mercurial - scalable distributed SCM
#
# Copyright 2005, 2006 Matt Mackall <mpm@selenic.com>
#
# This software may be used and distributed according to the terms
# of the GNU General Public License, incorporated herein by reference.

from mercurial import commands

commands.run()