Lines Matching refs:rev
161 if self.localtip.rev() is None:
422 cstr.write('parent tip: %s:%s\n' % (self.parenttip.rev(),
425 rev = self.localtip.rev()
427 (rev is None and "working" or rev, self.localtip))
634 ltip = sorted(localctxs or headctxs, key=lambda x: x.rev())[-1]
638 'using %s\n' % ltip.rev())
673 return sorted(ptips, key=lambda x: x.rev(), reverse=True)[0]
770 if localtip.rev() is None:
789 if localtip.rev() is None:
933 def clean(self, rev=None): argument
937 if rev != None:
938 rev = self.repo.lookup(rev)
940 rev = self.repo.changelog.tip()
942 hg.clean(self.repo, rev, show_stats=False)
1032 chosen[ctx.rev()] = not pick or pick(ctx)
1034 opts = {'rev': ['%s:%s' % (base.rev(), head.rev())],
1039 if chosen[ctx.rev()]:
1053 opts = {'rev': ['%s:%s' % (base.rev(), head.rev())],
1069 for st, rev, fns in changeiter:
1071 ctx = changectx(rev)
1073 matched[rev] = ctx
1075 if rev in matched:
1076 yield matched[rev]