##// END OF EJS Templates
phabricator: add a config knob to create obsolete markers when importing...
Matt Harbison -
r45041:f10055b0 default
parent child Browse files
Show More
@@ -127,6 +127,9 b' eh.configitem('
127 127 eh.configitem(
128 128 b'phabimport', b'secret', default=False,
129 129 )
130 eh.configitem(
131 b'phabimport', b'obsolete', default=False,
132 )
130 133
131 134 colortable = {
132 135 b'phabricator.action.created': b'green',
@@ -1734,6 +1737,8 b' def phabimport(ui, repo, spec, **opts):'
1734 1737
1735 1738 if ui.configbool(b'phabimport', b'secret'):
1736 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 1743 def _write(patches):
1739 1744 parents = repo[None].parents()
General Comments 0
You need to be logged in to leave comments. Login now