##// END OF EJS Templates
subrepo: fix git subrepo ui argument
Matt Mackall -
r23580:e20f36ad default
parent child Browse files
Show More
@@ -1655,10 +1655,10 class gitsubrepo(abstractsubrepo):
1655 1655 elif match(gitprefix): #Subrepo is matched
1656 1656 ui.write(self._gitcommand(cmd))
1657 1657
1658 def revert(self, ui, substate, *pats, **opts):
1659 ui.status(_('reverting subrepo %s\n') % substate[0])
1658 def revert(self, substate, *pats, **opts):
1659 self.ui.status(_('reverting subrepo %s\n') % substate[0])
1660 1660 if not opts.get('no_backup'):
1661 ui.warn('%s: reverting %s subrepos without '
1661 self.ui.warn('%s: reverting %s subrepos without '
1662 1662 '--no-backup is unsupported\n'
1663 1663 % (substate[0], substate[2]))
1664 1664 return []
General Comments 0
You need to be logged in to leave comments. Login now