equal
deleted
inserted
replaced
400 """ |
400 """ |
401 if self.dirty(ignoreupdate=ignoreupdate): |
401 if self.dirty(ignoreupdate=ignoreupdate): |
402 return _("uncommitted changes in subrepository '%s'" |
402 return _("uncommitted changes in subrepository '%s'" |
403 ) % subrelpath(self) |
403 ) % subrelpath(self) |
404 |
404 |
|
405 def bailifchanged(self, ignoreupdate=False): |
|
406 """raise Abort if subrepository is ``dirty()`` |
|
407 """ |
|
408 dirtyreason = self.dirtyreason(ignoreupdate=ignoreupdate) |
|
409 if dirtyreason: |
|
410 raise util.Abort(dirtyreason) |
|
411 |
405 def basestate(self): |
412 def basestate(self): |
406 """current working directory base state, disregarding .hgsubstate |
413 """current working directory base state, disregarding .hgsubstate |
407 state and working directory modifications""" |
414 state and working directory modifications""" |
408 raise NotImplementedError |
415 raise NotImplementedError |
409 |
416 |