changeset 8425:73d80d5bf478

mq: abort qfold upon local changes (issue1662)
author David Frey <dpfrey@shaw.ca>
date Sat, 16 May 2009 16:20:37 -0700
parents c5b3d3e30de7
children 2ff17c4de1da
files hgext/mq.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/mq.py	Sat May 16 11:12:49 2009 +0200
+++ b/hgext/mq.py	Sat May 16 16:20:37 2009 -0700
@@ -1928,6 +1928,7 @@
         raise util.Abort(_('qfold requires at least one patch name'))
     if not q.check_toppatch(repo):
         raise util.Abort(_('No patches applied'))
+    q.check_localchanges(repo)
 
     message = cmdutil.logmessage(opts)
     if opts['edit']: