equal
deleted
inserted
replaced
1769 for idfunc in extrapreimport: |
1769 for idfunc in extrapreimport: |
1770 extrapreimportmap[idfunc](repo, patchdata, extra, opts) |
1770 extrapreimportmap[idfunc](repo, patchdata, extra, opts) |
1771 overrides = {} |
1771 overrides = {} |
1772 if partial: |
1772 if partial: |
1773 overrides[(b'ui', b'allowemptycommit')] = True |
1773 overrides[(b'ui', b'allowemptycommit')] = True |
|
1774 if opts.get(b'secret'): |
|
1775 overrides[(b'phases', b'new-commit')] = b'secret' |
1774 with repo.ui.configoverride(overrides, b'import'): |
1776 with repo.ui.configoverride(overrides, b'import'): |
1775 n = repo.commit( |
1777 n = repo.commit( |
1776 message, user, date, match=m, editor=editor, extra=extra |
1778 message, user, date, match=m, editor=editor, extra=extra |
1777 ) |
1779 ) |
1778 for idfunc in extrapostimport: |
1780 for idfunc in extrapostimport: |