Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • heptapod/py-heptapod
1 result
Show changes
Commits on Source (2)
......@@ -93,6 +93,12 @@
command = registrar.command(cmdtable)
def wrap_function(mod, name, fun):
if util.versiontuple() < (6, 7):
name = name.encode('ascii') # hg<6.7
extensions.wrapfunction(mod, name, fun)
def uipopulate(ui):
if ui.configbool(b'heptapod', b'initial-import'):
ui.note(b'hgext3rd.heptapod',
......@@ -412,7 +418,7 @@
return orig(ui, cmd, environ=heptapod_env, cwd=cwd, out=out)
extensions.wrapfunction(uimod.ui, b'_runsystem', runsystem)
wrap_function(uimod.ui, '_runsystem', runsystem)
def hggit_parse_hgsub(orig, lines):
......@@ -433,7 +439,7 @@
if hggit is not None:
extensions.wrapfunction(hggit.util, b'parse_hgsub', hggit_parse_hgsub)
wrap_function(hggit.util, 'parse_hgsub', hggit_parse_hgsub)
def forbid_subrepo_get(orig, *args, **kwargs):
......@@ -455,9 +461,9 @@
op.stepsdone.add(b'bookmarks')
extensions.wrapfunction(subrepo.hgsubrepo, b'get', forbid_subrepo_get)
extensions.wrapfunction(subrepo.gitsubrepo, b'get', forbid_subrepo_get)
extensions.wrapfunction(subrepo.svnsubrepo, b'get', forbid_subrepo_get)
wrap_function(subrepo.hgsubrepo, 'get', forbid_subrepo_get)
wrap_function(subrepo.gitsubrepo, 'get', forbid_subrepo_get)
wrap_function(subrepo.svnsubrepo, 'get', forbid_subrepo_get)
def extsetup(ui):
......@@ -467,10 +473,6 @@
exception being HGitaly, which could well adopt the whole of `heptapod`
and `hgext3rd.heptapod` in the future.
"""
extensions.wrapfunction(exchange, b'_pullbookmarks', bookmarks_op_override)
extensions.wrapfunction(exchange, b'_pushbookmark', bookmarks_op_override)
extensions.wrapfunction(
exchange,
b'_pushb2bookmarkspart',
bookmarks_op_override
)
wrap_function(exchange, '_pullbookmarks', bookmarks_op_override)
wrap_function(exchange, '_pushbookmark', bookmarks_op_override)
wrap_function(exchange, '_pushb2bookmarkspart', bookmarks_op_override)
Mercurial>=6.1
hg-evolve>=11.0.1, <11.2
hg-git~=1.0.0
hg-git~=1.1.0
hg-loggingmod>=0.2.1
hg-configexpress~=0.4.0
dulwich
......