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