author | Brendan Cully <brendan@kublai.com> |
Wed, 13 Sep 2006 16:41:03 -0700 | |
changeset 3087 | fd1479e30aaf |
parent 3086 | 17747e80ea6c |
child 3088 | dc784839516d |
hgext/mq.py | file | annotate | diff | comparison | revisions |
--- a/hgext/mq.py Tue Sep 12 11:11:19 2006 -0700 +++ b/hgext/mq.py Wed Sep 13 16:41:03 2006 -0700 @@ -1740,7 +1740,8 @@ backup = 'strip' elif opts['nobackup']: backup = 'none' - repo.mq.strip(repo, rev, backup=backup) + update = repo.dirstate.parents()[0] != revlog.nullid + repo.mq.strip(repo, rev, backup=backup, update=update) return 0 def select(ui, repo, *args, **opts):