##// END OF EJS Templates
revert: show warning when reverting subrepos that do not support revert...
Angel Ezquerra -
r16468:2fb521d7 stable
parent child Browse files
Show More
@@ -369,6 +369,8 b' class abstractsubrepo(object):'
369 return []
369 return []
370
370
371 def revert(self, ui, substate, *pats, **opts):
371 def revert(self, ui, substate, *pats, **opts):
372 ui.warn('%s: reverting %s subrepos is unsupported\n' \
373 % (substate[0], substate[2]))
372 return []
374 return []
373
375
374 class hgsubrepo(abstractsubrepo):
376 class hgsubrepo(abstractsubrepo):
General Comments 0
You need to be logged in to leave comments. Login now