changeset 15476 | 7c06e9c35f2f |
parent 15322 | c8e2a5ea7062 |
child 15704 | 8857e150bec0 |
--- a/hgext/mq.py Wed Nov 09 19:46:51 2011 -0500 +++ b/hgext/mq.py Thu Nov 10 15:40:34 2011 -0600 @@ -2915,6 +2915,9 @@ return 0 revs = scmutil.revrange(repo, revrange) + if repo['.'].rev() in revs and repo[None].files(): + ui.warn(_('warning: uncommitted changes in the working directory\n')) + q.finish(repo, revs) q.savedirty() return 0