author | Chris Mason <mason@suse.com> |
Thu, 27 Jul 2006 09:27:45 -0700 | |
changeset 2699 | f8bcaf5696d5 |
parent 2698 | c1123e83c8e2 |
child 2701 | f12d2e5b97fe |
hgext/mq.py | file | annotate | diff | comparison | revisions |
--- a/hgext/mq.py +++ b/hgext/mq.py @@ -530,6 +530,9 @@ class queue: revnum = chlog.rev(rev) if update: + (c, a, r, d, u) = repo.changes(None, None) + if c or a or d or r: + raise util.Abort(_("Local changes found")) urev = self.qparents(repo, rev) repo.update(urev, allow=False, force=True, wlock=wlock) repo.dirstate.write()