diff mercurial/interfaces/dirstate.py @ 51273:79cd29d598af

dirstate: make the `transaction` argument of `setbranch` mandatory This is deprecated since 6.4. We should drop it now.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 12 Dec 2023 17:08:45 +0100
parents a6e0b7d4ae9d
children f4733654f144
line wrap: on
line diff
--- a/mercurial/interfaces/dirstate.py	Wed Dec 20 14:59:31 2023 +0100
+++ b/mercurial/interfaces/dirstate.py	Tue Dec 12 17:08:45 2023 +0100
@@ -123,7 +123,7 @@
         See localrepo.setparents()
         """
 
-    def setbranch(branch, transaction=None):
+    def setbranch(branch, transaction):
         pass
 
     def invalidate():