equal
deleted
inserted
replaced
569 |
569 |
570 date: date tuple to use if committing''' |
570 date: date tuple to use if committing''' |
571 |
571 |
572 if not local: |
572 if not local: |
573 m = matchmod.exact([b'.hgtags']) |
573 m = matchmod.exact([b'.hgtags']) |
574 if any(repo.status(match=m, unknown=True, ignored=True)): |
574 st = repo.status(match=m, unknown=True, ignored=True) |
|
575 if any( |
|
576 ( |
|
577 st.modified, |
|
578 st.added, |
|
579 st.removed, |
|
580 st.deleted, |
|
581 st.unknown, |
|
582 st.ignored, |
|
583 st.clean, |
|
584 ) |
|
585 ): |
575 raise error.Abort( |
586 raise error.Abort( |
576 _(b'working copy of .hgtags is changed'), |
587 _(b'working copy of .hgtags is changed'), |
577 hint=_(b'please commit .hgtags manually'), |
588 hint=_(b'please commit .hgtags manually'), |
578 ) |
589 ) |
579 |
590 |