##// END OF EJS Templates
cmdutil: mark dirstateguard as deprecated...
Augie Fackler -
r30493:762c8a12 default
parent child Browse files
Show More
@@ -3522,4 +3522,9 b' def wrongtooltocontinue(repo, task):'
3522 hint = after[0]
3522 hint = after[0]
3523 raise error.Abort(_('no %s in progress') % task, hint=hint)
3523 raise error.Abort(_('no %s in progress') % task, hint=hint)
3524
3524
3525 dirstateguard = dirstateguardmod.dirstateguard
3525 class dirstateguard(dirstateguardmod.dirstateguard):
3526 def __init__(self, repo, name):
3527 dirstateguardmod.dirstateguard.__init__(self, repo, name)
3528 repo.ui.deprecwarn(
3529 'dirstateguard has moved from cmdutil to dirstateguard',
3530 '4.1')
General Comments 0
You need to be logged in to leave comments. Login now