Commits

Anonymous committed 9f4c2d9

reposetup: use checkForBannedRevsets as the extension entry point

We were still referring to checkForBannedChangesets, which was renamed in
febacea6f60331907c8bd869e338bab82d13ec46 !

Comments (0)

Files changed (1)

     return False # No banned changesets were found. The changegroup addition can go ahead.
 
 def reposetup(ui, repo):
-    ui.setconfig("hooks", "pretxnchangegroup.hgban", checkForBannedChangesets)
+    ui.setconfig("hooks", "pretxnchangegroup.hgban", checkForBannedRevsets)