##// 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 369 return []
370 370
371 371 def revert(self, ui, substate, *pats, **opts):
372 ui.warn('%s: reverting %s subrepos is unsupported\n' \
373 % (substate[0], substate[2]))
372 374 return []
373 375
374 376 class hgsubrepo(abstractsubrepo):
General Comments 0
You need to be logged in to leave comments. Login now