Commits

Michał Górny  committed d3a86d7

bzr: Use numerical revision comparison.

  • Participants
  • Parent commits 3f44426

Comments (0)

Files changed (1)

File SmartLiveRebuild/vcs/bzr.py

 
 	@staticmethod
 	def revcmp(oldrev, newrev):
-		return newrev.startswith(oldrev)
+		return oldrev >= newrev
 
 	def getupdatecmd(self):
 		return '%s %s' % (self.env['EBZR_UPDATE_CMD'], self.env['EBZR_OPTIONS'])