Show More
@@ -1655,12 +1655,12 b' class gitsubrepo(abstractsubrepo):' | |||
|
1655 | 1655 | elif match(gitprefix): #Subrepo is matched |
|
1656 | 1656 | ui.write(self._gitcommand(cmd)) |
|
1657 | 1657 | |
|
1658 |
def revert(self |
|
|
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 ' | |
|
1662 | '--no-backup is unsupported\n' | |
|
1663 | % (substate[0], substate[2])) | |
|
1661 | self.ui.warn('%s: reverting %s subrepos without ' | |
|
1662 | '--no-backup is unsupported\n' | |
|
1663 | % (substate[0], substate[2])) | |
|
1664 | 1664 | return [] |
|
1665 | 1665 | |
|
1666 | 1666 | self.get(substate, overwrite=True) |
General Comments 0
You need to be logged in to leave comments.
Login now