comparison hgext/hbisect.py @ 2822:30f59f4a327e

Introduce update helper functions: update, merge, clean, and revert
author Matt Mackall <mpm@selenic.com>
date Mon, 07 Aug 2006 22:54:33 -0500
parents 90a4181ca9ed
children 3d6efcbbd1c9
comparison
equal deleted inserted replaced
2821:a8a7ce1a01a5 2822:30f59f4a327e
195 def autonext(self): 195 def autonext(self):
196 """find and update to the next revision to test""" 196 """find and update to the next revision to test"""
197 check_clean(self.ui, self.repo) 197 check_clean(self.ui, self.repo)
198 rev = self.next() 198 rev = self.next()
199 if rev is not None: 199 if rev is not None:
200 return hg.update(self.repo, rev, force=True) 200 return hg.clean(self.repo, rev)
201 201
202 def good(self, rev): 202 def good(self, rev):
203 self.goodrevs.append(rev) 203 self.goodrevs.append(rev)
204 204
205 def autogood(self, rev=None): 205 def autogood(self, rev=None):