equal
deleted
inserted
replaced
876 # We could do it if there was a set:subrepos() predicate |
876 # We could do it if there was a set:subrepos() predicate |
877 opts = opts.copy() |
877 opts = opts.copy() |
878 opts['date'] = None |
878 opts['date'] = None |
879 opts['rev'] = substate[1] |
879 opts['rev'] = substate[1] |
880 |
880 |
881 pats = [] |
|
882 if not opts.get('all'): |
|
883 pats = ['set:modified()'] |
|
884 self.filerevert(*pats, **opts) |
881 self.filerevert(*pats, **opts) |
885 |
882 |
886 # Update the repo to the revision specified in the given substate |
883 # Update the repo to the revision specified in the given substate |
887 if not opts.get('dry_run'): |
884 if not opts.get('dry_run'): |
888 self.get(substate, overwrite=True) |
885 self.get(substate, overwrite=True) |