Submitter | phabricator |
---|---|
Date | March 6, 2020, 4:04 p.m. |
Message ID | <3104ee00b7e26d9c344b9de20efa4d77@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/45551/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/hgext/phabricator.py b/hgext/phabricator.py --- a/hgext/phabricator.py +++ b/hgext/phabricator.py @@ -127,6 +127,9 @@ eh.configitem( b'phabimport', b'secret', default=False, ) +eh.configitem( + b'phabimport', b'obsolete', default=False, +) colortable = { b'phabricator.action.created': b'green', @@ -1734,6 +1737,8 @@ if ui.configbool(b'phabimport', b'secret'): opts[b'secret'] = True + if ui.configbool(b'phabimport', b'obsolete'): + opts[b'obsolete'] = True # Handled by evolve wrapping tryimportone() def _write(patches): parents = repo[None].parents()