Mercurial > public > mercurial-scm > hg-stable
diff hgext/rebase.py @ 22951:6c86c673dde6
obsolete: add createmarkers option
The basic obsolete option is allowing the creation of obsolete markers. This
does not enable other features, such as allowing unstable commits or exchanging
obsolete markers.
author | Durham Goode <durham@fb.com> |
---|---|
date | Tue, 14 Oct 2014 13:23:52 -0700 |
parents | 75d0edb68b41 |
children | 8792ac090e3b |
line wrap: on
line diff
--- a/hgext/rebase.py Tue Oct 14 13:20:31 2014 -0700 +++ b/hgext/rebase.py Tue Oct 14 13:23:52 2014 -0700 @@ -928,7 +928,7 @@ If `collapsedas` is not None, the rebase was a collapse whose result if the `collapsedas` node.""" - if obsolete._enabled: + if obsolete.isenabled(repo, obsolete.createmarkersopt): markers = [] for rev, newrev in sorted(state.items()): if newrev >= 0: