Show More
@@ -127,6 +127,9 b' eh.configitem(' | |||||
127 | eh.configitem( |
|
127 | eh.configitem( | |
128 | b'phabimport', b'secret', default=False, |
|
128 | b'phabimport', b'secret', default=False, | |
129 | ) |
|
129 | ) | |
|
130 | eh.configitem( | |||
|
131 | b'phabimport', b'obsolete', default=False, | |||
|
132 | ) | |||
130 |
|
133 | |||
131 | colortable = { |
|
134 | colortable = { | |
132 | b'phabricator.action.created': b'green', |
|
135 | b'phabricator.action.created': b'green', | |
@@ -1734,6 +1737,8 b' def phabimport(ui, repo, spec, **opts):' | |||||
1734 |
|
1737 | |||
1735 | if ui.configbool(b'phabimport', b'secret'): |
|
1738 | if ui.configbool(b'phabimport', b'secret'): | |
1736 | opts[b'secret'] = True |
|
1739 | opts[b'secret'] = True | |
|
1740 | if ui.configbool(b'phabimport', b'obsolete'): | |||
|
1741 | opts[b'obsolete'] = True # Handled by evolve wrapping tryimportone() | |||
1737 |
|
1742 | |||
1738 | def _write(patches): |
|
1743 | def _write(patches): | |
1739 | parents = repo[None].parents() |
|
1744 | parents = repo[None].parents() |
General Comments 0
You need to be logged in to leave comments.
Login now