Mercurial > public > mercurial-scm > hg
diff hgext/rebase.py @ 11546:134eb1c97e94 stable
mq: qrepo.add(mq.added) inside save_dirty inside of doing it manually
This should make the MQ API more transparent: callers only have to
call save_dirty, and no mq.added magic or knowledge is required.
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Tue, 13 Jul 2010 22:30:01 +0900 |
parents | 0a044e5ff489 |
children | c91b86a291b0 00f8e7837668 |
line wrap: on
line diff
--- a/hgext/rebase.py Tue Jul 06 22:22:18 2010 -0300 +++ b/hgext/rebase.py Tue Jul 13 22:30:01 2010 +0900 @@ -366,10 +366,6 @@ mq.qimport(repo, (), patchname=name, git=isgit, rev=[str(state[rev])]) mq.save_dirty() - qrepo = mq.qrepo() - if qrepo: - qrepo[None].add(mq.added) - mq.added = [] def storestatus(repo, originalwd, target, state, collapse, keep, keepbranches, external):